cxzl25 commented on PR #34981:
URL: https://github.com/apache/spark/pull/34981#issuecomment-2644789583

   > Why client-side filtering cannot be used with TimeZoneAwareExpression
   
   Because the partition parameters may have timeZone, the client-side 
filtering may result in incorrect.
   
   If your scenario does not use the partition's timeZone property, you can 
remove this judgment logic.
   
   
https://github.com/apache/spark/blob/ba7849e551159808724b8e876b6f0d0288892c09/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveShim.scala#L401-L403
   
   
https://github.com/apache/spark/blob/ba7849e551159808724b8e876b6f0d0288892c09/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/interface.scala#L251-L255


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