rtrivedi12 commented on code in PR #6350:
URL: https://github.com/apache/hive/pull/6350#discussion_r2928078204
##########
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java:
##########
@@ -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",
Review Comment:
HbaseSerDe unlike Avroserde is not configured to adopt to external schema
changes. If the schema evolves in HBase, the getFieldsFromDeserializer() method
in Hive still returns schema from metastore SD . So, schema is always derived
from 'hbase.column.mappings' property in metastore. In case of AvroSerDe, Hive
reads the live schema from external url. So, it seems safe to have HbaseSerDe
in Metastore Schema config list.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]