difin commented on code in PR #6106:
URL: https://github.com/apache/hive/pull/6106#discussion_r2388627623
##########
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedParquetRecordReader.java:
##########
@@ -519,20 +519,19 @@ private VectorizedColumnReader
buildVectorizedParquetReader(
int depth) throws IOException {
List<ColumnDescriptor> descriptors =
getAllColumnDescriptorByType(depth, type, columnDescriptors);
+ // Support for schema evolution
+ if (!fileSchema.getColumns().contains(descriptors.get(0))) {
+ return new VectorizedDummyColumnReader();
Review Comment:
It would be good if the comment explained how/why it provides support for
schema evolution.
--
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]