Skip to content

Commit 088cf5a

Browse files
committed
fix(snowflake-driver): Set date/timestamp format for exporting data to CSV export bucket
1 parent fef8014 commit 088cf5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,8 @@ export class SnowflakeDriver extends BaseDriver implements DriverInterface {
715715
FILE_FORMAT: '(' +
716716
'TYPE = CSV, ' +
717717
'COMPRESSION = GZIP, ' +
718+
'DATE_FORMAT = \'YYYY-MM-DD\', ' +
719+
'TIMESTAMP_FORMAT = \'YYYY-MM-DD"T"HH24:MI:SS.FF3TZH:TZM\', ' +
718720
'FIELD_OPTIONALLY_ENCLOSED_BY = \'"\'' +
719721
')',
720722
};

0 commit comments

Comments
 (0)