我想在AWS Athena上创建外部表时,使用一些极光(MySQL)表作为源。因为,这些表是可变的,并且经常更新。我看到Hive和Presto通过使用org.apache.hadoop.hive.jdbc.storagehandler.JdbcStorageHandler来支持这一点。AWS Athena中有没有类似的功能?
发布于 2018-11-24 22:15:21
亚马逊雅典娜致力于对亚马逊S3上的数据运行交互式ad hoc SQL查询,但还不支持上述功能。
https://docs.aws.amazon.com/athena/latest/ug/supported-format.html
在这种情况下,您有两种解决方案:
1)您可以使用Glue或EMR服务。
https://docs.aws.amazon.com/glue/latest/dg/console-connections.html
2)你可以将数据从极光导出到S3,然后你就可以使用雅典娜了。
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Integrating.SaveIntoS3.html
https://stackoverflow.com/questions/53290757
复制相似问题