Skip to content

Unable to query some tables in SQL explorer using EMR studio

0

When I query some delta lake tables, it gives

""internal server error""

and colum extract on left side panel, simply shows loading. Is it a bug or something missed at my end?

asked 2 years ago408 views

1 Answer
3
Accepted Answer

Hello,

You can connect to primary instance of EMR cluster and refer to /var/log/presto/server.log presto server log file which provides the actual exception.

Or you can run presto-cli in primary node and run the query which will also give the actual error. Based on the error you can fix the issue.

This seems you are running into an issue when querying specific delta tables which is not compatible with Presto. If your data catalog is created with Glue and accessing delta table using SQL Explorer(presto), then I am not sure if you can achieve this as of today. On the other hand, if your data catalog is hive metastore, then you need to configure the hive/delta connector to read the delta table.

AWS
SUPPORT ENGINEER

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.