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 2022/06/08 12:37:41 UTC

[GitHub] [flink-table-store] JingsongLi commented on a diff in pull request #148: [FLINK-27957] Extract AppendOnlyFileStore out of KeyValueFileStore

JingsongLi commented on code in PR #148:
URL: https://github.com/apache/flink-table-store/pull/148#discussion_r892269567


##########
flink-table-store-core/src/main/java/org/apache/flink/table/store/table/AppendOnlyFileStoreTable.java:
##########
@@ -62,7 +60,7 @@ public TableScan newScan(boolean incremental) {
         return new TableScan(scan, schema, store.pathFactory()) {
             @Override
             protected void withNonPartitionFilter(Predicate predicate) {
-                scan.withValueFilter(predicate);
+                ((AppendOnlyFileStoreScan) scan).withFilter(predicate);

Review Comment:
   You can remove these cast if `AppendOnlyFileStore.newScan()` returns `AppendOnlyFileStoreScan`.



-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org