how can I add datetime stamp to zip file when unload data from snowflake to s3?
问题 I want to be able to add a timestamp the filename I'm writing to s3. So far I've been able to write files to AWS S3 using example below. Can someone guide me as to how do I go about putting datetime stamp in the file name? copy into @s3bucket/something.csv.gz from (select * from mytable) file_format = (type=csv FIELD_OPTIONALLY_ENCLOSED_BY = '"' compression='gzip' ) single=true header=TRUE; Thanks in advance. 回答1: The syntax for defining a path inside of a stage or location portion of the