如何在执行卸载命令之前删除存储桶Exp test.csv
中的对象。
UNLOAD('select * from abc') TO's3://Bucket/Product/temp/test.csv'CREDENTIALS 'aws_access_key_id = xxx; aws_secret_access_key = xx'PARALLEL OFF
由于
答案 0 :(得分:0)
添加添加 ESCAPE ALLOWOVERWRITE 我有
UNLOAD('select * from abc')TO's3://Bucket/Product/temp/test.csv'CREDENTIALS'aws_access_key_id = xxx; aws_secret_access_key = xx'PARALLEL OFF ESCAPE ALLOWOVERWRITE