unigof commented on code in PR #46832:
URL: https://github.com/apache/spark/pull/46832#discussion_r1642368622


##########
sql/core/src/test/scala/org/apache/spark/sql/CharVarcharTestSuite.scala:
##########
@@ -942,6 +942,34 @@ class FileSourceCharVarcharTestSuite extends 
CharVarcharTestSuite with SharedSpa
       }
     }
   }
+
+  test("SPARK-48498: always do char padding in predicates") {
+    import testImplicits._
+    withSQLConf(SQLConf.READ_SIDE_CHAR_PADDING.key -> "false") {

Review Comment:
   If set key `LEGACY_NO_CHAR_PADDING_IN_PREDICATE` = true, this case will fail.
   
   if not set this key to true, maybe can not get data when char column compare 
to liter, because liter would be padded but  char column not,  any idea?



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