hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-20278) Druid Scan Query avoid copying from List -> Map -> List
Date Mon, 06 Aug 2018 20:10:00 GMT

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

Ashutosh Chauhan updated HIVE-20278:
------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.0
           Status: Resolved  (was: Patch Available)

Pushed to master. Thanks, Nishant!

> Druid Scan Query avoid copying from List -> Map -> List
> -------------------------------------------------------
>
>                 Key: HIVE-20278
>                 URL: https://issues.apache.org/jira/browse/HIVE-20278
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Nishant Bangarwa
>            Assignee: Nishant Bangarwa
>            Priority: Major
>              Labels: PERFORMANCE
>             Fix For: 4.0.0
>
>         Attachments: HIVE-20278.patch
>
>
> DruidScanQueryRecordReader gets a compacted List<Object> from druid. It then converts
that list into a Map<String,Object> as DruidWritable where key is the column name. 
> At the second stage DruidSerde takes this DruidWritable and creates a List out out of
the map again. We can avoid the map creation part by reading the list sent by druid directly
in the DruidSerde.deserialize() method.



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

Mime
View raw message