zhangjun888 commented on a change in pull request #11405: [FLINK-16413]Reduce 
hive source parallelism when limit push down
URL: https://github.com/apache/flink/pull/11405#discussion_r393387648
 
 

 ##########
 File path: 
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/connectors/hive/HiveTableSource.java
 ##########
 @@ -168,7 +168,9 @@ public boolean isBounded() {
                        } catch (IOException e) {
                                throw new FlinkHiveException(e);
                        }
-                       source.setParallelism(Math.min(Math.max(1, splitNum), 
max));
+                       int parallelism = Math.min(Math.max(1, splitNum), max);
 
 Review comment:
   @JingsongLi  Thank you very much for your reply. There are some places that 
I did not consider carefully. I have modified them according to your 
suggestions.

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


With regards,
Apache Git Services

Reply via email to