Rajesh Balamohan created HIVE-23281:
---------------------------------------
Summary: ObjectStore::convertToStorageDescriptor can be optimised
to reduce calls to DB for ACID tables
Key: HIVE-23281
URL: https://issues.apache.org/jira/browse/HIVE-23281
Project: Hive
Issue Type: Improvement
Reporter: Rajesh Balamohan
[https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java#L1980]
[https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java#L1982]
SkewInfo, bucketCols, ordering etc are not needed for ACID tables. It may be
good to check for transactional tables and get rid these calls in table lookups.
This should help in reducing DB calls.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)