kumarUjjawal commented on issue #17964:
URL: https://github.com/apache/datafusion/issues/17964#issuecomment-3695479663
For Char > chr:
The core computation logic differs fundamentally, so only
documentation/structural sharing is feasible:
| Aspect | DataFusion `chr` | Spark `char`
|
|------------------|-------------------------------------|----------------------------------------|
| Value Range | Full Unicode (0 – 0x10FFFF) | Uses `value %
256` (Latin-1 behavior) |
| Negative Input | Returns error | Returns empty
string |
| Example | `chr(321)` → error (invalid) | `char(321)` →
`A` (`321 % 256 = 65`) |
--
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]