CTTY commented on PR #9221:
URL: https://github.com/apache/hudi/pull/9221#issuecomment-1639084449

   Hi @xushiyan, I noticed the casting from hadoopConf to hiveConf was 
introduced by this PR from you(https://github.com/apache/hudi/pull/6202) but I 
couldn't find any context. Could you help me learn why we made that change?
   
   ```
   HiveConf hiveConf = hadoopConf instanceof HiveConf
           ? (HiveConf) hadoopConf : new HiveConf(hadoopConf, HiveConf.class);
   ```


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

Reply via email to