andygrove commented on PR #21331:
URL: https://github.com/apache/datafusion/pull/21331#issuecomment-4268946419
Thanks for iterating on this @JeelRajodiya. One issue I noticed:
```
spark-sql> SELECT hex(encode('A', 'UTF-32'));
00000041
```
This PR returns `0000FEFF00000041`, with a BOM. Both Spark 3.5 and Spark 4.1
return the four-byte form.
Once challenge for this PR is that there is different behavior across Spark
versions for the `encode` expression. Which Spark version is this PR targeting?
It would be good to document that.
--
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]