【发布时间】:2019-10-12 16:26:35
【问题描述】:
我在将 Python Glue Job 转换为 Scala Glue Job 时遇到问题,即create_dynamic_data_frame_options 方法。在python中的语法是:
dyf = glueContext.create_dynamic_frame_from_options("s3",
{'paths': file_paths},
format="csv",
format_options={"separator": ",", "quoteChar": '"'})
其中 file_paths 是一个列表 ['s3://bucket1/file1.txt','s3://bucket2/file2.txt'] 。如何在 Scala 中做同样的事情?
【问题讨论】:
标签: scala amazon-web-services apache-spark etl aws-glue