PetarVasiljevic-DB commented on code in PR #48625:
URL: https://github.com/apache/spark/pull/48625#discussion_r1821182410


##########
connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/v2/PostgresIntegrationSuite.scala:
##########
@@ -302,4 +317,22 @@ class PostgresIntegrationSuite extends 
DockerJDBCIntegrationV2Suite with V2JDBCT
     assert(rows10(0).getString(0) === "amy")
     assert(rows10(1).getString(0) === "alex")
   }
+
+  test("Test reading 2d array from table created via CTAS command") {
+    val dfWithNewBehaviour = sql(s"SELECT * FROM 
$catalogName.array_of_array_of_int")
+    val CTASdfWithNewBehaviour = sql(s"SELECT * FROM 
$catalogName.ctas_array_of_array_of_int")
+
+    checkAnswer(CTASdfWithNewBehaviour, dfWithNewBehaviour.collect())
+  }
+
+  test("Test reading multiple dimension array from table created via CTAS 
command") {
+    val exception = intercept[org.apache.spark.SparkSQLException] {

Review Comment:
   Done



-- 
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]

Reply via email to