difin commented on code in PR #6325:
URL: https://github.com/apache/hive/pull/6325#discussion_r2891794395
##########
ql/src/java/org/apache/hadoop/hive/ql/plan/DynamicPartitionCtx.java:
##########
@@ -54,6 +55,7 @@ public class DynamicPartitionCtx implements Serializable {
private int maxPartsPerNode; // maximum dynamic partitions created per
mapper/reducer
private Pattern whiteListPattern;
private boolean hasCustomSortExpr = false;
+ private transient List<Function<List<ExprNodeDesc>, ExprNodeDesc>>
customPartitionExpressions;
Review Comment:
`DynamicPartitionCtx` is `Serializable`. `customPartitionExpressions` is
transient. A transient field is not serialized, so after deserialization
`customPartitionExpressions` will be null and `getCustomPartitionExpressions()`
will return an empty list. Is it intentional?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]