Skip to content

Commit

Permalink
gz implicitly defines
Browse files Browse the repository at this point in the history
  • Loading branch information
nellicus committed Mar 27, 2023
1 parent 34f81dd commit f13f977
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions knowledgebase/s3_export_data_year_month_folders.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,11 @@ Run this to create the desired structure in s3 bucket `my_bucket` (note this exa
```sql
INSERT INTO
FUNCTION s3(
'https://s3-host:4321/my_bucket/{_partition_id}/file.parquet',
'https://s3-host:4321/my_bucket/{_partition_id}/file.parquet.gz',
's3-access-key',
's3-secret-access-key',
Parquet,
'name String, age Int, time DateTime',
'gzip'
'name String, age Int, time DateTime'
) PARTITION BY concat(
formatDateTime(time, '%Y'),
'/',
Expand Down

0 comments on commit f13f977

Please sign in to comment.