hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vineet Garg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-19674) Group by Decimal Constants push down to Druid tables.
Date Thu, 16 Aug 2018 00:28:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-19674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vineet Garg updated HIVE-19674:
-------------------------------
    Description: 
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}



  was:
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}

The Group key is pushed down to Druid as a Constant Column, this leads to an Exception while
parsing back the results since Druid Input format does not allow Decimals.



> 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
>
>
> 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)

Mime
View raw message