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/09 05:40:00 UTC

[jira] [Resolved] (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 resolved HIVE-26817.
-----------------------------------
    Resolution: Fixed

Merged to master. Thanks [~zabetak] for review.

> 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: 1h 40m
>  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)