Shohei Okumiya created HIVE-29446:
-------------------------------------

             Summary: Remove reflective instance creations in iceberg-handler
                 Key: HIVE-29446
                 URL: https://issues.apache.org/jira/browse/HIVE-29446
             Project: Hive
          Issue Type: Improvement
          Components: Iceberg integration
    Affects Versions: 4.2.0
            Reporter: Shohei Okumiya


The iceberg-handler module includes reflections to create a record reader or 
object inspectors. I suspect they are valid when the iceberg-hive module was 
located in the Apache Iceberg repo, because it can't assume the version of the 
linked Hive jar. Now that Apache Hive bundles IcebergStorageHandler directly, 
we are unlikely to need the dynamic initializations.
https://github.com/apache/hive/blob/7b5433415e42ec92d29636109ea7f522c9354cf4/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergInputFormat.java#L74-L91



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to