You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/22 16:26:25 UTC

[jira] [Commented] (FLINK-3639) Add methods and utilities to register DataSets and Tables in the TableEnvironment

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

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

GitHub user vasia opened a pull request:

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

    [FLINK-3639] add methods for registering datasets and tables in the TableEnvironment

    This PR add methods for registering DataSets and Tables in the TableEnvironment to allow executing SQL queries in them in the (near) future. Registration will fail if there already exists a table or dataset with the same name. However, we do allow registering the same dataset and/or table under different names.
    It also adds a `scan` method to retrieve a registered Table from the registry.

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

    $ git pull https://github.com/vasia/flink registerTables

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

    https://github.com/apache/flink/pull/1827.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 #1827
    
----
commit e72d133a41c0988c4074052e97bbc87590e80ddb
Author: vasia <va...@apache.org>
Date:   2016-03-21T14:22:58Z

    [FLINK-3639] add methods for registering datasets and tables in the TableEnvironment

----


> Add methods and utilities to register DataSets and Tables in the TableEnvironment
> ---------------------------------------------------------------------------------
>
>                 Key: FLINK-3639
>                 URL: https://issues.apache.org/jira/browse/FLINK-3639
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API
>    Affects Versions: 1.1.0
>            Reporter: Vasia Kalavri
>            Assignee: Vasia Kalavri
>
> In order to make tables queryable from SQL we need to register them under a unique name in the TableEnvironment.
> [This design document|https://docs.google.com/document/d/1sITIShmJMGegzAjGqFuwiN_iw1urwykKsLiacokxSw0/edit] describes the proposed API.



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