Myracle commented on a change in pull request #17826:
URL: https://github.com/apache/flink/pull/17826#discussion_r759839237



##########
File path: 
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/connectors/hive/HiveParallelismInference.java
##########
@@ -63,10 +63,10 @@ int limit(Long limit) {
             return parallelism;
         }
 
-        if (limit != null) {
-            parallelism = Math.min(parallelism, (int) (limit / 1000));
+        if (!infer || limit == null) {

Review comment:
       The problem occurs in 1.13.1 version. The master branch has already 
resolved the problem.




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


Reply via email to