pan3793 commented on PR #37483:
URL: https://github.com/apache/spark/pull/37483#issuecomment-1554409912
IMO we need to partially backport this patch to branch-3.3.
The base64 function behavior changed since SPARK-37820 (3.3.0), causes some
queries, e.g. `select unbase64("abcs==")`, which can execute succeeded in
pre-3.3 but failed in 3.3.x
```
spark-sql> select unbase64("abcs==");
23/05/19 16:21:07 ERROR SparkSQLDriver: Failed in [select unbase64("abcs==")]
java.lang.IllegalArgumentException: Input byte array has wrong 4-byte ending
unit
```
--
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]