Skip to content

DBeaver: How to get tables metadata #1189

Answered by pan3793
mmuru asked this question in Q&A
Discussion options

You must be logged in to vote

Based on delta v1.0.0 source code, delta will erase schema before persisting table information into Hive metastore. The behavior doesn't change in master branch.

https://github.com/delta-io/delta/blob/5571d95966e3b03c4699dcfa1a5cd86bb16447dc/core/src/main/scala/org/apache/spark/sql/delta/commands/CreateDeltaTableCommand.scala#L387-L405

DBevaer uses GET_COLUMNS operation to ask Kyuubi for table column information, and Kyuubi handles it by calling Spark Catalog API, which retrieves metadata from Hive metastore, then you got nothing.

Replies: 4 comments 15 replies

Comment options

You must be logged in to vote
1 reply
@mmuru
Comment options

Comment options

You must be logged in to vote
5 replies
@mmuru
Comment options

@pan3793
Comment options

@mmuru
Comment options

@pan3793
Comment options

@mmuru
Comment options

Comment options

You must be logged in to vote
6 replies
@pan3793
Comment options

@pan3793
Comment options

@mmuru
Comment options

@yaooqinn
Comment options

@pan3793
Comment options

Comment options

You must be logged in to vote
3 replies
@mmuru
Comment options

@pan3793
Comment options

@mmuru
Comment options

Answer selected by pan3793
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants