[
https://issues.apache.org/jira/browse/HIVE-27076?focusedWorklogId=858606&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-858606
]
ASF GitHub Bot logged work on HIVE-27076:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Apr/23 00:21
Start Date: 23/Apr/23 00:21
Worklog Time Spent: 10m
Work Description: github-actions[bot] closed pull request #4057:
HIVE-27076: Constant field will be wrongly propagated in grouping sets
URL: https://github.com/apache/hive/pull/4057
Issue Time Tracking
-------------------
Worklog Id: (was: 858606)
Time Spent: 40m (was: 0.5h)
> 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: 40m
> 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)