Skip to content

Commit

Permalink
update assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
odinuv committed Mar 14, 2024
1 parent ca1f005 commit c819e40
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Creating ODBC connection to "Driver=SnowflakeDSIIDriver;Server=kebooladev.snowflakecomputing.com;Port=443;Tracing=0;Database="%s";Schema="%s";application="Keboola_Connection"".
Exporting "auto-increment-timestamp" to "in.c-main.auto-increment-timestamp".
USE DATABASE "COMPONENT_TESTING"; USE SCHEMA "COMPONENT_TESTING"."COMPONENT_TEST"; GET @~/in.c-main.auto-increment-timestamp file:///opt/snowsqltempdir/run-%s.%s/out/tables/in.c-main.auto-increment-timestamp.csv.gz;
Downloading data from Snowflake.
snowsql --noup --config /opt/snowsqltempdir/ex-snowflake-adapter/run-%s.%s/snowsql.config -c downloader -f /opt/snowsqltempdir/ex-snowflake-adapter/run-%s.%s/%s-snowsql.sql
0 files (0 B) downloaded.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Creating ODBC connection to "Driver=SnowflakeDSIIDriver;Server=kebooladev.snowfl
Exporting "sales" to "in.c-main.escaping".
[%s] DEBUG: Running query "REMOVE @~/in.c-main.escaping;". [] []
[%s] DEBUG: Running query " COPY INTO @~/in.c-main.escaping/part FROM (SELECT * FROM "escaping") FILE_FORMAT = (TYPE=CSV FIELD_DELIMITER = ',' FIELD_OPTIONALLY_ENCLOSED_BY = '"' ESCAPE_UNENCLOSED_FIELD = '\\' COMPRESSION = 'GZIP' NULL_IF=()) HEADER = false MAX_FILE_SIZE=50000000 OVERWRITE = TRUE ; ". [] []
[%s] DEBUG: USE DATABASE "COMPONENT_TESTING"; USE SCHEMA "COMPONENT_TESTING"."COMPONENT_TEST"; GET @~/in.c-main.escaping file:///opt/snowsqltempdir/run-%s.%s/out/tables/in.c-main.escaping.csv.gz; [] []
DEBUG: USE DATABASE "COMPONENT_TESTING"; USE SCHEMA "COMPONENT_TESTING"."COMPONENT_TEST"; GET @~/in.c-main.escaping file:///opt/snowsqltempdir/run-%s.%s/out/tables/in.c-main.escaping.csv.gz;
Downloading data from Snowflake.
snowsql --noup --config /opt/snowsqltempdir/ex-snowflake-adapter/run-%s.%s/snowsql.config -c downloader -f /opt/snowsqltempdir/ex-snowflake-adapter/run-%s.%s/%s-snowsql.sql
1 files (216 B) downloaded.
Expand Down
1 change: 1 addition & 0 deletions tests/functional/run-action-row/expected-stdout
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Creating ODBC connection to "Driver=SnowflakeDSIIDriver;Server=kebooladev.snowflakecomputing.com;Port=443;Tracing=0;Database="%s";Schema="%s";application="Keboola_Connection"".
Exporting "sales" to "in.c-main.escaping".
USE DATABASE "COMPONENT_TESTING"; USE SCHEMA "COMPONENT_TESTING"."COMPONENT_TEST"; GET @~/in.c-main.escaping file:///opt/snowsqltempdir/run-%s.%s/out/tables/in.c-main.escaping.csv.gz;
Downloading data from Snowflake.
snowsql --noup --config /opt/snowsqltempdir/ex-snowflake-adapter/run-%s.%s/snowsql.config -c downloader -f /opt/snowsqltempdir/ex-snowflake-adapter/run-%s.%s/%s-snowsql.sql
1 files (216 B) downloaded.
Expand Down
2 changes: 2 additions & 0 deletions tests/functional/run-action/expected-stdout
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
Creating ODBC connection to "Driver=SnowflakeDSIIDriver;Server=kebooladev.snowflakecomputing.com;Port=443;Tracing=0;Database="%s";Schema="%s";application="Keboola_Connection"".
Exporting "sales" to "in.c-main.escaping".
USE DATABASE "COMPONENT_TESTING"; USE SCHEMA "COMPONENT_TESTING"."COMPONENT_TEST"; GET @~/in.c-main.escaping file:///opt/snowsqltempdir/run-%s.%s/out/tables/in.c-main.escaping.csv.gz;
Downloading data from Snowflake.
snowsql --noup --config /opt/snowsqltempdir/ex-snowflake-adapter/run-%s.%s/snowsql.config -c downloader -f /opt/snowsqltempdir/ex-snowflake-adapter/run-%s.%s/%s-snowsql.sql
1 files (216 B) downloaded.
Exported "7" rows to "in.c-main.escaping".
Exporting "sales" to "in.c-main.sales".
USE DATABASE "COMPONENT_TESTING"; USE SCHEMA "COMPONENT_TESTING"."COMPONENT_TEST"; GET @~/in.c-main.sales file:///opt/snowsqltempdir/run-%s.%s/out/tables/in.c-main.sales.csv.gz;
Downloading data from Snowflake.
snowsql --noup --config /opt/snowsqltempdir/ex-snowflake-adapter/run-%s.%s/snowsql.config -c downloader -f /opt/snowsqltempdir/ex-snowflake-adapter/run-%s.%s/%s-snowsql.sql
1 files (3.%i KB) downloaded.
Expand Down
1 change: 1 addition & 0 deletions tests/functional/semi-structured/expected-stdout
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Creating ODBC connection to "Driver=SnowflakeDSIIDriver;Server=kebooladev.snowflakecomputing.com;Port=443;Tracing=0;Database="%s";Schema="%s";application="Keboola_Connection"".
Exporting "semi-structured" to "in.c-main.semi-structured".
USE DATABASE "COMPONENT_TESTING"; USE SCHEMA "COMPONENT_TESTING"."COMPONENT_TEST"; GET @~/in.c-main.semi-structured file:///opt/snowsqltempdir/run-%s.%s/out/tables/in.c-main.semi-structured.csv.gz;
Downloading data from Snowflake.
snowsql --noup --config /opt/snowsqltempdir/ex-snowflake-adapter/run-%s.%s/snowsql.config -c downloader -f /opt/snowsqltempdir/ex-snowflake-adapter/run-%s.%s/%s-snowsql.sql
1 files (62 B) downloaded.
Expand Down

0 comments on commit c819e40

Please sign in to comment.