【发布时间】:2018-08-24 09:47:00
【问题描述】:
我使用动态框架在 S3 中编写 parquet 文件,但如果文件已经存在,我的程序会追加一个新文件而不是替换它。我使用的句子是这样的:
glueContext.write_dynamic_frame.from_options(frame = table,
connection_type = "s3",
connection_options = {"path": output_dir,
"partitionKeys": ["var1","var2"]},
format = "parquet")
有没有像"mode":"overwrite" 这样的东西来代替我的镶木地板文件?
【问题讨论】:
标签: amazon-web-services parquet aws-glue