Skip to content

issues Search Results · repo:tobymao/sqlglot language:Python

Filter by

2k results
 (99 ms)

2k results

intobymao/sqlglot (press backspace or delete to remove)

to repro: sqlglot.parse_one( CREATE TABLE test (field INT) WITH (FORMAT = PARQUET ) , dialect= presto ).sql(dialect= spark ) CREATE TABLE test (field INT) USING PARQUET the correct behavior should ...
  • cosinequanon
  • 1
  • Opened 
    9 hours ago
  • #5337

Description Thank you for your amazing work on SQLGlot! It’s been a fantastic tool for SQL parsing and transpiling. I’m reaching out to report an issue with parsing SQL statements containing the CHANGE ...
  • tuohai666
  • 1
  • Opened 
    15 hours ago
  • #5333

Hi, I encountered an issue that the comment is lost while parsing SQL with comments. Here’s a minimal example to illustrate the problem: import importlib.metadata import sqlglot package_name = sqlglot ...
  • chiiips
  • Opened 
    21 hours ago
  • #5326

Issue The package is unable to parse Format overrides in the Teradata dialect= teradata dialect. This issue has not been tested with write dialects, and appears to be present in the latest available ...
  • readjfb
  • 1
  • Opened 
    yesterday
  • #5325

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 issue still ...
  • ruiyang2015
  • 1
  • Opened 
    yesterday
  • #5324

to reproduce: - build a new virtualenv (I m using python 3.12.6 - pip install sqlglot - python - from sqlglot.dialects import Athena from sqlglot.dialects import Athena ^CTraceback (most ...
  • jc-5s
  • 1
  • Opened 
    yesterday
  • #5321

When calling parse_one on a query that selects from a CTE, the CTE name is incorrectly parsed as an exp.Table expression. This causes subsequent issues when passing the AST to qualify_tables, resulting ...
  • naamamaoz
  • Opened 
    yesterday
  • #5319

Environment | | | | --- | --- | | sqlglot version | latest | | Python | 3.12.8 (on macOS arm64) | | Read dialect | databricks (identical with spark) | | Write dialect | databricks | Fully reproducible ...
  • ankur334
  • Opened 
    yesterday
  • #5318

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 issue still ...
  • cosinequanon
  • 2
  • Opened 
    2 days ago
  • #5317

Getting an error when emitting SQL: File /usr/local/lib/python3.10/site-packages/sqlglot/expressions.py , line 614, in sql return Dialect.get_or_raise(dialect).generate(self, **opts) File /usr/local/lib/python3.10/site-packages/sqlglot/dialects/dialect.py ...
  • RedTailedHawk
  • 8
  • Opened 
    2 days ago
  • #5316
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub