deniskuzZ commented on code in PR #6106:
URL: https://github.com/apache/hive/pull/6106#discussion_r2388293762
##########
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedParquetRecordReader.java:
##########
@@ -519,20 +519,18 @@ private VectorizedColumnReader
buildVectorizedParquetReader(
int depth) throws IOException {
List<ColumnDescriptor> descriptors =
getAllColumnDescriptorByType(depth, type, columnDescriptors);
+ if (!fileSchema.getColumns().contains(descriptors.get(0))) {
+ return new VectorizedDummyColumnReader();
Review Comment:
could we add some comments what this check is about
--
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]