yaooqinn commented on a change in pull request #31281:
URL: https://github.com/apache/spark/pull/31281#discussion_r562367529



##########
File path: 
sql/core/src/test/scala/org/apache/spark/sql/CharVarcharTestSuite.scala
##########
@@ -56,7 +56,7 @@ trait CharVarcharTestSuite extends QueryTest with 
SQLTestUtils {
       checkAnswer(spark.table("t"), Row("1", "a" + " " * 4))
       checkColType(spark.table("t").schema(1), CharType(5))
 
-      sql("ALTER TABLE t DROP PARTITION(c='a')")
+      sql("ALTER TABLE t DROP PARTITION(c='a    ')")

Review comment:
       Not same now, we should add padding to this, as for char(4), 'a', 'a ', 
'a  ', 'a   ' are all same




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

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