bowenli86 commented on a change in pull request #10318: 
[FLINK-14721][hive]HiveTableSource implement LimitableTableSource interface
URL: https://github.com/apache/flink/pull/10318#discussion_r351443919
 
 

 ##########
 File path: 
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/connectors/hive/HiveTableInputFormat.java
 ##########
 @@ -91,12 +91,17 @@
        private int[] fields;
        // Remember whether a row instance is reused. No need to set partition 
fields for reused rows
        private transient boolean rowReused;
+       //We should limit the input read count of this splits, -1 represents no 
limit.
+       private long limit;
+       private boolean isLimit = false;
 
 Review comment:
   +1

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to