nastra commented on code in PR #10996:
URL: https://github.com/apache/iceberg/pull/10996#discussion_r1842669520


##########
mr/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergInputFormat.java:
##########
@@ -63,19 +61,15 @@ public class HiveIcebergInputFormat extends 
MapredIcebergInputFormat<Record>
       HIVE_VECTORIZED_RECORDREADER_CTOR;
 
   static {
-    if (HiveVersion.min(HiveVersion.HIVE_3)) {
-      HIVE_VECTORIZED_RECORDREADER_CTOR =
-          DynConstructors.builder(AbstractMapredIcebergRecordReader.class)
-              .impl(
-                  HIVE_VECTORIZED_RECORDREADER_CLASS,
-                  IcebergInputFormat.class,
-                  IcebergSplit.class,
-                  JobConf.class,
-                  Reporter.class)
-              .build();
-    } else {
-      HIVE_VECTORIZED_RECORDREADER_CTOR = null;
-    }
+    HIVE_VECTORIZED_RECORDREADER_CTOR =

Review Comment:
   can be inlined into L61



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to