anshulbaliga7 commented on issue #8716:
URL: https://github.com/apache/gluten/issues/8716#issuecomment-6987918676
I checked this against current main with the Velox version Gluten pins
today, map() on repeated table keys now throws natively under
`spark.sql.mapKeyDedupPolicy=EXCEPTION ("Duplicate map key was found",
raised from velox/functions/sparksql/LastWin.h)` and keeps the last value under
`LAST_WIN`, matching vanilla Spark. So the behaviour reported here is fixed on
the Velox side.
Nothing in Gluten tests it though, so I'm opening a tests-only PR that
covers map() and map_from_entries() under both policy values, following the
existing `map_from_arrays / transform_keys` tests. It would close this issue.
--
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]