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

Bug when transpiling any_value to Spark and Presto. #2053

Closed
edwinlei opened this issue Aug 14, 2023 · 0 comments
Closed

Bug when transpiling any_value to Spark and Presto. #2053

edwinlei opened this issue Aug 14, 2023 · 0 comments
Assignees

Comments

@edwinlei
Copy link

Fully reproducible code snippet
sqlglot.parse_one("select any_value(c1)").sql(dialect="presto") returns

SELECT ANY_VALUE(c1)

instead of

SELECT ARBITRARY(c1)

Similarly sqlglot.parse_one("select any_value(c1)").sql(dialect="spark") returns

SELECT ANY_VALUE(c1)

instead of

SELECT FIRST(c1)
@tobymao tobymao self-assigned this Aug 14, 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

3 participants