[ 
https://issues.apache.org/jira/browse/HIVE-25453?focusedWorklogId=645250&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-645250
 ]

ASF GitHub Bot logged work on HIVE-25453:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Sep/21 12:53
            Start Date: 01/Sep/21 12:53
    Worklog Time Spent: 10m 
      Work Description: szlta commented on a change in pull request #2586:
URL: https://github.com/apache/hive/pull/2586#discussion_r700182811



##########
File path: 
llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapIoImpl.java
##########
@@ -417,15 +419,21 @@ public OrcTail getOrcTailFromCache(Path path, 
Configuration jobConf, CacheTag ta
   }
 
   @Override
-  public RecordReader<NullWritable, VectorizedRowBatch> 
llapVectorizedOrcReaderForPath(Object fileKey, Path path, CacheTag tag, 
List<Integer> tableIncludedCols,
-      JobConf conf, long offset, long length) throws IOException {
+  public RecordReader<NullWritable, VectorizedRowBatch> 
llapVectorizedOrcReaderForPath(Object fileKey, Path path,
+      CacheTag tag, List<Integer> tableIncludedCols, JobConf conf, long 
offset, long length, Reporter reporter)
+      throws IOException {
 
-    OrcTail tail = getOrcTailFromCache(path, conf, tag, fileKey);
+    OrcTail tail = null;
+    if (tag != null) {

Review comment:
       - getOrcTailFromCache should always be called with a non-null CacheTag 
instance.
   - to produce a record reader in llapVectorizedOrcReaderForPath we either 
know the tag or not depending the source of invocation
   - - in case tag is known: we can do the metadata lookup and attach the 
result to the OrcSplit
   - - in case it's unknown: we create the split without the tail info, and let 
OrcEncodedDataReader find out the metadata later
   




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

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 645250)
    Time Spent: 2h 20m  (was: 2h 10m)

> Add LLAP IO support for Iceberg ORC tables
> ------------------------------------------
>
>                 Key: HIVE-25453
>                 URL: https://issues.apache.org/jira/browse/HIVE-25453
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Ádám Szita
>            Assignee: Ádám Szita
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to