mbutrovich commented on code in PR #1892: URL: https://github.com/apache/datafusion-comet/pull/1892#discussion_r2153165641
########## spark/src/test/scala/org/apache/comet/CometArrayExpressionSuite.scala: ########## @@ -232,6 +232,21 @@ class CometArrayExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelp } } + test("array_max") { + withSQLConf(CometConf.COMET_EXPR_ALLOW_INCOMPATIBLE.key -> "true") { + withTempDir { dir => + val path = new Path(dir.toURI.toString, "test.parquet") + makeParquetFileAllTypes(path, dictionaryEnabled = false, n = 10000) Review Comment: I think this function can create a Parquet file with array types. Can we find one in the schema and try array_max on a column read from the file, and not just the output of the `array` expression? -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org