You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Nishant Bangarwa (JIRA)" <ji...@apache.org> on 2018/08/06 17:03:00 UTC
[jira] [Updated] (HIVE-20278) Druid Scan Query avoid copying from
List -> Map -> List
[ https://issues.apache.org/jira/browse/HIVE-20278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nishant Bangarwa updated HIVE-20278:
------------------------------------
Attachment: HIVE-20278.patch
> 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
> 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)