beliefer commented on a change in pull request #35013:
URL: https://github.com/apache/spark/pull/35013#discussion_r775781207
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/jdbc/JDBCSuite.scala
##########
@@ -638,7 +638,7 @@ class JDBCSuite extends QueryTest
assert(rows(0).getAs[Array[Byte]](0).sameElements(testBytes))
assert(rows(0).getString(1).equals("Sensitive"))
assert(rows(0).getString(2).equals("Insensitive"))
- assert(rows(0).getString(3).equals("Twenty-byte CHAR"))
+ assert(rows(0).getString(3).equals("Twenty-byte CHAR "))
Review comment:
The data type is `CHAR(20)`. ref:
https://github.com/apache/spark/blob/0819210f7a88a77efb20e8c786ba01b30f2b9b05/sql/core/src/test/scala/org/apache/spark/sql/jdbc/JDBCSuite.scala#L149
It seems the newer H2 append the other space.
--
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]