I am trying to save csv file from python glue dynmaic frame. Below is my code -
glueContext.write_dynamic_frame.from_options(
frame=splender_df,
connection_type="s3",
connection_options={"path": 's3://splender_df/'},
format="csv",
But it is creating 20 files and none of them has csv extension(.csv). How can I have only one file with extension .csv in the name of the file.