[
https://issues.apache.org/jira/browse/CALCITE-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065215#comment-16065215
]
Sihua Zhou commented on CALCITE-1581:
-------------------------------------
Hi, Julian Hyde:
If it's just for Hive-compatible syntax, why not support the hive 's udtf
form"select udtf(xxx) as ... from table;" purely, and it not be enable by
default. Any way, our purpose is to be friendly for the user that migrate from
hive.
> UDTF like in hive
> -----------------
>
> Key: CALCITE-1581
> URL: https://issues.apache.org/jira/browse/CALCITE-1581
> Project: Calcite
> Issue Type: New Feature
> Reporter: Xiaoyong Deng
> Assignee: Julian Hyde
> Labels: udtf
>
> 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
> func(c0, c1) as (f0, f1, f2)
> from table_name;
> {code}
> c0 and c1 are 'table_name' columns. f0, f1 and f2 are new generated columns.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)