fhygh opened a new pull request #34900:
URL: https://github.com/apache/spark/pull/34900


   ### What changes were proposed in this pull request?
   after add ApplyCharTypePadding rule, when partition data type is char, if 
partition value length is less then defined, partition expr filter will be 
right-padding, then will query incorrect result
   
   
   ### Why are the changes needed?
   fix query incorrect issue when filter is partition type and partition type 
is char.
   
   ### Does this PR introduce _any_ user-facing change?
   before this fix, if we using char partition type, then we should be careful 
to set charVarcharAsString to true.
   
   ### How was this patch tested?
   add new UT.
   


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