We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Fully reproducible code snippet
>>> sql = "SELECT APPROX_PERCENTILE(a,1, 0.5, 0.001) from t" >>> select = sqlglot.parse_one(sql, "trino") >>> select.sql("snowflake") 'SELECT APPROX_QUANTILE(a, 0.5, 0.001, 1) FROM t'
It should be translated to APPROX_PERCENTILE
APPROX_PERCENTILE
Official Documentation https://docs.snowflake.com/en/sql-reference/functions/approx_percentile
The text was updated successfully, but these errors were encountered:
VaggelisD
Successfully merging a pull request may close this issue.
Fully reproducible code snippet
It should be translated to
APPROX_PERCENTILE
Official Documentation
https://docs.snowflake.com/en/sql-reference/functions/approx_percentile
The text was updated successfully, but these errors were encountered: