jnh5y commented on code in PR #24886: URL: https://github.com/apache/flink/pull/24886#discussion_r1628751202
########## flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/operations/AlterSchemaConverter.java: ########## @@ -110,6 +113,7 @@ public Operation convertAlterSchema( SchemaConverter converter = createSchemaConverter(alterTableSchema, oldTable); converter.updateColumn(alterTableSchema.getColumnPositions().getList()); alterTableSchema.getWatermark().ifPresent(converter::updateWatermark); + alterTableSchema.getDistribution().ifPresent(converter::updateDistribution); Review Comment: I _think_ we have to pass the distribution around in order to create the new table objects. I may be missing some alternative 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. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org