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

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

                Author: ASF GitHub Bot
            Created on: 15/Jul/20 11:19
            Start Date: 15/Jul/20 11:19
    Worklog Time Spent: 10m 
      Work Description: dengzhhu653 opened a new pull request #1255:
URL: https://github.com/apache/hive/pull/1255


   … present
   
   ## NOTICE
   
   Please create an issue in ASF JIRA before opening a pull request,
   and you need to set the title of the pull request which starts with
   the corresponding JIRA issue number. (e.g. HIVE-XXXXX: Fix a typo in YYY)
   For more details, please see 
https://cwiki.apache.org/confluence/display/Hive/HowToContribute
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

            Worklog Id:     (was: 459239)
    Remaining Estimate: 0h
            Time Spent: 10m

> Allow PPD when subject is not a column with grouping sets present
> -----------------------------------------------------------------
>
>                 Key: HIVE-23850
>                 URL: https://issues.apache.org/jira/browse/HIVE-23850
>             Project: Hive
>          Issue Type: Bug
>          Components: Logical Optimizer
>            Reporter: Zhihua Deng
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> After [HIVE-19653|https://issues.apache.org/jira/browse/HIVE-19653],  filters 
> with only columns and constants are pushed down, but in some cases,  this may 
> not work as well, for example:
> SET hive.cbo.enable=false;
> SELECT a, b, sum(s)
> FROM T1
> GROUP BY a, b GROUPING SETS ((a), (a, b))
> HAVING upper(a) = "AAA" AND sum(s) > 100;
>  
> SELECT upper(a), b, sum(s)
> FROM T1
> GROUP BY upper(a), b GROUPING SETS ((upper(a)), (upper(a), b))
> HAVING upper(a) = "AAA" AND sum(s) > 100;
>  
> The filters pushed down to GBY can be f(gbyKey) or gbyKey with udf ,  not 
> only the column groupby keys.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to