nikunjagarwal321 commented on code in PR #5527: URL: https://github.com/apache/hive/pull/5527#discussion_r1835509111
########## serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java: ########## @@ -1652,4 +1654,20 @@ public static boolean hasAllFieldsSettable(ObjectInspector oi, private ObjectInspectorUtils() { // prevent instantiation } + + /** + * Returns slot value used for ordering the fields to make it deterministic + * @param field : field of a given class + * @return + */ + private static int getSlotValue(Field field) { + try { + Field slotField = Field.class.getDeclaredField("slot"); + slotField.setAccessible(true); Review Comment: Hi @difin , After making the change, I can see in the pipeline that testcase org.apache.hadoop.hive.ql.TestWarehouseExternalDir is failing, but when I try to run the same test in local, it seems to pass. <img width="960" alt="Screenshot 2024-11-09 at 1 55 41 PM" src="https://github.com/user-attachments/assets/bd866c1e-5ba4-48a7-ba30-00752f85a07d"> The new commit only sets the variable value back to the initial one and the test cases seem to pass in the earlier commits. Just had this query regarding if this case legit or is there a way to rerun the pipeline? Wanted to reproduce the same failure. Thanks in advance. -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org