Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrajodas committed Jul 17, 2024
1 parent 6cee2f5 commit eea13d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@
"@tests"
],
"ci": [
"@composer validate --no-check-publish --no-check-all",
"@build"
"@composer validate --no-check-publish --no-check-all"
]
},
"config": {
Expand Down
3 changes: 1 addition & 2 deletions src/Writer/SnowflakeQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function putFileQueryStatement(Connection $connection, string $tableFileP
}

$sql[] = sprintf(
'PUT file://%s @~/%s;',
'PUT file://%s @~/%s AUTO_COMPRESS=FALSE;',
$tableFilePath,
$tmpTableName,
);
Expand All @@ -102,7 +102,6 @@ public function copyIntoTableQueryStatement(Connection $connection, string $tmpT
sprintf('FIELD_DELIMITER = %s', $connection->quote(',')),
sprintf('FIELD_OPTIONALLY_ENCLOSED_BY = %s', $connection->quote('"')),
sprintf('ESCAPE_UNENCLOSED_FIELD = %s', $connection->quote('\\')),
sprintf('COMPRESSION = %s', $connection->quote('GZIP')),
];

$tmpTableNameWithSchema = sprintf(
Expand Down

0 comments on commit eea13d2

Please sign in to comment.