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
v18.5.0 , bigquery → mysql
sqlglot.transpile("SELECT TIMESTAMP_ADD('2018-05-01', INTERVAL 1 DAY)", read='bigquery', write='mysql')[0] sqlglot.transpile("SELECT TIMESTAMP_SUB('2018-05-01', INTERVAL 1 DAY)", read='bigquery', write='mysql')[0]
"SELECT DATE_ADD('2018-05-01', INTERVAL 1 DAY)" "SELECT DATE_SUB('2018-05-01', INTERVAL 1 DAY)"
"SELECT TIMESTAMP_ADD('2018-05-01', 1, DAY)" "SELECT TIMESTAMP_SUB('2018-05-01', 1, DAY)"
The text was updated successfully, but these errors were encountered:
b3c97de
No branches or pull requests
Input
Expected output
Actual output
Official Documentation
The text was updated successfully, but these errors were encountered: