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] [Commented] (HIVE-20278) Druid Scan Query avoid copying from List -> Map -> List
Date Mon, 06 Aug 2018 20:08:00 GMT

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

Ashutosh Chauhan commented on HIVE-20278:
-----------------------------------------

+1
What will it take to have RecordReaders other than Scan to return rows in order. No reason
to overhead in that case either. Can you please create a follow-up for that.

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

Mime
View raw message