[ https://issues.apache.org/jira/browse/HIVE-23840?focusedWorklogId=458652&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-458652 ]
ASF GitHub Bot logged work on HIVE-23840: ----------------------------------------- Author: ASF GitHub Bot Created on: 14/Jul/20 14:18 Start Date: 14/Jul/20 14:18 Worklog Time Spent: 10m Work Description: szlta commented on a change in pull request #1251: URL: https://github.com/apache/hive/pull/1251#discussion_r454390429 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/io/orc/VectorizedOrcAcidRowBatchReader.java ########## @@ -232,6 +250,17 @@ private VectorizedOrcAcidRowBatchReader(JobConf conf, OrcSplit orcSplit, Reporte this.syntheticProps = orcSplit.getSyntheticAcidProps(); + if (LlapHiveUtils.isLlapMode(conf) && LlapProxy.isDaemon() + && HiveConf.getBoolVar(conf, ConfVars.LLAP_TRACK_CACHE_USAGE)) + { + MapWork mapWork = LlapHiveUtils.findMapWork(conf); Review comment: We could spare the deserialization of MapWork from JobConf here, if we pass the MapWork instance already present in LlapRecordReader to VectorizedOrcAcidRowBatchReader ctor. (Downside is that in turn we would need to adjust the other ctor's of VectorizedOrcAcidRowBatchReader too) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 458652) Time Spent: 20m (was: 10m) > Use LLAP to get orc metadata > ---------------------------- > > Key: HIVE-23840 > URL: https://issues.apache.org/jira/browse/HIVE-23840 > Project: Hive > Issue Type: Improvement > Components: Transactions > Reporter: Peter Vary > Assignee: Peter Vary > Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > HIVE-23824 added the possibility to access ORC metadata. We can use this to > decide which delta files should be read, and which could be omitted. -- This message was sent by Atlassian Jira (v8.3.4#803005)