LadyForest commented on a change in pull request #14938:
URL: https://github.com/apache/flink/pull/14938#discussion_r575828726



##########
File path: 
flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/config/entries/ModuleEntry.java
##########
@@ -61,6 +62,15 @@ private static ModuleEntry create(DescriptorProperties 
properties) {
         final DescriptorProperties cleanedProperties =
                 properties.withoutKeys(Collections.singletonList(MODULE_NAME));
 
+        // mapping modules purely by name
+        if (cleanedProperties.containsKey(MODULE_TYPE)) {
+            throw new ValidationException(

Review comment:
       Or we can close this PR and let YAML unchanged because "it will be 
removed soon". What do you think?




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


Reply via email to