comphead commented on PR #5262:
URL:
https://github.com/apache/datafusion-comet/pull/5262#issuecomment-5447306508
Comet works fine in terms of literals, however for the same input in parquet
the Spark has different result
```
scala> spark.sql("SELECT array_distinct(arr) FROM t_distinct").show(false)
+-------------------+
|array_distinct(arr)|
+-------------------+
|[0.0, -0.0, 1.0] |
+-------------------+
scala> spark.sql("select array_distinct(array(-0.0, 0.0, 1.0))").show(false)
+------------------------------------+
|array_distinct(array(0.0, 0.0, 1.0))|
+------------------------------------+
|[0.0, 1.0] |
+------------------------------------+
```
@andygrove @sunchao wondering if its expected Spark behavior?
--
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]