Overwrite parquet files from dynamic frame in AWS Glue : <p>I use dynamic frames to write a parquet file in S3 but if a file already exists my program append a new file instead of replace it. The sentence that I use is this:</p>

<pre><code>glueContext.write_dynamic_frame.from_options(frame = table,
                                         connection_type = "s3",
                                         connection_options = {"path": output_dir,
                                                               "partitionKeys": ["var1","var2"]},
                                         format = "parquet")
</code></pre>

<p>Is there anything like <code>"mode":"overwrite"</code> that replace my parquet files?</p>
