[ 
https://issues.apache.org/jira/browse/FLINK-3848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15666724#comment-15666724
 ] 

ASF GitHub Bot commented on FLINK-3848:
---------------------------------------

GitHub user tonycox opened a pull request:

    https://github.com/apache/flink/pull/2810

    [FLINK-3848] Add ProjectableTableSource interface and translation rule.

    Extend CsvTableSource to implement projection

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tonycox/flink FLINK-3848

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/2810.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2810
    
----
commit 95f55a3783ff849357b58d06f3b8c99b20edbe5e
Author: tonycox <tonyco...@gmail.com>
Date:   2016-11-07T16:18:31Z

    [FLINK-3848] Add ProjectableTableSource interface and translation rule. 
Extend CsvTableSource to implement projection

----


> Add ProjectableTableSource interface and translation rule
> ---------------------------------------------------------
>
>                 Key: FLINK-3848
>                 URL: https://issues.apache.org/jira/browse/FLINK-3848
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API & SQL
>            Reporter: Fabian Hueske
>            Assignee: Anton Solovev
>
> Add a {{ProjectableTableSource}} interface for {{TableSource}} implementation 
> that support projection push-down.
> The interface could look as follows
> {code}
> def trait ProjectableTableSource {
>   def setProjection(fields: Array[String]): Unit
> }
> {code}
> In addition we need Calcite rules to push a projection into a TableScan that 
> refers to a {{ProjectableTableSource}}. We might need to tweak the cost model 
> as well to push the optimizer in the right direction.
> Moreover, the {{CsvTableSource}} could be extended to implement 
> {{ProjectableTableSource}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to