dongjoon-hyun commented on code in PR #46173:
URL: https://github.com/apache/spark/pull/46173#discussion_r1575663710


##########
connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/MsSqlServerIntegrationSuite.scala:
##########
@@ -265,7 +273,7 @@ class MsSqlServerIntegrationSuite extends 
DockerJDBCIntegrationSuite {
     assert(types(7).equals("class java.lang.String"))
     assert(types(8).equals("class [B"))
     assert(row.getString(0).length == 10)
-    assert(row.getString(0).trim.equals("the"))
+    assert(row.getString(0).equals("the".padTo(10, ' ')))

Review Comment:
   This seems to be ANSI result. Is this safe in non-ANSI CI, @yaooqinn ?
   - https://github.com/apache/spark/actions/workflows/build_non_ansi.yml



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to