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



##########
File path: 
llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/OrcEncodedDataReader.java
##########
@@ -247,6 +243,12 @@ public OrcEncodedDataReader(LowLevelCache lowLevelCache, 
BufferUsageManager buff
     this.jobConf = jobConf;
     // TODO: setFileMetadata could just create schema. Called in two places; 
clean up later.
     this.evolution = sef.createSchemaEvolution(fileMetadata.getSchema());
+
+    fileIncludes = includes.generateFileIncludes(fileSchema);

Review comment:
       What happens if there are multiple files with different schema?
   The test data is created this way:
   - Iceberg table created with 2 columns
   - Data inserted with 2 columns
   - Iceberg table schema modified
   - Data inserted with the modified schema
   ?




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