You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Nishant Bangarwa (JIRA)" <ji...@apache.org> on 2018/07/31 11:54:00 UTC
[jira] [Created] (HIVE-20278) Druid Scan Query avoid copying from
List -> Map -> List
Nishant Bangarwa created HIVE-20278:
---------------------------------------
Summary: 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
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)