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/11 22:37:04 UTC

[jira] [Commented] (FLINK-6562) Support implicit table references for nested fields in SQL

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

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

GitHub user haohui opened a pull request:

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

    [FLINK-6562] Support implicit table references for nested fields in SQL.

    

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

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

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

    https://github.com/apache/flink/pull/3879.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 #3879
    
----
commit 5ab697d32afa584a8683107006233889275ca73c
Author: Haohui Mai <wh...@apache.org>
Date:   2017-05-11T22:35:39Z

    [FLINK-6562] Support implicit table references for nested fields in SQL.

----


> Support implicit table references for nested fields in SQL
> ----------------------------------------------------------
>
>                 Key: FLINK-6562
>                 URL: https://issues.apache.org/jira/browse/FLINK-6562
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API & SQL
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>
> Currently nested fields can only be accessed through fully qualified identifiers. For example, users need to specify the following query for the table {{f}} that has a nested field {{foo.bar}}
> {noformat}
> SELECT f.foo.bar FROM f
> {noformat}
> Other query engines like Hive / Presto supports implicit table references. For example:
> {noformat}
> SELECT foo.bar FROM f
> {noformat}
> This jira proposes to support the latter syntax in the SQL API.



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