-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-29484: HMS.getFields() fails with 'SchemaReader not supported' for Avro and Hbase tables #6350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
193ee25
4d670c1
52c7d01
37b84fd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1441,7 +1441,8 @@ public enum ConfVars { | |
| "org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe," + | ||
| "org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe," + | ||
| "org.apache.hadoop.hive.serde2.OpenCSVSerde," + | ||
| "org.apache.iceberg.mr.hive.HiveIcebergSerDe", | ||
| "org.apache.iceberg.mr.hive.HiveIcebergSerDe," + | ||
| "org.apache.hadoop.hive.hbase.HBaseSerDe", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Some ideas:
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks @dengzhhu653! To clarify, do you think it is acceptable to return the 'last known' schema as a fallback for non-native tables (like Avro) from HMS ? If we agree on this 'best-effort' approach implemented in this PR, we can handle the task of removing the whitelist logic in a follow-up PR.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I opt for the 'best-effort', so the Metastore cab get ride of |
||
| "SerDes retrieving schema from metastore. This is an internal parameter."), | ||
| SERDES_WITHOUT_FROM_DESERIALIZER("metastore.serdes.without.from.deserializer", | ||
| "hive.metastore.serdes.without.from.deserializer", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.