[ 
https://issues.apache.org/jira/browse/HIVE-19674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16584946#comment-16584946
 ] 

Vineet Garg commented on HIVE-19674:
------------------------------------

bq. Wonder if its possible to avoid this call altogether
getPulledUpPredicates() is used to figure out if any of the input ref 
expressions are constant. I am not sure what else to use to figure it out. I 
notice calcite rules like AggregateProjectPullUpConstantsRule use the same call.

bq. can we make that condition even more tighter?
Since we want to replace all {{group by <constant key(s)>}} I am not sure how 
can this call be made more tight.

[~jcamachorodriguez] any suggestions?

> Group by Decimal Constants push down to Druid tables.
> -----------------------------------------------------
>
>                 Key: HIVE-19674
>                 URL: https://issues.apache.org/jira/browse/HIVE-19674
>             Project: Hive
>          Issue Type: Improvement
>          Components: Druid integration
>            Reporter: slim bouguerra
>            Assignee: Vineet Garg
>            Priority: Major
>         Attachments: HIVE-19674.1.patch, HIVE-19674.2.patch
>
>
> Queries like following gets generated by Tableau.
> {code}
> SELECT SUM(`ssb_druid_100`.`lo_revenue`) AS `sum_lo_revenue_ok`
>  FROM `druid_ssb`.`ssb_druid_100` `ssb_druid_100`
> GROUP BY 1.1000000000000001;
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to