create or replace stage elasticsearch_dev url='s3://s3bucket/ElasticSearch' credentials=(aws_role='arn:aws:iam::XXXXXXX:role/role_snowflake')
copy into @elasticsearch_dev/test/SAMPLE.json from (select To_JSON(object_construct(*)) from Sample) file_format = (type = json), overwrite=TRUE;
I'm unloading the sample table to JSON format in s3, when I look into S3 the file is compressed as SAMPLE.json_0_0_0.json.gz
The s3 file should not get compressed, should be like SAMPLE.json_0_0_0.json.
How can I achieve that?