I'm using below COPY INTO to generate file from table to s3
COPY INTO @s3_stage FROM my_sf_table
FILE_FORMAT = (
TYPE=CSV
compression=GZIP
EMPTY_FIELD_AS_NULL = false
NULL_IF = ('')
FIELD_DELIMITER=',')
single = false
max_file_size=4900000000;
I was able to get a 300MB file and uploaded to s3. However the maximum file size I can upload is 100 MB - I then changed max_file_size to 104857600(100MB)
COPY INTO @s3_stage FROM my_sf_table
FILE_FORMAT = (
TYPE=CSV
compression=GZIP
EMPTY_FIELD_AS_NULL = false
NULL_IF = ('')
FIELD_DELIMITER=',')
single = false
max_file_size=104857600;
My expectation: get three files, each file is 100MB, and upload to s3. But it's not working, I've still got one 300 MB file. Anyone knows why?