Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from_base64url: Presto throws while Velox outputs #12562

Open
peterenescu opened this issue Mar 6, 2025 · 0 comments
Open

from_base64url: Presto throws while Velox outputs #12562

peterenescu opened this issue Mar 6, 2025 · 0 comments
Labels
bug Something isn't working fuzzer-found

Comments

@peterenescu
Copy link
Contributor

peterenescu commented Mar 6, 2025

Description

Presto throws error while Velox outputs for function from_base64url

Error Reproduction

presto:tpch> SELECT from_base64url(to_base64(c0)) from (values (varbinary 'NwqPC$WJ`|b:M]0yc/EH@SaH)C*eRfoEPzC>!/>A?HTFz8$Iql}>bHL6]nU)!K":-%Kb}<\:@o+fCa~%e') ) t(c0);
Query 20250306_013248_83699_r9r5x failed: Illegal base64 character 2b
presto:di> SELECT from_base64url(to_base64(c0)) from (values (varbinary 'NwqPC$WJ`|b:M]0yc/EH@SaH)C*eRfoEPzC>!/>A?HTFz8$Iql}>bHL6]nU)!K":-%Kb}<\:@o+fCa~%e') ) t(c0);
                      _col0                      
-------------------------------------------------
 4e 77 71 50 43 24 57 4a 60 7c 62 3a 4d 5d 30 79 
 63 2f 45 48 40 53 61 48 29 43 2a 65 52 66 6f 45 
 50 7a 43 3e 21 2f 3e 41 3f 48 54 46 7a 38 24 49 
 71 6c 7d 3e 62 48 4c 36 5d 6e 55 29 21 4b 22 3a 
 2d 25 4b 62 7d 3c 5c 3a 40 6f 2b 66 43 61 7e 25 
 65                                             
@peterenescu peterenescu added bug Something isn't working fuzzer-found labels Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fuzzer-found
Projects
None yet
Development

No branches or pull requests

1 participant