Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Implemented
-
None
-
None
Description
Add a FilterableTableSource interface for TableSource implementations which support filter push-down.
The interface could look as follows
def trait FilterableTableSource {
// returns unsupported predicate expression
def setPredicate(predicate: Expression): Expression
}
In addition we need Calcite rules to push a predicate (or parts of it) into a TableScan that refers to a FilterableTableSource. We might need to tweak the cost model as well to push the optimizer in the right direction.
Attachments
Issue Links
- is required by
-
FLINK-2168 Add HBaseTableSource
- Closed
-
FLINK-2169 Add ParquetTableSource
- Closed
-
FLINK-2170 Add OrcTableSource
- Closed
- links to