andygrove commented on issue #1926:
URL: 
https://github.com/apache/datafusion-comet/issues/1926#issuecomment-3498528829

   Here is a test that can be added to the `CometFuzzTestSuite`:
   
   ```scala
     test("select size of array") {
       val df = spark.read.parquet(filename)
       df.createOrReplaceTempView("t1")
       val cols = df.schema.fields.filter(_.dataType.isInstanceOf[ArrayType])
       for (col <- cols) {
         val sql = s"SELECT size(${col.name}) FROM t1 ORDER BY ${col.name}"
         if (usingDataSourceExec) {
           checkSparkAnswerAndOperator(sql)
         } else {
           checkSparkAnswer(sql)
         }
       }
     }
   ```


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