WingsGo commented on a change in pull request #3679:
URL: https://github.com/apache/incubator-doris/pull/3679#discussion_r429897271



##########
File path: 
fe/src/main/java/org/apache/doris/clone/DynamicPartitionScheduler.java
##########
@@ -275,19 +280,25 @@ private void executeDynamicPartition() {
                 // scheduler time should be record even no partition added
                 createOrUpdateRuntimeInfo(olapTable.getName(), 
LAST_SCHEDULER_TIME, TimeUtils.getCurrentFormatTime());
                 RangePartitionInfo rangePartitionInfo = (RangePartitionInfo) 
olapTable.getPartitionInfo();
+                if (rangePartitionInfo.getPartitionColumns().size() != 1) {
+                    // currently only support partition with single column.
+                    iterator.remove();
+                    continue;
+                }
+

Review comment:
       The single column check work is done when create table, no need to check 
here




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to