[ https://issues.apache.org/jira/browse/HIVE-20279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563948#comment-16563948 ]
Gopal V commented on HIVE-20279: -------------------------------- This is a good catch, also because it is easier to fix this via the block-offset (all handlers can be set to -1, after first entry into loop). > 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)