cloud-fan commented on code in PR #34900:
URL: https://github.com/apache/spark/pull/34900#discussion_r844825703
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala:
##########
@@ -4082,18 +4082,21 @@ object ApplyCharTypePadding extends Rule[LogicalPlan] {
// String literal is treated as char type when it's compared to a char
type column.
// We should pad the shorter one to the longer length.
- case b @ BinaryComparison(e @ AttrOrOuterRef(attr), lit) if
lit.foldable =>
+ case b @ BinaryComparison(e @ AttrOrOuterRef(attr), lit)
Review Comment:
do you know why it's a problem only for partition predicates, not normal
predicates?
--
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]