stevenzwu commented on issue #7022:
URL: https://github.com/apache/iceberg/issues/7022#issuecomment-1464953716

   > so we'd better add a flink filter operator after source scan 
   
   @doki23 that would requires users to add it explicitly, which is also 
unintuitive for users that filters have to be provided in two different places. 
E.g. for FLIP-27 source.
   
   ```
       IcebergSource.Builder<RowData> sourceBuilder =
           IcebergSource.forRowData()
               .tableLoader(tableLoader())
               .table(table)
               .assignerFactory(new SimpleSplitAssignerFactory())
               .flinkConfig(config);
       sourceBuilder.filters(filters);
       sourceBuilder.properties(options);
   
       DataStream<Row> stream =
           env.fromSource(
                   sourceBuilder.build(),
                   WatermarkStrategy.noWatermarks(),
                   "testBasicRead",
                   TypeInformation.of(RowData.class))
               .filter(<some Flink filter function>); <<<<<<<<<<<<<<<<<<<<<<<<<<
   ```
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to