kokila-19 commented on code in PR #6325:
URL: https://github.com/apache/hive/pull/6325#discussion_r2909749484
##########
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:
Yes, it’s intentional. These fields hold lambdas (not serializable) so
they’re transient. They are only used at compile time by the optimizer, the
executor never reads them. Based on this, returning an empty list after
deserialization is safe.
Also, we do have tests covered for iceberg partition transforms and there
are no failures.
--
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]