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

Ashutosh Chauhan commented on HIVE-20279:
-----------------------------------------

Footer and Header logic is only relevant for csv tables which may contain it. 
For storage handlers we can completely bypass it.

> HiveContextAwareRecordReader slows down Druid Scan queries. 
> ------------------------------------------------------------
>
>                 Key: HIVE-20279
>                 URL: https://issues.apache.org/jira/browse/HIVE-20279
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Nishant Bangarwa
>            Assignee: Nishant Bangarwa
>            Priority: Major
>         Attachments: scan2.svg
>
>
> HiveContextAwareRecordReader add lots of overhead for Druid Scan Queries. 
> See attached flame graph. 
> Looks like the operations for checking for existence of footer/header buffer 
> takes most of time For druid and other storage handlers that do not have 
> footer buffer we should skip the logic for checking the existence for storage 
> handlers atleast. 



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

Reply via email to