voonhous commented on code in PR #17581:
URL: https://github.com/apache/hudi/pull/17581#discussion_r2639920513


##########
hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/utils/HiveTypeUtils.java:
##########
@@ -224,8 +225,8 @@ private static int getIntValue(Object obj) {
   }
 
   // added this from AvroSerdeUtils in hive latest
-  public static int getIntFromSchema(Schema schema, String name) {
-    Object obj = schema.getObjectProp(name);
+  public static int getIntFromSchema(HoodieSchema schema, String name) {
+    Object obj = schema.getProp(name);

Review Comment:
   We do not have `getObjectProp`. Only `getObjectProps`.
   
   Modified to:
   
   ```java
   Object obj = schema.getObjectProps().get(name);
   ```



-- 
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]

Reply via email to