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


##########
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:
   ```
   @Override
       public TableScan newScan() {
           AppendOnlyFileStoreScan scan = store.newScan();
           return new TableScan(scan, schema, store.pathFactory()) {
               @Override
               protected void withNonPartitionFilter(Predicate predicate) {
                   scan.withFilter(predicate);
               }
           };
       }
   ```



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

Reply via email to