[ https://issues.apache.org/jira/browse/HIVE-26539?focusedWorklogId=815080&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-815080 ]
ASF GitHub Bot logged work on HIVE-26539: ----------------------------------------- Author: ASF GitHub Bot Created on: 10/Oct/22 02:55 Start Date: 10/Oct/22 02:55 Worklog Time Spent: 10m Work Description: dengzhhu653 commented on code in PR #3605: URL: https://github.com/apache/hive/pull/3605#discussion_r990886989 ########## ql/src/java/org/apache/hadoop/hive/ql/exec/SerializationUtilities.java: ########## @@ -830,13 +853,17 @@ public static byte[] serializeObjectWithTypeInformation(Serializable object) { /** * Deserializes expression from Kryo. * @param bytes Bytes containing the expression. + * @param isPartFilter ture if it is a partition filter * @return Expression; null if deserialization succeeded, but the result type is incorrect. */ - public static <T> T deserializeObjectWithTypeInformation(byte[] bytes) { - Kryo kryo = borrowKryo(); + public static <T> T deserializeObjectWithTypeInformation(byte[] bytes, + boolean isPartFilter) { + KryoWithHooks kryo = (KryoWithHooks) borrowKryo(); + kryo.setExprNodeFirst(isPartFilter); try (Input inp = new Input(new ByteArrayInputStream(bytes))) { return (T) kryo.readClassAndObject(inp); } finally { + kryo.setExprNodeFirst(false); Review Comment: sure Issue Time Tracking ------------------- Worklog Id: (was: 815080) Time Spent: 1h (was: 50m) > Kryo deserialization improvements > --------------------------------- > > Key: HIVE-26539 > URL: https://issues.apache.org/jira/browse/HIVE-26539 > Project: Hive > Issue Type: Improvement > Reporter: Zhihua Deng > Assignee: Zhihua Deng > Priority: Major > Labels: pull-request-available > Time Spent: 1h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.20.10#820010)