vinishjail97 commented on code in PR #11396:
URL: https://github.com/apache/hudi/pull/11396#discussion_r1758778872
##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/helpers/QueryInfo.java:
##########
@@ -43,10 +48,32 @@ public QueryInfo(
String startInstant, String endInstant,
String orderColumn, String keyColumn,
String limitColumn) {
+ this(
+ queryType,
+ previousInstant,
+ startInstant,
+ endInstant,
+ StringUtils.EMPTY_STRING,
+ orderColumn,
+ keyColumn,
+ limitColumn
+ );
+ }
+
+ public QueryInfo(
+ String queryType,
+ String previousInstant,
+ String startInstant,
+ String endInstant,
+ String predicateFilter,
Review Comment:
Using this function instead.
```
public Option<String> getPredicateFilter() {
if (!StringUtils.isNullOrEmpty(predicateFilter)) {
return Option.of(predicateFilter);
}
return Option.empty();
}
```
--
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]