cxzl25 commented on issue #5414:
URL: https://github.com/apache/kyuubi/issues/5414#issuecomment-1763875083

   Thanks to @lordk911 for reporting this issue
   
   I think this is a bug, HiveReader.initializeHiveConf polluted the Hiveconf 
instance, causing `hive.io.file.readcolumn.ids` to add a lot of dirty values.
   
   Can you propose a PR to help fix it?
   
   
https://github.com/apache/kyuubi/blob/4bb67bdf3bcabd135102bd85c8992e9b52ba9356/extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/read/HiveScan.scala#L66-L73
   
   
https://github.com/apache/hive/blob/d9e96c96a09398d79d9f866b914d994403f4928a/serde/src/java/org/apache/hadoop/hive/serde2/ColumnProjectionUtils.java#L115-L124
   
   
https://github.com/apache/spark/blob/c69117742b7c05fe58ca2b94cd713231dc8f7a3d/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/orc/OrcScan.scala#L64-L72
   
   <img width="1463" alt="image" 
src="https://github.com/apache/kyuubi/assets/3898450/c0adc063-0002-4a21-8cfa-89842c08db11";>
   
   
   


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