cloud-fan commented on a change in pull request #31181:
URL: https://github.com/apache/spark/pull/31181#discussion_r557550574
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/CharVarcharTestSuite.scala
##########
@@ -666,6 +682,19 @@ class FileSourceCharVarcharTestSuite extends
CharVarcharTestSuite with SharedSpa
assert(rest.contains("CHAR(5)"))
}
}
+
+ test("SPARK-34114: should not trim right for read-side length check and char
padding") {
+ Seq("char", "varchar").foreach { typ =>
Review comment:
`type` is a scala keyword and can't be used as a variable name.
----------------------------------------------------------------
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]