cloud-fan commented on a change in pull request #31281:
URL: https://github.com/apache/spark/pull/31281#discussion_r562101505
##########
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:
is it the same with hive? or we should also add padding for char type
column in partition spec?
----------------------------------------------------------------
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]