Unable to connect to Presto due missing TABLE_COMEMNT column
See original GitHub issueToday, I got Hue working with the Presto JDBC drive – yay! Anyway, as soon as I fire up Hue and click on a database, I see that Hue executes a query to the Hive catalog but this error occurs:
The query that gets submitted to Presto:
SELECT TABLE_NAME, TABLE_COMMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA=x
Here’s the error in Presto:
An error occurred while calling o11.execute. : java.sql.SQLException: Query failed (#20190204_183807_00002_k4e8j):
line 1:20: Column 'table_comment' cannot be resolved
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
how to show comment in presto after creating a table?
Just write: SHOW CREATE TABLE some_catalog.some_schema.tmp. This will show you pretty much the same command you wrote when creating the ...
Read more >Missing columns in PrestoSQL - Josip Pojatina
One of the first issues when starting to use PrestoSQL distributed query engine is related to missing columns of certain data types, especially...
Read more >ALTER TABLE — Presto 0.278.1 Documentation
ALTER TABLE [ IF EXISTS ] name DROP COLUMN column_name ALTER TABLE [ IF EXISTS ] ... clause causes the error to be...
Read more >Hive connector — Trino 403 Documentation
Ignore partitions when the file system location does not exist rather than failing the query. This skips data that may be expected to...
Read more >Teaching new Presto performance tricks to the Old-School DBA
1. Only specify the columns you need · 2. Consider the cardinality within GROUP BY · 3. Use LIMIT with ORDER BY ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 and thanks for fixing it
goods job