I have an s3 URL as s3://Sales//region.
I have date buckets inside the region folder as:
refdate=2022-02-26, refdate=2022-02-25 and refdate=2022-02-24
How would I create an external table in snowflake with partition as ref date folder? what have I tried so far:
Create external table sales (..)
PARTITION BY refdate
with location = @sales_stage/region/
file_format = COMP_ap
aws_sns_topic='arn:aws:sns:us-west38:snowflake-dev-SNS'
auto_refresh = true ;
Thanks,
Xi