pvary commented on a change in pull request #2586:
URL: https://github.com/apache/hive/pull/2586#discussion_r694667660



##########
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:
       Why not put this inside the `getOrcTailFromCache`?




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to