[ 
https://issues.apache.org/jira/browse/HIVE-27076?focusedWorklogId=857195&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-857195
 ]

ASF GitHub Bot logged work on HIVE-27076:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Apr/23 00:21
            Start Date: 15/Apr/23 00:21
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on PR #4057:
URL: https://github.com/apache/hive/pull/4057#issuecomment-1509420560

   This pull request has been automatically marked as stale because it has not 
had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the [email protected] list if the patch is in 
need of reviews.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 857195)
    Time Spent: 0.5h  (was: 20m)

> Constant field will be wrongly propagated in grouping sets
> ----------------------------------------------------------
>
>                 Key: HIVE-27076
>                 URL: https://issues.apache.org/jira/browse/HIVE-27076
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>    Affects Versions: 2.3.8, 3.1.3, 4.0.0-alpha-2
>            Reporter: Genmao Yu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Reproduce issue:
> {code:sql}
> create table tb1 (key string, value string);
> insert into tb1 values("a", "b");
> with mid1 as (
>     select 'test_value' as test_field, * from tb1
> )
> select key, nvl(test_field, 'default_test_value')
> from mid1 group by key, test_field
> grouping sets(key, test_field, (key, test_field));
> {code}



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

Reply via email to