Skip to content

Commit 21b139c

Browse files
committed
fix(@cubesj-backend/databricks-driver): Incorrect escaping of CSV passed to Cube Store -- Can't parse timestamp errors
1 parent 867279a commit 21b139c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/cubejs-databricks-jdbc-driver/src/DatabricksDriver.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ export class DatabricksDriver extends JDBCDriver {
434434
`
435435
CREATE TABLE ${table}_csv_export
436436
USING CSV LOCATION '${this.config.exportBucketMountDir || this.config.exportBucket}/${table}.csv'
437+
OPTIONS (escape = '"')
437438
AS SELECT ${columns} FROM ${table}
438439
`,
439440
[],

0 commit comments

Comments
 (0)