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
I'm attempting to transpile from Spark to DuckDB. Sqlglot doesn't seem to be recognising the spark functions "months_between" and "to_timestamp".
See example below (apologies for the image, I can't paste the code directly), neither of those functions gets transpiled:
"months_bewteen" should become "date_diff", and "to_timestamp" should become "strptime" in duckdb, see below:
Official Documentation spark: months_bewteen spark: to_timestamp duckdb: time functions
The text was updated successfully, but these errors were encountered:
Thanks for the report, I'll take a look
Sorry, something went wrong.
georgesittas
Successfully merging a pull request may close this issue.
I'm attempting to transpile from Spark to DuckDB. Sqlglot doesn't seem to be recognising the spark functions "months_between" and "to_timestamp".
See example below (apologies for the image, I can't paste the code directly), neither of those functions gets transpiled:
"months_bewteen" should become "date_diff", and
"to_timestamp" should become "strptime" in duckdb, see below:
Official Documentation
spark: months_bewteen
spark: to_timestamp
duckdb: time functions
The text was updated successfully, but these errors were encountered: