Repository navigation
Releases
Releases · maltzsama/sqlglot-go
v0.43.0
0.43.0 (2026-11-28)
Features
- annotate: close the annotate_types.sql fixture gaps (a1ee48c)
- annotate: generate BigQuery, DuckDB and Snowflake typing metadata (845f381)
- dialect: add ksqlDB dialect (7ac67e3)
- dialect: add ksqlDB dialect (d2c255b)
- dialects: port the remaining Snowflake and MySQL function aliases (28429f3)
- duckdb: follow the real engines where upstream diverges (0871950)
- duckdb: parse table-first macro overloads structurally (91bfe2d)
- duckdb: port the remaining transpile transforms (eb4fe82)
- expressions: add Snowflake Strtok node (60b7772)
- expressions: add the PosexplodeOuter node (2470d10)
- expressions: model Snowflake approximate similarity (6c1d8d5)
- expressions: port the remaining function classes (814dc6e)
- expressions: register date trunc and starts-with functions (b89b32c)
- functions: map base functions that were falling back to Anonymous (74d5893)
- generator: duckdb ARRAY_INSERT via LIST_CONCAT slices (333d1d4)
- generator: duckdb GENERATE_DATE_ARRAY -> GENERATE_SERIES (8604a37)
- generator: duckdb LAST_DAY for week/quarter/year (838138a)
- generator: duckdb TIME_STR_TO_TIME cast (600c112)
- generator: eliminate DISTINCT ON for dialects without native support (fd7f4ed)
- generator: eliminate SEMI/ANTI joins for dialects without native support (f5b3986)
- generator: implicit datetime casts in duckdb DATE_DIFF (e64fb9b)
- generator: port ARRAY_CONCAT across dialects (32b0723)
- generator: port duckdb APPROX_QUANTILES (ee50199)
- generator: port duckdb ARRAY_REMOVE and map the base function name (38cb20f)
- generator: port duckdb date-string cast transforms (03610e3)
- generator: port NVL2, JSON_KEYS, and FETCH transforms (1a3da69)
- generator: port Postgres JSON extraction paths (8ef1ae0)
- generator: render the default LPAD/RPAD space fill (342f377)
- generator: render the ported function aliases (5603084)
- generator: transpile STR_POSITION position/occurrence (91e10f1)
- model MySQL charset introducers (a43408d)
- parser: build dialect-aware JSON arrow paths (30a0ab6)
- parser: build DuckDB CREATE MACRO overload lists (a37140d)
- parser: parse DuckDB historical table references (199f21b)
- parser: parse DuckDB recursive CTE keys (2fab3fd)
- parser: parse Snowflake secondary roles (b82137c)
- parser: support DuckDB list comprehensions (2dff56f)
- parser: support historical table references (0cb8956)
- snowflake: accept COPY without FROM and an empty SHOW scope (a395266)
- snowflake: close the remaining identity parse and generate gaps (e9f3380)
- snowflake: parse and generate SHOW statements (7c9996a)
- snowflake: parse directory stage sources (dc09b0e)
- snowflake: parse dynamic function identifiers (13e288f)
- snowflake: parse file transfer statements (c444faa)
- snowflake: parse staged file sources (525a671)
- snowflake: support model attribute access (69a7deb)
- snowflake: support semantic view sources (6258df6)
- snowflake: support table and column policies (27756c7)
- transpile: close ClickHouse set operation, Oracle and SQLite gaps (acffbdf)
- transpile: close Hive, Spark and Databricks interval gaps (c4dd60f)
- transpile: close more DuckDB function and property gaps (01369c0)
- transpile: close Snowflake target function gaps (3f1ec63)
- transpile: close the BigQuery and Postgres to Presto gaps (a071920)
- transpile: close the BigQuery to Snowflake gaps (ec98a59)
- transpile: close the last DuckDB gaps (484c755)
- transpile: close the Presto to Hive and Spark gaps (0f66fa4)
- transpile: drain DuckDB quoting, index and property gaps (d84ea17)
- transpile: drain DuckDB read-side and date clusters (32de49c)
- transpile: drain more of the Presto target cluster (b3a1ecf)
- transpile: drain the base target function gaps (4d3d55d)
- transpile: drain the base to Presto, MySQL and Hive tails (77eace4)
- transpile: drain the BigQuery target cluster (2101e35)
- transpile: drain the DuckDB read and filter clusters (b25de5d)...
v0.42.2
v0.42.1
v0.42.0
v0.41.1
v0.41.0
v0.40.0
v0.39.0
0.39.0 (2026-11-15)
⚠ BREAKING CHANGES
- rename module path to github.com/maltzsama/sqlglot-go
Features
- add the dialect flags and arg order simplify reads (b1f4db1)
- add the Spark 2, Spark and Databricks dialects (95a9725)
- bigquery: port the BigQuery dialect (112b692)
- bigquery: port the BigQuery dialect (8cbe3dc)
- clickhouse: port the ClickHouse dialect to 468/468 corpus parity (#5) (b81f5b0)
- databricks: add the Databricks dialect (4e92423)
- dialects: add Redshift, Materialize and RisingWave dialects (a04109b)
- dialects: add shared time-format and Postgres family infrastructure (4f257df)
- dialects: add the PROMOTE_TO_INFERRED_DATETIME_TYPE flag (e304298)
- dialects: add TSQL (SQL Server) support (782101f)
- dialects: add TSQL (SQL Server) support (d63eeb3), closes #118
- dialects: port the Materialize dialect (6b6ffb3)
- dialects: port the Redshift dialect (f5f06e6)
- dialects: port the RisingWave dialect (41a9024)
- dialects: register mariadb as an alias of mysql (1cd9c8b)
- dialects: register mariadb as an alias of mysql (4d42a2b), closes #17
- doris: port the Apache Doris dialect to 56/56 corpus parity (33dce2c)
- doris: port the Apache Doris dialect to 56/56 corpus parity (70f387e)
- dremio: port the Dremio dialect to 46/46 corpus parity (#63) (27cda27)
- duckdb: port the DuckDB dialect (71e9873)
- duckdb: port the DuckDB dialect (dcb5756)
- expressions: add the ArrayAll and ArrayAny function nodes (771eec9)
- expressions: add the lookups type annotation needs (b64e86f)
- expressions: add the Select.having builder (5ad2d13)
- expressions: add the Spark and Databricks expression node kinds (f667411)
- expressions: add the STRING function node (98ec771)
- expressions: annotate expressions with a type (3b5a2c3)
- expressions: port the function nodes annotate_types could not type (6848866)
- expressions: port the function nodes annotate_types could not type (4119c24)
- expressions: port the query builder API used by the optimizer (192ed34)
- mariadb: give MariaDB its own dialect identity and grammar (#62) (739a5e6)
- optimizer: complete simplify (d84576f)
- optimizer: complete simplify (4fe5c8f)
- optimizer: expand stars through PIVOT and UNPIVOT output columns (#59) (12bc235)
- optimizer: port annotate_types (c5310e3)
- optimizer: port annotate_types (3a6ed89)
- optimizer: port canonicalize (08eebdb)
- optimizer: port canonicalize (6b0e717)
- optimizer: port eliminate_ctes and the mutation journal (261bb94)
- optimizer: port eliminate_ctes, eliminate_subqueries and optimize_joins (ce01ccb)
- optimizer: port eliminate_joins (1644991)
- optimizer: port eliminate_subqueries (6ce763b)
- optimizer: port merge_subqueries (7ff7b7c)
- optimizer: port normalize (bb8710f)
- optimizer: port normalize and eliminate_joins (2bcbbdb)
- optimizer: port optimize (ebb5dd1)
- optimizer: port optimize and the default rule sequence (04e5ad6)
- optimizer: port optimize_joins (29af823)
- optimizer: port pushdown_predicates (168391e)
- optimizer: port pushdown_predicates and pushdown_projections (0695bdf)
- optimizer: port pushdown_projections (15c5db8)
- optimizer: port simplify's gen pseudo-generator (392ca35)
- optimizer: port the value semantics simplify folds constants with (ca09697)
- optimizer: port unnest_subqueries (cad44a0)
- optimizer: port unnest_subqueries and merge_subqueries (15654c4)
- optimizer: type PIVOT and UNPIVOT columns in annotate_types (dfb70e7)
- oracle: port the Oracle dialect to 249/249 corpus parity (857ecfd)
- oracle: port the Oracle dialect to 249/249 corpus parity (ebe49a7)
- rename module path to github.com/maltzsama/sqlglot-go (721b422)
- snowflake: port the Snowflake dialect (a4013a3)
- snowflake: port the Snowflake dialect (33b0fae)
- spark2: add the Spark 2 parser and generator ([29423bf](https://github.com/mal...