amazon-web-services - ETL : Flatten a nested array

我目前正在尝试使用 AWS Glue 导入存储在 json 中的数据。 jsons 包含定义为字符串数组的属性“标签”。我已经首先导入了没有标签的表格。我希望能够将标签的属性导入到另一个表中,以便建立一个干净的一对多关系。查看文档后,我看不出如何使用 awsglue 框架来做到这一点。有任何想法吗?

雨果

最佳答案

在粘合中使用关系化方法。

https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-samples-legislators.html

github AWS 上也有例子。

关于amazon-web-services - ETL : Flatten a nested array in an AWS glue job,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54809210/

相关文章:

reactjs - 找不到模块 : Can't resolve 'react-native'

angular-material2 - Angular Material2 Mat-Table服务器

python - “Tensor”对象不能使用 Keras 和 seq2seq 模型调用

r - 在 vector/data.frame 列上应用返回 data.frame/tibble 的

ios - 异常 : addEvent is not a recognised Objective

python - 如何将python应用程序连接到在线数据库

vue.js - 如何处理具有多个参数(例如表格数据)的查询的 Apollo 缓存更新

google-cloud-platform - 如何在 GCP 中实现 VM 的高可用性?

spring-boot - Liquibase 和 Hibernate ddl-auto=updat

python - 无法关闭 gtk 对话窗口