简体   繁体   English

AWS Athena - 解释查询计划

[英]AWS Athena - explain query plan

Can I use 'explain' statement in AWS Athena?我可以在 AWS Athena 中使用“explain”语句吗? (For reviewing query's plan) I tried to use explain statement in Athena, but I met below error message. (用于查看查询计划)我尝试在 Athena 中使用解释语句,但遇到以下错误消息。

Your query has the following error(s):您的查询有以下错误:

Queries of this type are not supported (Service: AmazonAthena; Status Code: 400; Error Code: InvalidRequestException不支持此类查询(服务:AmazonAthena;状态代码:400;错误代码:InvalidRequestException

根据这个EXPLAIN 语句目前在 Athena 中不受支持。如果您想执行相同的操作,那么您可以通过其与 AWS Glue 目录集成在 EMR-Presto 中执行此操作。

EXPLAIN statement is now supported by Athena. Athena 现在支持 EXPLAIN 语句。 You can find more information in AWS documentation .您可以在AWS 文档 中找到更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM