Skip to content

Commit

Permalink
One line.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Dec 16, 2024
1 parent 454d71c commit a839e0d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions clients/databricks/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,8 @@ FORMAT_OPTIONS (
);`,
// COPY INTO
tempTableID.FullyQualifiedName(),
// SELECT columns
strings.Join(ordinalColumns, ", "),
// FROM
file.DBFSFilePath(),
// SELECT columns FROM file
strings.Join(ordinalColumns, ", "), file.DBFSFilePath(),
)

if _, err = s.ExecContext(ctx, copyCommand); err != nil {
Expand Down

0 comments on commit a839e0d

Please sign in to comment.