【发布时间】:2021-02-24 15:06:30
【问题描述】:
我希望每 4 小时定期运行一次 etl 作业,它将合并(组合)来自 s3 存储桶(parquet 格式)的数据和来自 redshift 的数据。找出唯一的,然后将其再次写入红移,替换旧的红移数据。对于将数据帧写入红移,this
glueContext.write_dynamic_frame.from_jdbc_conf(frame, catalog_connection, connection_options={}, redshift_tmp_dir = "", transformation_ctx="")
Writes a DynamicFrame using the specified JDBC connection information.
frame – The DynamicFrame to write.
catalog_connection – A catalog connection to use.
connection_options – Connection options, such as path and database table (optional).
redshift_tmp_dir – An Amazon Redshift temporary directory to use (optional).
transformation_ctx – A transformation context to use (optional).
似乎在路上。但是catalog_connection 是什么意思?它是指胶水目录吗?如果是,那么胶水目录中的内容是什么?
【问题讨论】:
标签: amazon-web-services amazon-redshift aws-glue aws-glue-data-catalog