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
import sqlglot sqlglot.transpile("CREATE TABLE t2 LIKE t1", read="snowflake", write="duckdb")
Official Documentation https://duckdb.org/docs/sql/statements/create_table.html
While DuckDB does not support the LIKE property, but the same can be expressed with:
CREATE TABLE t2 AS FROM t1 LIMIT 0;
The text was updated successfully, but these errors were encountered:
Thanks, will take a look shortly.
Sorry, something went wrong.
georgesittas
Successfully merging a pull request may close this issue.
Fully reproducible code snippet
Official Documentation
https://duckdb.org/docs/sql/statements/create_table.html
While DuckDB does not support the LIKE property, but the same can be expressed with:
The text was updated successfully, but these errors were encountered: