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

Trino translation of 'to_base64' #1567

Closed
joshmarcus opened this issue May 8, 2023 · 0 comments
Closed

Trino translation of 'to_base64' #1567

joshmarcus opened this issue May 8, 2023 · 0 comments
Assignees

Comments

@joshmarcus
Copy link

In Trino, from_base64 Decodes binary data from the base64 encoded string -- https://trino.io/docs/current/functions/binary.html
In SparkSQL, the equivalent function is unbase64.

Currently, the function is passed through (read='trino', write='spark').

@tobymao tobymao self-assigned this May 8, 2023
@tobymao tobymao closed this as completed in 9f13b6c May 8, 2023
adrianisk pushed a commit to adrianisk/sqlglot that referenced this issue Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants