HyukjinKwon commented on a change in pull request #29397:
URL: https://github.com/apache/spark/pull/29397#discussion_r467829249
##########
File path:
external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala
##########
@@ -235,4 +242,16 @@ class PostgresIntegrationSuite extends
DockerJDBCIntegrationSuite {
assert(row(0).getString(3) === "mnop")
assert(row(0).getString(4) === "q")
}
+
+ test("SPARK-32576: character array type tests") {
+ val df = sqlContext.read.jdbc(jdbcUrl, "char_array_types", new Properties)
+ val row = df.collect()
+ assert(row.length == 1)
Review comment:
That's alright. We don't currently have a style rule for that. `==` is
already being used here and there too though I prefer `===` as well because it
can compare, for example, arrays properly with a good error message.
----------------------------------------------------------------
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]