From ca4abe8c1299a2901a8059968005aa91bbbadac4 Mon Sep 17 00:00:00 2001 From: Denys Ordynskiy Date: Thu, 11 Apr 2019 09:23:37 +0300 Subject: [PATCH] Updated the schema name in generation scripts (#577) --- .../Datasources/ctas/decimal/create_decimals_test_data.sh | 4 ++-- .../ctas/decimal/create_decimals_test_data_negative.sh | 4 ++-- .../Datasources/ctas/decimal/fragments/decimal_fragments.sh | 4 ++-- .../ctas/decimal/fragments/decimal_fragments_negative.sh | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/framework/resources/Datasources/ctas/decimal/create_decimals_test_data.sh b/framework/resources/Datasources/ctas/decimal/create_decimals_test_data.sh index 2cce6d1c3..360ab70a0 100755 --- a/framework/resources/Datasources/ctas/decimal/create_decimals_test_data.sh +++ b/framework/resources/Datasources/ctas/decimal/create_decimals_test_data.sh @@ -3,7 +3,7 @@ source conf/drillTestConfig.properties if [ -z "$PASSWORD" ] then - ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -u "jdbc:drill:schema=dfs.$schema_name;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/createParquetWithDecimals.ddl + ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -u "jdbc:drill:schema=dfs.drillTestDir;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/createParquetWithDecimals.ddl else - ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -p ${PASSWORD} -u "jdbc:drill:schema=dfs.$schema_name;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/createParquetWithDecimals.ddl + ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -p ${PASSWORD} -u "jdbc:drill:schema=dfs.drillTestDir;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/createParquetWithDecimals.ddl fi diff --git a/framework/resources/Datasources/ctas/decimal/create_decimals_test_data_negative.sh b/framework/resources/Datasources/ctas/decimal/create_decimals_test_data_negative.sh index 5b422650f..c8400d696 100755 --- a/framework/resources/Datasources/ctas/decimal/create_decimals_test_data_negative.sh +++ b/framework/resources/Datasources/ctas/decimal/create_decimals_test_data_negative.sh @@ -3,7 +3,7 @@ source conf/drillTestConfig.properties if [ -z "$PASSWORD" ] then - ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -u "jdbc:drill:schema=dfs.$schema_name;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/createParquetWithDecimals_negative.ddl + ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -u "jdbc:drill:schema=dfs.drillTestDir;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/createParquetWithDecimals_negative.ddl else - ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -p ${PASSWORD} -u "jdbc:drill:schema=dfs.$schema_name;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/createParquetWithDecimals_negative.ddl + ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -p ${PASSWORD} -u "jdbc:drill:schema=dfs.drillTestDir;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/createParquetWithDecimals_negative.ddl fi diff --git a/framework/resources/Datasources/ctas/decimal/fragments/decimal_fragments.sh b/framework/resources/Datasources/ctas/decimal/fragments/decimal_fragments.sh index bf25ab17f..2aa524b17 100755 --- a/framework/resources/Datasources/ctas/decimal/fragments/decimal_fragments.sh +++ b/framework/resources/Datasources/ctas/decimal/fragments/decimal_fragments.sh @@ -13,7 +13,7 @@ hadoop fs -put ${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/decimal if [ -z "$PASSWORD" ] then - ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -u "jdbc:drill:schema=dfs.$schema_name;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/decimal_fragments.ddl + ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -u "jdbc:drill:schema=dfs.drillTestDir;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/decimal_fragments.ddl else - ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -p ${PASSWORD} -u "jdbc:drill:schema=dfs.$schema_name;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/decimal_fragments.ddl + ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -p ${PASSWORD} -u "jdbc:drill:schema=dfs.drillTestDir;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/decimal_fragments.ddl fi diff --git a/framework/resources/Datasources/ctas/decimal/fragments/decimal_fragments_negative.sh b/framework/resources/Datasources/ctas/decimal/fragments/decimal_fragments_negative.sh index 5d89302b3..5fa4fd2e6 100755 --- a/framework/resources/Datasources/ctas/decimal/fragments/decimal_fragments_negative.sh +++ b/framework/resources/Datasources/ctas/decimal/fragments/decimal_fragments_negative.sh @@ -11,7 +11,7 @@ hadoop fs -put ${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/negativ if [ -z "$PASSWORD" ] then - ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -u "jdbc:drill:schema=dfs.$schema_name;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/decimal_fragments_negative.ddl + ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -u "jdbc:drill:schema=dfs.drillTestDir;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/decimal_fragments_negative.ddl else - ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -p ${PASSWORD} -u "jdbc:drill:schema=dfs.$schema_name;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/decimal_fragments_negative.ddl + ${DRILL_HOME}/bin/sqlline -n ${USERNAME} -p ${PASSWORD} -u "jdbc:drill:schema=dfs.drillTestDir;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/ctas/decimal/fragments/decimal_fragments_negative.ddl fi