Jingsong Lee created FLINK-14253: ------------------------------------ Summary: Add hash distribution and sort grouping only when dynamic partition insert Key: FLINK-14253 URL: https://issues.apache.org/jira/browse/FLINK-14253 Project: Flink Issue Type: Sub-task Components: Table SQL / Planner Reporter: Jingsong Lee Fix For: 1.10.0
Now in BatchExecSinkRule, we don't have static partitions, if it is a partitioned table, will add hash distribution and sort grouping. It is wrong: # Group only when dynamic partition insert (not all partition fields are static partitions) # We can just hash and sort dynamic partition fields instead of all partition fields. -- This message was sent by Atlassian Jira (v8.3.4#803005)