Can you create views in Amazon Athena?

夙愿已清 提交于 2019-12-12 18:32:43

问题


Is it possible to create views in Amazon Athena?

Since an External table is essentially metadata for data stored in files on S3, there's no transformation involved. Therefore, you can't handle data inconsistencies. Quite often, this can result in tables being defined with lots of string fields.

Can you create a view over the top of the External table that can contain the transformation logic, allowing users to query a "cleansed" view of the data?


回答1:


While that is a nice feature that you are looking for,

AWS Athena does not support creating any view.

Reference Documentation of supported DDL's:

http://docs.aws.amazon.com/athena/latest/ug/language-reference.html

Hope it helps.




回答2:


Looks like they have added this support now AWS Doc



来源:https://stackoverflow.com/questions/46413145/can-you-create-views-in-amazon-athena

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!