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
sql = """SELECT len('123')""" converted_sql = sqlglot.transpile(sql, read="redshift", write="trino")[0] print(converted_sql) SELECT LEN('123')
Trino error: Function 'len' not registered
Function 'len' not registered
a fix could be replace len function with length
len
length
The text was updated successfully, but these errors were encountered:
6168fbf
Fix: redshift len->length closes tobymao#1741
a2c2fc7
tobymao
No branches or pull requests
Trino error:
Function 'len' not registered
a fix could be replace
len
function withlength
The text was updated successfully, but these errors were encountered: