Skip to content

Latest commit

 

History

History
2258 lines (1691 loc) · 250 KB

CHANGELOG.md

File metadata and controls

2258 lines (1691 loc) · 250 KB

Changelog

v20.2.0 - 2023-12-14

🐛 Bug Fixes

♻️ Refactors

  • 2383003 - add is_connected helper to see if tokens have no white space (commit by @tobymao)

v20.1.0 - 2023-12-07

💥 BREAKING CHANGES

  • due to 96f9b0e - make generation of CONCAT less verbose (PR #2639 by @georgesittas):

    make generation of CONCAT less verbose (#2639)

✨ New Features

🐛 Bug Fixes

v20.0.0 - 2023-12-07

💥 BREAKING CHANGES

  • due to be89da3 - introduce Dialect settings, make MySQL case-sensitive by default (PR #2627 by @georgesittas):

    introduce Dialect settings, make MySQL case-sensitive by default (#2627)

  • due to 4d68e39 - remove redundant todate closes #2636 (commit by @tobymao):

    remove redundant todate closes #2636

  • due to 1e387f6 - parse functions with positional args in exp.func (PR #2622 by @georgesittas):

    parse functions with positional args in exp.func (#2622)

  • due to ee2e7f0 - snowflake column transform constraints closes #2634 (commit by @tobymao):

    snowflake column transform constraints closes #2634

  • due to 656d54c - make lineage html more reusable (commit by @tobymao):

    make lineage html more reusable

✨ New Features

🐛 Bug Fixes

♻️ Refactors

🔧 Chores

v19.9.0 - 2023-12-05

💥 BREAKING CHANGES

  • due to 6e71c34 - remove safe versions and use a flag instead (PR #2629 by @tobymao):

    remove safe versions and use a flag instead (#2629)

🐛 Bug Fixes

♻️ Refactors

v19.8.3 - 2023-12-04

✨ New Features

🐛 Bug Fixes

🔧 Chores

v19.8.2 - 2023-12-01

🐛 Bug Fixes

v19.8.1 - 2023-12-01

🐛 Bug Fixes

v19.8.0 - 2023-12-01

💥 BREAKING CHANGES

  • due to b5f690b - add timestamp functions to BQ and DuckDB closes #2611 (PR #2612 by @j1ah0ng):

    add timestamp functions to BQ and DuckDB closes #2611 (#2612)

  • due to 019e0e5 - qualify columns added in explode to unnest transformation (PR #2615 by @georgesittas):

    qualify columns added in explode to unnest transformation (#2615)

✨ New Features

🐛 Bug Fixes

🔧 Chores

v19.7.0 - 2023-11-28

💥 BREAKING CHANGES

  • due to 8cd7d1c - use more canonical cast instead of to_date (commit by @tobymao):

    use more canonical cast instead of to_date

  • due to c413b7f - expand positional args in order by as aliases (PR #2599 by @tobymao):

    expand positional args in order by as aliases (#2599)

  • due to 13817f1 - avoid unnecessary copying in normalization (PR #2602 by @tobymao):

    avoid unnecessary copying in normalization (#2602)

✨ New Features

🐛 Bug Fixes

♻️ Refactors

v19.6.0 - 2023-11-20

🐛 Bug Fixes

🔧 Chores

v19.5.1 - 2023-11-16

🐛 Bug Fixes

v19.5.0 - 2023-11-16

💥 BREAKING CHANGES

  • due to 96d514c - get rid of SetAgg to use ArrayUniqueAgg for consistency (PR #2566 by @georgesittas):

    get rid of SetAgg to use ArrayUniqueAgg for consistency (#2566)

✨ New Features

🐛 Bug Fixes

♻️ Refactors

v19.4.0 - 2023-11-14

💥 BREAKING CHANGES

  • due to 5034d92 - transpile NULLS FIRST/LAST to dialects that dont support it (PR #2554 by @georgesittas):

    transpile NULLS FIRST/LAST to dialects that dont support it (#2554)

✨ New Features

🐛 Bug Fixes

v19.3.1 - 2023-11-10

🐛 Bug Fixes

v19.3.0 - 2023-11-10

✨ New Features

🐛 Bug Fixes

v19.2.0 - 2023-11-10

💥 BREAKING CHANGES

  • due to 9f42b6b - disallow nested CTEs for Spark and Databricks (PR #2544 by @georgesittas):

    disallow nested CTEs for Spark and Databricks (#2544)

✨ New Features

🐛 Bug Fixes

v19.1.3 - 2023-11-09

✨ New Features

🐛 Bug Fixes

v19.1.2 - 2023-11-09

✨ New Features

🐛 Bug Fixes

v19.1.1 - 2023-11-08

🐛 Bug Fixes

v19.1.0 - 2023-11-08

💥 BREAKING CHANGES

✨ New Features

🐛 Bug Fixes

🔧 Chores

v19.0.3 - 2023-11-02

🐛 Bug Fixes

🔧 Chores

v19.0.2 - 2023-11-01

✨ New Features

🐛 Bug Fixes

🔧 Chores

v19.0.1 - 2023-10-31

✨ New Features

🐛 Bug Fixes

v19.0.0 - 2023-10-30

💥 BREAKING CHANGES

  • due to 7a6da28 - generator now always copies, making transforms much simpler (PR #2477 by @tobymao):

    generator now always copies, making transforms much simpler (#2477)

✨ New Features

🐛 Bug Fixes

♻️ Refactors

v18.17.0 - 2023-10-25

💥 BREAKING CHANGES

  • due to c8e87b6 - unnabreviate units, e.g. ms to millisecond (PR #2451 by @GeorgeSittas):

    unnabreviate units, e.g. ms to millisecond (#2451)

✨ New Features

🐛 Bug Fixes

🔧 Chores

v18.16.1 - 2023-10-21

✨ New Features

🐛 Bug Fixes

v18.16.0 - 2023-10-21

🐛 Bug Fixes

v18.15.1 - 2023-10-19

✨ New Features

🐛 Bug Fixes

🔧 Chores

v18.15.0 - 2023-10-17

🐛 Bug Fixes

v18.14.0 - 2023-10-17

🐛 Bug Fixes

v18.13.0 - 2023-10-13

✨ New Features

🐛 Bug Fixes

♻️ Refactors

🔧 Chores

v18.12.0 - 2023-10-10

💥 BREAKING CHANGES

  • due to 28308da - support spark trycast, treat databricks as strict_cast closes #2389 (commit by @tobymao):

    support spark trycast, treat databricks as strict_cast closes #2389

  • due to c7c3869 - add explode outer and change hiearchy are explosions closes #2393 (commit by @tobymao):

    add explode outer and change hiearchy are explosions closes #2393

✨ New Features

🐛 Bug Fixes

v18.11.6 - 2023-10-06

🐛 Bug Fixes

  • ef12aa7 - normalize_identifiers parses identifier strings (commit by @tobymao)

v18.11.5 - 2023-10-06

✨ New Features

🐛 Bug Fixes

v18.11.4 - 2023-10-05

✨ New Features

🐛 Bug Fixes

v18.11.3 - 2023-10-04

✨ New Features

🐛 Bug Fixes

  • 6a65a09 - postgres: translate variance_pop to var_pop and variance to var_samp (PR #2371 by @cpcloud)

v18.11.2 - 2023-10-03

🐛 Bug Fixes

v18.11.1 - 2023-10-03

🐛 Bug Fixes

v18.11.0 - 2023-10-03

✨ New Features

🐛 Bug Fixes

v18.10.1 - 2023-09-29

✨ New Features

🐛 Bug Fixes

v18.10.0 - 2023-09-29

✨ New Features

🐛 Bug Fixes

v18.9.0 - 2023-09-28

💥 BREAKING CHANGES

  • due to f0e5eb6 - revert escape sequence changes introduced in #2230 (PR #2336 by @GeorgeSittas):

    revert escape sequence changes introduced in #2230 (#2336)

✨ New Features

🐛 Bug Fixes

v18.8.0 - 2023-09-26

💥 BREAKING CHANGES

  • due to 66d7385 - store expressions in Offset.expression when using builder fixes #2312 (commit by @GeorgeSittas):

    store expressions in Offset.expression when using builder fixes #2312

  • due to cdcc564 - make ObjectIdentifier, IntervalSpan and PseudoType DataTypes (PR #2315 by @GeorgeSittas):

    make ObjectIdentifier, IntervalSpan and PseudoType DataTypes (#2315)

  • due to ebdfc59 - add support for heredoc strings (Postgres, ClickHouse) (PR #2328 by @GeorgeSittas):

    add support for heredoc strings (Postgres, ClickHouse) (#2328)

✨ New Features

🐛 Bug Fixes

🔧 Chores

v18.7.0 - 2023-09-22

✨ New Features

🐛 Bug Fixes

v18.6.0 - 2023-09-21

💥 BREAKING CHANGES

  • due to 8100311 - explode to unnest with multiple explosions (PR #2235 by @tobymao):

    explode to unnest with multiple explosions (#2235)

  • due to ff19f4c - don't parse SEMI, ANTI as table aliases, fix join side issue (PR #2247 by @GeorgeSittas):

    don't parse SEMI, ANTI as table aliases, fix join side issue (#2247)

  • due to 8ebbfe2 - store expressions in Limit.expression when using builder (PR #2249 by @GeorgeSittas):

    store expressions in Limit.expression when using builder (#2249)

  • due to 4badd91 - preserve ascending order of sorting when present (PR #2256 by @GeorgeSittas):

    preserve ascending order of sorting when present (#2256)

  • due to e90312a - improve transpilation of T-SQL's SET assignment command (PR #2275 by @GeorgeSittas):

    improve transpilation of T-SQL's SET assignment command (#2275)

✨ New Features

🐛 Bug Fixes

🔧 Chores

v18.5.1 - 2023-09-15

✨ New Features

🐛 Bug Fixes

v18.5.0 - 2023-09-13

✨ New Features

🐛 Bug Fixes

v18.4.1 - 2023-09-12

💥 BREAKING CHANGES

  • due to f85b535 - parse schema UDTs into DataTypes instead of identifiers (PR #2201 by @GeorgeSittas):

    parse schema UDTs into DataTypes instead of identifiers (#2201)

🐛 Bug Fixes

v18.4.0 - 2023-09-12

✨ New Features

🐛 Bug Fixes

♻️ Refactors

🔧 Chores

v18.3.0 - 2023-09-07

💥 BREAKING CHANGES

  • due to 3fc2eb5 - improve support for interval spans like HOUR TO SECOND (PR #2167 by @GeorgeSittas):

    improve support for interval spans like HOUR TO SECOND (#2167)

  • due to 93b7ba2 - MySQL Timestamp Data Types (PR #2173 by @eakmanrq):

    MySQL Timestamp Data Types (#2173)

✨ New Features

🐛 Bug Fixes

🔧 Chores

v18.2.0 - 2023-09-05

✨ New Features

🐛 Bug Fixes

🔧 Chores

v18.1.0 - 2023-09-01

💥 BREAKING CHANGES

  • due to f3fee3a - iceberg version/timestamp snapshots, bigquery, refactor tsql closes #2128 (commit by @tobymao):

    iceberg version/timestamp snapshots, bigquery, refactor tsql closes #2128

✨ New Features

  • f3fee3a - iceberg version/timestamp snapshots, bigquery, refactor tsql closes #2128 (commit by @tobymao)
  • 30e3e2f - add support for transpiling some datetime functions from bq to databricks (PR #2142 by @fireis)

🐛 Bug Fixes

v18.0.1 - 2023-08-30

✨ New Features

🐛 Bug Fixes

v18.0.0 - 2023-08-29

🐛 Bug Fixes

v17.16.2 - 2023-08-28

✨ New Features

🐛 Bug Fixes

v17.16.1 - 2023-08-26

✨ New Features

🐛 Bug Fixes

v17.16.0 - 2023-08-26

✨ New Features

🐛 Bug Fixes

v17.15.1 - 2023-08-24

✨ New Features

🐛 Bug Fixes

v17.15.0 - 2023-08-22

💥 BREAKING CHANGES

  • due to 1da653f - Have Spark put CTE at front of insert (PR #2086 by @eakmanrq):

    Have Spark put CTE at front of insert (#2086)

  • due to edb9a96 - rename DataTypeSize -> DataTypeParam (PR #2097 by @GeorgeSittas):

    rename DataTypeSize -> DataTypeParam (#2097)

  • due to 28a0e20 - add support for casting to user defined types (PR #2096 by @GeorgeSittas):

    add support for casting to user defined types (#2096)

  • due to 075849f - allow types to be identifiers closes #2102 (commit by @tobymao):

    allow types to be identifiers closes #2102

✨ New Features

🐛 Bug Fixes

♻️ Refactors

🔧 Chores

v17.14.2 - 2023-08-15

✨ New Features

🐛 Bug Fixes

v17.14.1 - 2023-08-15

🐛 Bug Fixes

v17.14.0 - 2023-08-14

💥 BREAKING CHANGES

  • due to 2e73a4f - dict conversion had incorrect ast (commit by @tobymao):

    dict conversion had incorrect ast

🐛 Bug Fixes

v17.13.0 - 2023-08-14

✨ New Features

🐛 Bug Fixes

v17.12.0 - 2023-08-11

✨ New Features

🐛 Bug Fixes

♻️ Refactors

🔧 Chores

v17.10.2 - 2023-08-09

✨ New Features

🐛 Bug Fixes

v17.10.1 - 2023-08-08

🐛 Bug Fixes

v17.10.0 - 2023-08-07

✨ New Features

🐛 Bug Fixes

v17.9.1 - 2023-08-03

✨ New Features

🐛 Bug Fixes

v17.9.0 - 2023-08-01

✨ New Features

🐛 Bug Fixes

♻️ Refactors

🔧 Chores

v17.8.5 - 2023-07-28

✨ New Features

🐛 Bug Fixes

v17.8.4 - 2023-07-28

✨ New Features

🐛 Bug Fixes

🔧 Chores

v17.8.3 - 2023-07-27

🐛 Bug Fixes

  • 75b418c - mysql: generate DATETIME instead of TIMESTAMP for TimeStrToTime (commit by @GeorgeSittas)

v17.8.2 - 2023-07-27

✨ New Features

🐛 Bug Fixes

v17.8.1 - 2023-07-27

✨ New Features

🐛 Bug Fixes

🔧 Chores

v17.8.0 - 2023-07-24

✨ New Features

🐛 Bug Fixes

v17.7.0 - 2023-07-23

💥 BREAKING CHANGES

  • due to 2aa62d1 - mysql 5 does not support select * from values (commit by @tobymao):

    mysql 5 does not support select * from values

✨ New Features

🐛 Bug Fixes

v17.6.1 - 2023-07-21

✨ New Features

🐛 Bug Fixes

v17.6.0 - 2023-07-19

✨ New Features

v17.5.0 - 2023-07-18

✨ New Features

🐛 Bug Fixes

♻️ Refactors

v17.4.1 - 2023-07-11

🐛 Bug Fixes

v17.4.0 - 2023-07-11

💥 BREAKING CHANGES

  • due to c511278 - table_name force quotes if unsafe identifiers (commit by @tobymao):

    table_name force quotes if unsafe identifiers

✨ New Features

🐛 Bug Fixes

♻️ Refactors

v17.3.0 - 2023-07-07

✨ New Features

🐛 Bug Fixes

🔧 Chores

  • 5cf9304 - optimizer: add more tests, improve titles in qualify_tables.sql (commit by @GeorgeSittas)

v17.2.0 - 2023-07-06

🐛 Bug Fixes

v17.1.0 - 2023-07-04

✨ New Features

🐛 Bug Fixes

v17.0.0 - 2023-07-04

💥 BREAKING CHANGES

  • due to df4448d - use a dictionary for query modifier search (commit by @tobymao):

    use a dictionary for query modifier search

  • due to f747260 - hashable args is now more efficient and identifiers no longer accomodate case insensitivity because that is dialect specific (commit by @tobymao):

    hashable args is now more efficient and identifiers no longer accomodate case insensitivity because that is dialect specific

✨ New Features

🐛 Bug Fixes

♻️ Refactors

  • df4448d - use a dictionary for query modifier search (commit by @tobymao)
  • f747260 - hashable args is now more efficient and identifiers no longer accomodate case insensitivity because that is dialect specific (commit by @tobymao)
  • f621e85 - remove unused line, no tests fail (commit by @tobymao)
  • 0114b6d - change to lambda that returns tuple (commit by @tobymao)

v16.8.1 - 2023-06-30

🐛 Bug Fixes

v16.8.0 - 2023-06-30

💥 BREAKING CHANGES

  • due to fcf7dd0 - big query single quotes does not support line breaks (commit by @tobymao):

    big query single quotes does not support line breaks

✨ New Features

🐛 Bug Fixes

♻️ Refactors

  • d8eeda2 - move group by finalizer to simplify because that is who cares (commit by @tobymao)

v16.7.7 - 2023-06-30

🐛 Bug Fixes

v16.7.6 - 2023-06-30

🐛 Bug Fixes

  • 9919e62 - make bigquery unnest unalias more comprehensive (commit by @tobymao)

♻️ Refactors

v16.7.4 - 2023-06-29

✨ New Features

🐛 Bug Fixes

♻️ Refactors

🔧 Chores

v16.7.2 - 2023-06-28

🐛 Bug Fixes

  • eaed790 - workaround bigquery grouped alias with order (commit by @tobymao)

v16.7.1 - 2023-06-28

✨ New Features

🔧 Chores

  • 898f1a2 - add test case for bigquery table normalization (commit by @tobymao)

v16.7.0 - 2023-06-28

💥 BREAKING CHANGES

  • due to d72caf4 - bigquery udfs are case sensitive (commit by @tobymao):

    bigquery udfs are case sensitive

🐛 Bug Fixes

v16.6.0 - 2023-06-27

💥 BREAKING CHANGES

  • due to 71818f9 - bigquery normalize dot tables and aliases (commit by @tobymao):

    bigquery normalize dot tables and aliases

🐛 Bug Fixes

v16.5.0 - 2023-06-27

💥 BREAKING CHANGES

  • due to 451dad2 - use alias for order by after group by closes #1822 (commit by @tobymao):

    use alias for order by after group by closes #1822

  • due to 9de9667 - group by having closes #1831 (commit by @tobymao):

    group by having closes #1831

✨ New Features

🐛 Bug Fixes

🔧 Chores

v16.4.2 - 2023-06-23

✨ New Features

v16.4.1 - 2023-06-23

✨ New Features

🐛 Bug Fixes

v16.4.0 - 2023-06-21

💥 BREAKING CHANGES

  • due to 1db023f - simplify mypy type hints for parse_one (PR #1797 by @GeorgeSittas):

    simplify mypy type hints for parse_one (#1797)

✨ New Features

🐛 Bug Fixes

♻️ Refactors

🔧 Chores

v16.3.1 - 2023-06-16

🐛 Bug Fixes

v16.3.0 - 2023-06-16

💥 BREAKING CHANGES

  • due to 038afc9 - switch presto tsords to cast timestamp -> date (commit by @tobymao):

    switch presto tsords to cast timestamp -> date

  • due to 4084ba3 - move normalization logic in Dialect, update case-sensitivity info (PR #1784 by @GeorgeSittas):

    move normalization logic in Dialect, update case-sensitivity info (#1784)

✨ New Features

🐛 Bug Fixes

♻️ Refactors

v16.2.1 - 2023-06-16

💥 BREAKING CHANGES

  • due to 88249b8 - cyclic joins in the optimizer (PR #1786 by @tobymao):

    cyclic joins in the optimizer (#1786)

🐛 Bug Fixes

🔧 Chores

v16.2.0 - 2023-06-15

🐛 Bug Fixes

🔧 Chores

v16.1.4 - 2023-06-15

🐛 Bug Fixes

v16.1.3 - 2023-06-15

✨ New Features

🐛 Bug Fixes

v16.1.1 - 2023-06-15

🐛 Bug Fixes

♻️ Refactors

v16.1.0 - 2023-06-13

✨ New Features

🐛 Bug Fixes

♻️ Refactors

v16.0.0 - 2023-06-12

💥 BREAKING CHANGES

  • due to e00647a - output name for parens (commit by @tobymao):

    output name for parens

  • due to 2dd8cba - misc. improvements in formatting, type hints, dialect class variables (PR #1750 by @GeorgeSittas):

    misc. improvements in formatting, type hints, dialect class variables (#1750)

  • due to a233afa - bigquery cast date format closes #1753 (commit by @tobymao):

    bigquery cast date format closes #1753

✨ New Features

🐛 Bug Fixes

♻️ Refactors

🔧 Chores

v15.2.0 - 2023-06-09

💥 BREAKING CHANGES

  • due to c6a540c - store type dump so it is not reparsed (commit by @tobymao):

    store type dump so it is not reparsed

✨ New Features

🐛 Bug Fixes

🔧 Chores

v15.1.0 - 2023-06-07

💥 BREAKING CHANGES

  • due to 6ad00ca - convert left and right closes #1733 (commit by @tobymao):

    convert left and right closes #1733

✨ New Features

🐛 Bug Fixes

🔧 Chores

v15.0.0 - 2023-06-02

✨ New Features

🐛 Bug Fixes

♻️ Refactors

🔧 Chores

v14.1.1 - 2023-05-26

🐛 Bug Fixes

🔧 Chores

v14.1.0 - 2023-05-26

💥 BREAKING CHANGES

🐛 Bug Fixes

🔧 Chores

v14.0.0 - 2023-05-24

💥 BREAKING CHANGES

  • due to 267ea8f - cleanup unnecessary tokens (PR #1688 by @tobymao):

    cleanup unnecessary tokens (#1688)

  • due to e995ab0 - use maybe_parse in exp.to_table, fix exp.Table expression parser (PR #1684 by @GeorgeSittas):

    use maybe_parse in exp.to_table, fix exp.Table expression parser (#1684)

✨ New Features

🐛 Bug Fixes

🔧 Chores

v13.3.1 - 2023-05-23

✨ New Features

🐛 Bug Fixes

v13.3.0 - 2023-05-19

💥 BREAKING CHANGES

  • due to 8c9e5ec - multi threading issues with simplify (commit by @tobymao):

    multi threading issues with simplify

🐛 Bug Fixes

v13.2.2 - 2023-05-19

🐛 Bug Fixes

v13.2.1 - 2023-05-19

✨ New Features

🐛 Bug Fixes

🔧 Chores

v13.2.0 - 2023-05-18

🔧 Chores

v13.1.0 - 2023-05-18

✨ New Features

🐛 Bug Fixes

🔧 Chores

v13.0.2 - 2023-05-16

✨ New Features

🐛 Bug Fixes

♻️ Refactors

v13.0.1 - 2023-05-16

✨ New Features

🐛 Bug Fixes

v13.0.0 - 2023-05-15

✨ New Features

🐛 Bug Fixes

v12.4.0 - 2023-05-12

✨ New Features

🐛 Bug Fixes

v12.2.0 - 2023-05-09

✨ New Features

🐛 Bug Fixes

♻️ Refactors

🔧 Chores

v12.1.0 - 2023-05-05

🐛 Bug Fixes

🔧 Chores

v12.0.0 - 2023-05-04

✨ New Features

🐛 Bug Fixes

🔧 Chores

v11.7.0 - 2023-05-02

✨ New Features

🐛 Bug Fixes

🔧 Chores

  • d5d360a - Remove older CHANGELOG entries and let CI handle it from now on (commit by @GeorgeSittas)

v11.6.3 - 2023-05-01

✨ New Features

🐛 Bug Fixes

🔧 Chores