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 2017/05/16 00:11:04 UTC

[jira] [Commented] (FLINK-6574) Support nested catalogs in ExternalCatalog

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

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

GitHub user haohui opened a pull request:

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

    [FLINK-6574] Support nested catalogs in ExternalCatalog.

    This PR extends the APIs of the `ExternalCatalog` to support arbitrary nesting within external catalogs.

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

    $ git pull https://github.com/haohui/flink FLINK-6574

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

    https://github.com/apache/flink/pull/3913.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 #3913
    
----
commit 226aae03a605b3149c48de1154de7efb287334f5
Author: Haohui Mai <wh...@apache.org>
Date:   2017-05-16T00:09:18Z

    [FLINK-6574] Support nested catalogs in ExternalCatalog.

----


> Support nested catalogs in ExternalCatalog
> ------------------------------------------
>
>                 Key: FLINK-6574
>                 URL: https://issues.apache.org/jira/browse/FLINK-6574
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API & SQL
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>            Priority: Critical
>             Fix For: 1.3.0
>
>
> We found out that the current external catalog requires three layers of references for any tables. For example, the SQL would look like the following when referencing external table:
> {noformat}
> SELECT * FROM catalog.db.table
> {noformat}
> It would be great to support only two layers of indirections which is closer to many of the deployment on Presto / Hive today.
> {noformat}
> SELECT * FROM db.table
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)