You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2022/12/07 14:57:00 UTC

[jira] [Assigned] (HIVE-26817) Set column names in result schema when plan has Values root

     [ https://issues.apache.org/jira/browse/HIVE-26817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krisztian Kasa reassigned HIVE-26817:
-------------------------------------


> Set column names in result schema when plan has Values root
> -----------------------------------------------------------
>
>                 Key: HIVE-26817
>                 URL: https://issues.apache.org/jira/browse/HIVE-26817
>             Project: Hive
>          Issue Type: Improvement
>          Components: CBO
>            Reporter: Krisztian Kasa
>            Assignee: Krisztian Kasa
>            Priority: Major
>
> The query
> {code}
> select b1, count(a1) count1 from (select a1, b1 from t1) s where 1=0 group by b1;
> {code}
> should have a result with column names
> {code}
> b1	count1
> {code}
> but it is
> {code}
> $f0	$f1
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)