w41ter commented on code in PR #36125: URL: https://github.com/apache/doris/pull/36125#discussion_r1636319597
########## fe/fe-core/src/main/java/org/apache/doris/catalog/PartitionKey.java: ########## @@ -59,9 +60,13 @@ public class PartitionKey implements Comparable<PartitionKey>, Writable { private static final Logger LOG = LogManager.getLogger(PartitionKey.class); + @SerializedName("ks") private List<LiteralExpr> keys; Review Comment: `LiteralExpr` is a base class, then the derived class must be registered to RuntimeTypeAdaptor, otherwise, the deserialization will fail to instance to the target derived class. See fe/fe-core/src/main/java/org/apache/doris/persist/gson/GsonUtils.java for details. -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org