How to avoid sub folders in snowflake copy statement
问题 I have a requirement to exclude certain folder from prefix and process the data in snowflake (Copy statement) In the below example I need to process files under emp/ and exclude files from abc/ Input : s3://bucket1/emp/ E1.CSV E2.CSV /abc/E11.csv s3://bucket1/emp/abc/ - E11.csv Output : s3://bucket1/emp/ E1.CSV E2.CSV Is there any suggestion around pattern to handle this ? 回答1: With the pattern keyword you can try to exclude certain files. However when using the pattern matching with the NOT