You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/12/07 19:53:00 UTC
[jira] [Updated] (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 ]
ASF GitHub Bot updated HIVE-26817:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)