You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/11/27 19:20:47 UTC
[GitHub] [flink] bowenli86 commented on a change in pull request #10318:
[FLINK-14721][hive]HiveTableSource implement LimitableTableSource interface
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:
users@infra.apache.org
With regards,
Apache Git Services