I'm having problems in converting a Python Glue Job to Scala Glue Job, namely create_dynamic_data_frame_options method. In python the syntax is:
dyf = glueContext.create_dynamic_frame_from_options("s3",
{'paths': file_paths},
format="csv",
format_options={"separator": ",", "quoteChar": '"'})
where file_paths is a list ['s3://bucket1/file1.txt','s3://bucket2/file2.txt'] . How to do the same thing in Scala?