You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sihua Zhou (JIRA)" <ji...@apache.org> on 2017/07/12 01:46:00 UTC

[jira] [Created] (FLINK-7160) Support hive like udtf

Sihua Zhou created FLINK-7160:
---------------------------------

             Summary: Support hive like udtf
                 Key: FLINK-7160
                 URL: https://issues.apache.org/jira/browse/FLINK-7160
             Project: Flink
          Issue Type: New Feature
          Components: Table API & SQL
    Affects Versions: 1.3.1
            Reporter: Sihua Zhou


Support one row in and multi-column/multi-row out(one-to-many mapping), just like udtf in hive.
The query would like this:
{code}
select udtf(arg1, arg2) as (seg1, seg2, seg3) from table
{code}
This is to be friendly for the user that migrate from hive. At present, calcite doesn't support this grammar, but it will be support it later, link: [CALCITE-1581|https://issues.apache.org/jira/browse/CALCITE-1581]




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)