kasakrisz commented on a change in pull request #877: HIVE-22538: RS 
deduplication does not always enforce 
hive.optimize.reducededuplication.min.reducer
URL: https://github.com/apache/hive/pull/877#discussion_r371306043
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcRecordUpdater.java
 ##########
 @@ -579,6 +579,7 @@ public void close(boolean abort) throws IOException {
 
             OrcFile.WriterOptions wo = 
OrcFile.writerOptions(this.options.getConfiguration())
                 .inspector(rowInspector)
+                
.setSchema(createEventSchemaFromTableProperties(this.options.getTableProperties()))
 
 Review comment:
   I simplified this part of the code: reuse the existing writerOptions 
instance which contains the correct 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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to