sqlglot icon indicating copy to clipboard operation
sqlglot copied to clipboard

Python SQL Parser and Transpiler

Results 37 sqlglot issues
Sort by recently updated
recently updated
newest added

References: * https://clickhouse.com/docs/en/sql-reference/functions/date-time-functions#date_trunc * https://clickhouse.com/docs/en/sql-reference/aggregate-functions/reference/varsamp * https://clickhouse.com/docs/en/sql-reference/aggregate-functions/reference/stddevsamp

**Before you file an issue** - Make sure you specify the "read" dialect eg. `parse_one(sql, read="spark")` - Make sure you specify the "write" dialect eg. `ast.sql(dialect="duckdb")` - Check if the...

**Before you file an issue** - Make sure you specify the "read" dialect eg. `parse_one(sql, read="spark")` - Make sure you specify the "write" dialect eg. `ast.sql(dialect="duckdb")` - Check if the...

**Before you file an issue** - Make sure you specify the "read" dialect eg. `parse_one(sql, read="spark")` - Make sure you specify the "write" dialect eg. `ast.sql(dialect="duckdb")` - Check if the...

**Before you file an issue** - Make sure you specify the "read" dialect eg. `parse_one(sql, read="spark")` - Make sure you specify the "write" dialect eg. `ast.sql(dialect="duckdb")` - Check if the...

Hi expert, I got a ParseError: ``` File "C:\Project\AIProjectLangfuse\.venv\Lib\site-packages\sqlglot\parser.py", line 1312, in raise_error raise error sqlglot.errors.ParseError: The number of provided arguments (10) is greater than the maximum number of supported...

Fixes #3484 BigQuery supports star expansion such as `foo.bar.*` where `foo` is the table and `bar` is a struct. This is essentially a _flatten_ operation from the specified struct and...

**Before you file an issue** - Make sure you specify the "read" dialect eg. `parse_one(sql, read="spark")`: **snowflake** - Make sure you specify the "write" dialect eg. `ast.sql(dialect="duckdb")`: **snowflake** - Check...

**Before you file an issue** - Make sure you specify the "read" dialect eg. `parse_one(sql, read="spark")`: **snowflake** - Make sure you specify the "write" dialect eg. `ast.sql(dialect="duckdb")`: **snowflake** - Check...