sqlglot 27.29.0__tar.gz → 28.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. {sqlglot-27.29.0 → sqlglot-28.1.0}/CHANGELOG.md +404 -0
  2. {sqlglot-27.29.0 → sqlglot-28.1.0}/PKG-INFO +2 -2
  3. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/_version.py +3 -3
  4. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/bigquery.py +43 -292
  5. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/clickhouse.py +62 -2
  6. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/dialect.py +247 -270
  7. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/dremio.py +4 -1
  8. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/duckdb.py +324 -21
  9. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/exasol.py +140 -4
  10. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/hive.py +8 -8
  11. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/mysql.py +8 -2
  12. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/oracle.py +31 -0
  13. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/postgres.py +42 -24
  14. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/presto.py +22 -16
  15. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/redshift.py +7 -0
  16. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/risingwave.py +3 -0
  17. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/singlestore.py +1 -1
  18. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/snowflake.py +47 -230
  19. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/spark.py +2 -2
  20. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/spark2.py +11 -48
  21. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/sqlite.py +9 -0
  22. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/teradata.py +5 -8
  23. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/trino.py +6 -0
  24. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/tsql.py +60 -25
  25. sqlglot-28.1.0/sqlglot/errors.py +162 -0
  26. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/expressions.py +261 -72
  27. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/generator.py +125 -38
  28. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/helper.py +2 -2
  29. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/lineage.py +1 -1
  30. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/annotate_types.py +121 -86
  31. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/canonicalize.py +6 -1
  32. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/eliminate_joins.py +1 -1
  33. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/eliminate_subqueries.py +2 -2
  34. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/merge_subqueries.py +5 -5
  35. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/normalize.py +20 -13
  36. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/normalize_identifiers.py +17 -3
  37. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/optimizer.py +4 -0
  38. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/pushdown_predicates.py +1 -1
  39. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/qualify.py +14 -6
  40. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/qualify_columns.py +113 -352
  41. sqlglot-28.1.0/sqlglot/optimizer/qualify_tables.py +214 -0
  42. sqlglot-28.1.0/sqlglot/optimizer/resolver.py +301 -0
  43. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/scope.py +24 -14
  44. sqlglot-28.1.0/sqlglot/optimizer/simplify.py +1711 -0
  45. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/unnest_subqueries.py +12 -2
  46. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/parser.py +220 -114
  47. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/planner.py +2 -2
  48. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/schema.py +15 -4
  49. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/tokens.py +16 -6
  50. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/transforms.py +74 -18
  51. sqlglot-28.1.0/sqlglot/typing/__init__.py +312 -0
  52. sqlglot-28.1.0/sqlglot/typing/bigquery.py +322 -0
  53. sqlglot-28.1.0/sqlglot/typing/hive.py +12 -0
  54. sqlglot-28.1.0/sqlglot/typing/presto.py +24 -0
  55. sqlglot-28.1.0/sqlglot/typing/snowflake.py +412 -0
  56. sqlglot-28.1.0/sqlglot/typing/spark2.py +58 -0
  57. sqlglot-28.1.0/sqlglot/typing/tsql.py +9 -0
  58. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot.egg-info/PKG-INFO +2 -2
  59. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot.egg-info/SOURCES.txt +9 -0
  60. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot.egg-info/requires.txt +1 -1
  61. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/Cargo.lock +1 -1
  62. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/Cargo.toml +1 -1
  63. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/src/tokenizer.rs +2 -10
  64. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_bigquery.py +488 -38
  65. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_clickhouse.py +74 -6
  66. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_databricks.py +7 -0
  67. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_dialect.py +256 -8
  68. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_duckdb.py +130 -17
  69. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_exasol.py +120 -16
  70. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_hive.py +7 -3
  71. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_mysql.py +27 -11
  72. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_oracle.py +22 -0
  73. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_presto.py +8 -0
  74. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_redshift.py +12 -3
  75. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_singlestore.py +1 -1
  76. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_snowflake.py +165 -13
  77. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_spark.py +5 -0
  78. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_sqlite.py +22 -0
  79. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_trino.py +1 -0
  80. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_tsql.py +105 -99
  81. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/identity.sql +6 -8
  82. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/annotate_functions.sql +793 -0
  83. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/normalize.sql +1 -1
  84. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/optimizer.sql +64 -64
  85. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/pushdown_projections.sql +20 -17
  86. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/qualify_columns.sql +49 -40
  87. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/qualify_columns__with_invisible.sql +4 -4
  88. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/qualify_columns_ddl.sql +3 -3
  89. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/qualify_tables.sql +80 -14
  90. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/simplify.sql +91 -31
  91. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/tpc-ds.sql +11 -11
  92. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/unnest_subqueries.sql +16 -0
  93. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_build.py +1 -1
  94. sqlglot-28.1.0/tests/test_errors.py +143 -0
  95. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_expressions.py +15 -9
  96. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_lineage.py +6 -6
  97. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_optimizer.py +225 -18
  98. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_parser.py +26 -22
  99. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_transforms.py +95 -1
  100. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_transpile.py +1 -1
  101. sqlglot-27.29.0/sqlglot/errors.py +0 -93
  102. sqlglot-27.29.0/sqlglot/optimizer/qualify_tables.py +0 -169
  103. sqlglot-27.29.0/sqlglot/optimizer/simplify.py +0 -1605
  104. {sqlglot-27.29.0 → sqlglot-28.1.0}/.gitignore +0 -0
  105. {sqlglot-27.29.0 → sqlglot-28.1.0}/.gitpod.yml +0 -0
  106. {sqlglot-27.29.0 → sqlglot-28.1.0}/.pre-commit-config.yaml +0 -0
  107. {sqlglot-27.29.0 → sqlglot-28.1.0}/CONTRIBUTING.md +0 -0
  108. {sqlglot-27.29.0 → sqlglot-28.1.0}/LICENSE +0 -0
  109. {sqlglot-27.29.0 → sqlglot-28.1.0}/MANIFEST.in +0 -0
  110. {sqlglot-27.29.0 → sqlglot-28.1.0}/Makefile +0 -0
  111. {sqlglot-27.29.0 → sqlglot-28.1.0}/README.md +0 -0
  112. {sqlglot-27.29.0 → sqlglot-28.1.0}/pyproject.toml +0 -0
  113. {sqlglot-27.29.0 → sqlglot-28.1.0}/setup.cfg +0 -0
  114. {sqlglot-27.29.0 → sqlglot-28.1.0}/setup.py +0 -0
  115. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/__init__.py +0 -0
  116. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/__main__.py +0 -0
  117. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/_typing.py +0 -0
  118. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/__init__.py +0 -0
  119. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/athena.py +0 -0
  120. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/databricks.py +0 -0
  121. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/doris.py +0 -0
  122. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/drill.py +0 -0
  123. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/druid.py +0 -0
  124. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/dune.py +0 -0
  125. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/fabric.py +0 -0
  126. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/materialize.py +0 -0
  127. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/prql.py +0 -0
  128. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/solr.py +0 -0
  129. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/starrocks.py +0 -0
  130. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/dialects/tableau.py +0 -0
  131. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/diff.py +0 -0
  132. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/executor/__init__.py +0 -0
  133. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/executor/context.py +0 -0
  134. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/executor/env.py +0 -0
  135. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/executor/python.py +0 -0
  136. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/executor/table.py +0 -0
  137. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/jsonpath.py +0 -0
  138. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/__init__.py +0 -0
  139. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/eliminate_ctes.py +0 -0
  140. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/isolate_table_selects.py +0 -0
  141. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/optimize_joins.py +0 -0
  142. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/optimizer/pushdown_projections.py +0 -0
  143. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/py.typed +0 -0
  144. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/serde.py +0 -0
  145. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/time.py +0 -0
  146. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot/trie.py +0 -0
  147. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot.egg-info/dependency_links.txt +0 -0
  148. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot.egg-info/top_level.txt +0 -0
  149. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglot.png +0 -0
  150. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/benches/dialect_settings.json +0 -0
  151. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/benches/long.rs +0 -0
  152. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/benches/token_type_settings.json +0 -0
  153. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/benches/tokenizer_dialect_settings.json +0 -0
  154. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/benches/tokenizer_settings.json +0 -0
  155. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/pyproject.toml +0 -0
  156. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/src/lib.rs +0 -0
  157. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/src/settings.rs +0 -0
  158. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/src/token.rs +0 -0
  159. {sqlglot-27.29.0 → sqlglot-28.1.0}/sqlglotrs/src/trie.rs +0 -0
  160. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/__init__.py +0 -0
  161. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/__init__.py +0 -0
  162. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_athena.py +0 -0
  163. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_doris.py +0 -0
  164. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_dremio.py +0 -0
  165. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_drill.py +0 -0
  166. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_druid.py +0 -0
  167. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_dune.py +0 -0
  168. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_fabric.py +0 -0
  169. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_materialize.py +0 -0
  170. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_pipe_syntax.py +0 -0
  171. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_postgres.py +0 -0
  172. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_prql.py +0 -0
  173. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_risingwave.py +0 -0
  174. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_solr.py +0 -0
  175. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_starrocks.py +0 -0
  176. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_tableau.py +0 -0
  177. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/dialects/test_teradata.py +0 -0
  178. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/jsonpath/LICENSE +0 -0
  179. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/jsonpath/cts.json +0 -0
  180. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/annotate_types.sql +0 -0
  181. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/canonicalize.sql +0 -0
  182. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/eliminate_ctes.sql +0 -0
  183. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/eliminate_joins.sql +0 -0
  184. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/eliminate_subqueries.sql +0 -0
  185. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/isolate_table_selects.sql +0 -0
  186. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/merge_subqueries.sql +0 -0
  187. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/normalize_identifiers.sql +0 -0
  188. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/optimize_joins.sql +0 -0
  189. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/pushdown_cte_alias_columns.sql +0 -0
  190. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/pushdown_predicates.sql +0 -0
  191. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/qualify_columns__invalid.sql +0 -0
  192. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/quote_identifiers.sql +0 -0
  193. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/call_center.csv.gz +0 -0
  194. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/catalog_page.csv.gz +0 -0
  195. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/catalog_returns.csv.gz +0 -0
  196. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/catalog_sales.csv.gz +0 -0
  197. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/customer.csv.gz +0 -0
  198. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/customer_address.csv.gz +0 -0
  199. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/customer_demographics.csv.gz +0 -0
  200. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/date_dim.csv.gz +0 -0
  201. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/household_demographics.csv.gz +0 -0
  202. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/income_band.csv.gz +0 -0
  203. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/inventory.csv.gz +0 -0
  204. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/item.csv.gz +0 -0
  205. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/promotion.csv.gz +0 -0
  206. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/reason.csv.gz +0 -0
  207. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/ship_mode.csv.gz +0 -0
  208. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/store.csv.gz +0 -0
  209. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/store_returns.csv.gz +0 -0
  210. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/store_sales.csv.gz +0 -0
  211. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/time_dim.csv.gz +0 -0
  212. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/warehouse.csv.gz +0 -0
  213. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/web_page.csv.gz +0 -0
  214. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/web_returns.csv.gz +0 -0
  215. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/web_sales.csv.gz +0 -0
  216. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-ds/web_site.csv.gz +0 -0
  217. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-h/customer.csv.gz +0 -0
  218. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-h/lineitem.csv.gz +0 -0
  219. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-h/nation.csv.gz +0 -0
  220. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-h/orders.csv.gz +0 -0
  221. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-h/part.csv.gz +0 -0
  222. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-h/partsupp.csv.gz +0 -0
  223. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-h/region.csv.gz +0 -0
  224. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-h/supplier.csv.gz +0 -0
  225. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/optimizer/tpc-h/tpc-h.sql +0 -0
  226. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/partial.sql +0 -0
  227. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/fixtures/pretty.sql +0 -0
  228. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/gen_fixtures.py +0 -0
  229. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/helpers.py +0 -0
  230. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_dialect_imports.py +0 -0
  231. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_diff.py +0 -0
  232. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_docs.py +0 -0
  233. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_executor.py +0 -0
  234. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_generator.py +0 -0
  235. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_helper.py +0 -0
  236. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_jsonpath.py +0 -0
  237. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_schema.py +0 -0
  238. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_serde.py +0 -0
  239. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_time.py +0 -0
  240. {sqlglot-27.29.0 → sqlglot-28.1.0}/tests/test_tokens.py +0 -0
@@ -1,6 +1,408 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## [v28.0.0] - 2025-11-17
5
+ ### :boom: BREAKING CHANGES
6
+ - due to [`39d8e19`](https://github.com/tobymao/sqlglot/commit/39d8e19419c2adbb80465be414d1cc3bbc6d007b) - include VARIABLE kind in SET transpilation to DuckDB *(PR [#6201](https://github.com/tobymao/sqlglot/pull/6201) by [@toriwei](https://github.com/toriwei))*:
7
+
8
+ include VARIABLE kind in SET transpilation to DuckDB (#6201)
9
+
10
+ - due to [`e7ddad1`](https://github.com/tobymao/sqlglot/commit/e7ddad10b5edf9b801d2151e3e5fca448754df0d) - ensure `NULL` coerces into any type *(PR [#6211](https://github.com/tobymao/sqlglot/pull/6211) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
11
+
12
+ ensure `NULL` coerces into any type (#6211)
13
+
14
+ - due to [`0037266`](https://github.com/tobymao/sqlglot/commit/00372664bf6acf2b0fff9ad4b206b597ef5378f7) - annotate types for GETBIT *(PR [#6219](https://github.com/tobymao/sqlglot/pull/6219) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
15
+
16
+ annotate types for GETBIT (#6219)
17
+
18
+ - due to [`a5458ce`](https://github.com/tobymao/sqlglot/commit/a5458ceca3bc239fb611791e38020632dd0824c8) - add type annotation for DECODE function support *(PR [#6199](https://github.com/tobymao/sqlglot/pull/6199) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
19
+
20
+ add type annotation for DECODE function support (#6199)
21
+
22
+ - due to [`417f1e8`](https://github.com/tobymao/sqlglot/commit/417f1e8ee50fb8f4377fad261660ffbd7444a429) - annotate types for BITNOT *(PR [#6234](https://github.com/tobymao/sqlglot/pull/6234) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
23
+
24
+ annotate types for BITNOT (#6234)
25
+
26
+ - due to [`fe8ab40`](https://github.com/tobymao/sqlglot/commit/fe8ab40e8e0559201e0b1896a6f1a8fb6b5b932d) - 1st-class parsing support for BITAND, BIT_AND, BIT_NOT *(PR [#6243](https://github.com/tobymao/sqlglot/pull/6243) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
27
+
28
+ 1st-class parsing support for BITAND, BIT_AND, BIT_NOT (#6243)
29
+
30
+ - due to [`5ae3c47`](https://github.com/tobymao/sqlglot/commit/5ae3c47b1c6993b87341472c08714f4a0f738168) - add type annotation for GROUPING() function *(PR [#6244](https://github.com/tobymao/sqlglot/pull/6244) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
31
+
32
+ add type annotation for GROUPING() function (#6244)
33
+
34
+ - due to [`4133265`](https://github.com/tobymao/sqlglot/commit/413326514507ef06537dcc3d4b80a3fcbcd26f66) - parse `has` function into an `ArrayContains` expression *(PR [#6245](https://github.com/tobymao/sqlglot/pull/6245) by [@joeyutong](https://github.com/joeyutong))*:
35
+
36
+ parse `has` function into an `ArrayContains` expression (#6245)
37
+
38
+ - due to [`cdd45b9`](https://github.com/tobymao/sqlglot/commit/cdd45b949fd1eefb147053424279b56b8effcbcf) - annotate types for GROUPING_ID function. *(PR [#6249](https://github.com/tobymao/sqlglot/pull/6249) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
39
+
40
+ annotate types for GROUPING_ID function. (#6249)
41
+
42
+ - due to [`080ff3b`](https://github.com/tobymao/sqlglot/commit/080ff3bd93b36291d5bb0092d722f8307f0ae082) - annotate types for BITAND_AGG *(PR [#6248](https://github.com/tobymao/sqlglot/pull/6248) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
43
+
44
+ annotate types for BITAND_AGG (#6248)
45
+
46
+ - due to [`87a818a`](https://github.com/tobymao/sqlglot/commit/87a818a899f61a675c22c697f468b3f6f7e2787f) - annotate types for BITOR_AGG *(PR [#6251](https://github.com/tobymao/sqlglot/pull/6251) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
47
+
48
+ annotate types for BITOR_AGG (#6251)
49
+
50
+ - due to [`4c4189b`](https://github.com/tobymao/sqlglot/commit/4c4189b4083d272a6e678d83b5c567a2e9c0d672) - Transpile CONCAT function to double pipe operators when source … *(PR [#6241](https://github.com/tobymao/sqlglot/pull/6241) by [@vchan](https://github.com/vchan))*:
51
+
52
+ Transpile CONCAT function to double pipe operators when source … (#6241)
53
+
54
+ - due to [`a1b884d`](https://github.com/tobymao/sqlglot/commit/a1b884dc9ddfd2185de48cc9451a39f152879d39) - annotate types for BITXOR_AGG *(PR [#6253](https://github.com/tobymao/sqlglot/pull/6253) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
55
+
56
+ annotate types for BITXOR_AGG (#6253)
57
+
58
+ - due to [`fc78d20`](https://github.com/tobymao/sqlglot/commit/fc78d2016d8f7d20c094df791f746de323cd3639) - Unwrap subqueries without modifiers *(PR [#6247](https://github.com/tobymao/sqlglot/pull/6247) by [@VaggelisD](https://github.com/VaggelisD))*:
59
+
60
+ Unwrap subqueries without modifiers (#6247)
61
+
62
+ - due to [`ad2ad23`](https://github.com/tobymao/sqlglot/commit/ad2ad234b5a508040dce4f3920439be052742573) - add missing return type mapping for MAX_BY and MAX_BY function *(PR [#6250](https://github.com/tobymao/sqlglot/pull/6250) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
63
+
64
+ add missing return type mapping for MAX_BY and MAX_BY function (#6250)
65
+
66
+ - due to [`39c1d81`](https://github.com/tobymao/sqlglot/commit/39c1d81174f2390b6b0c9dd14c0e550ad452a1df) - annotate types for BOOLXOR_AGG *(PR [#6261](https://github.com/tobymao/sqlglot/pull/6261) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
67
+
68
+ annotate types for BOOLXOR_AGG (#6261)
69
+
70
+ - due to [`71590d2`](https://github.com/tobymao/sqlglot/commit/71590d22cdb05594e2173a1500f763dc1a32a81d) - add type annotation for SKEW function. *(PR [#6262](https://github.com/tobymao/sqlglot/pull/6262) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
71
+
72
+ add type annotation for SKEW function. (#6262)
73
+
74
+ - due to [`5fd366d`](https://github.com/tobymao/sqlglot/commit/5fd366d9e6f7b3f1eb7a9cf41975cf13ce890ffe) - annotate types for OBJECT_AGG *(PR [#6265](https://github.com/tobymao/sqlglot/pull/6265) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
75
+
76
+ annotate types for OBJECT_AGG (#6265)
77
+
78
+ - due to [`00abc39`](https://github.com/tobymao/sqlglot/commit/00abc393c9042e839457c5a6582e95cdb74356f3) - handle casting for bytestrings *(PR [#6252](https://github.com/tobymao/sqlglot/pull/6252) by [@toriwei](https://github.com/toriwei))*:
79
+
80
+ handle casting for bytestrings (#6252)
81
+
82
+ - due to [`3dae0fb`](https://github.com/tobymao/sqlglot/commit/3dae0fbb528762e5d5fd446350d42e9c841e2959) - Support position and occurrence args for REGEXP_EXTRACT *(PR [#6266](https://github.com/tobymao/sqlglot/pull/6266) by [@vchan](https://github.com/vchan))*:
83
+
84
+ Support position and occurrence args for REGEXP_EXTRACT (#6266)
85
+
86
+ - due to [`ddea61d`](https://github.com/tobymao/sqlglot/commit/ddea61d83f6699c97cc7b25aabe01a138138bdb1) - simplify connector complements only for non-null operands *(PR [#6214](https://github.com/tobymao/sqlglot/pull/6214) by [@geooo109](https://github.com/geooo109))*:
87
+
88
+ simplify connector complements only for non-null operands (#6214)
89
+
90
+ - due to [`771732d`](https://github.com/tobymao/sqlglot/commit/771732d81459cc576f11eccc49794f33e62d14af) - annotate types for REGR_AVGY *(PR [#6271](https://github.com/tobymao/sqlglot/pull/6271) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
91
+
92
+ annotate types for REGR_AVGY (#6271)
93
+
94
+ - due to [`8470be0`](https://github.com/tobymao/sqlglot/commit/8470be00731a4d79518a533a5f7ba884fa2f047e) - add type annotation for BITMAP_COUNT function. *(PR [#6274](https://github.com/tobymao/sqlglot/pull/6274) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
95
+
96
+ add type annotation for BITMAP_COUNT function. (#6274)
97
+
98
+ - due to [`98f25f9`](https://github.com/tobymao/sqlglot/commit/98f25f92cc1175ac7b2118a5a342db82adade13a) - support splitBy function *(PR [#6278](https://github.com/tobymao/sqlglot/pull/6278) by [@joeyutong](https://github.com/joeyutong))*:
99
+
100
+ support splitBy function (#6278)
101
+
102
+ - due to [`fabbf05`](https://github.com/tobymao/sqlglot/commit/fabbf057aba88f30205767d8c339727de45991c8) - Add support for shorthand struct array literals in duckDB. *(PR [#6233](https://github.com/tobymao/sqlglot/pull/6233) by [@fivetran-amrutabhimsenayachit](https://github.com/fivetran-amrutabhimsenayachit))*:
103
+
104
+ Add support for shorthand struct array literals in duckDB. (#6233)
105
+
106
+ - due to [`c02b64c`](https://github.com/tobymao/sqlglot/commit/c02b64c3524dd074c2108baaca668ab2607ac843) - Handle pseudocolumns differently than columns *(PR [#6273](https://github.com/tobymao/sqlglot/pull/6273) by [@VaggelisD](https://github.com/VaggelisD))*:
107
+
108
+ Handle pseudocolumns differently than columns (#6273)
109
+
110
+ - due to [`05c5181`](https://github.com/tobymao/sqlglot/commit/05c5181b36a7ada32b96fc91bdfbf73b38a1a408) - refactor `Connector` simplification to factor in types *(PR [#6152](https://github.com/tobymao/sqlglot/pull/6152) by [@geooo109](https://github.com/geooo109))*:
111
+
112
+ refactor `Connector` simplification to factor in types (#6152)
113
+
114
+ - due to [`9c1a222`](https://github.com/tobymao/sqlglot/commit/9c1a2221b0327ba6848542c7b906e92f25a05bea) - add type annotation for BITMAP_CONSTRUCT_AGG function. *(PR [#6285](https://github.com/tobymao/sqlglot/pull/6285) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
115
+
116
+ add type annotation for BITMAP_CONSTRUCT_AGG function. (#6285)
117
+
118
+ - due to [`cb0bcff`](https://github.com/tobymao/sqlglot/commit/cb0bcff310e9acdf806fc98e99cb9938b747c771) - cast UUID() output to varchar when source dialect UUID() returns string *(PR [#6284](https://github.com/tobymao/sqlglot/pull/6284) by [@toriwei](https://github.com/toriwei))*:
119
+
120
+ cast UUID() output to varchar when source dialect UUID() returns string (#6284)
121
+
122
+ - due to [`358105d`](https://github.com/tobymao/sqlglot/commit/358105d1296c7425e071ccf3189a31a02c00c923) - type annotation for BITMAP_BIT_POSITION function *(PR [#6301](https://github.com/tobymao/sqlglot/pull/6301) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
123
+
124
+ type annotation for BITMAP_BIT_POSITION function (#6301)
125
+
126
+ - due to [`4ee7a50`](https://github.com/tobymao/sqlglot/commit/4ee7a500cc460b6f6a1ed103a12dca72e6d01c18) - type inference for BITMAP_OR_AGG *(PR [#6297](https://github.com/tobymao/sqlglot/pull/6297) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
127
+
128
+ type inference for BITMAP_OR_AGG (#6297)
129
+
130
+ - due to [`fcd537d`](https://github.com/tobymao/sqlglot/commit/fcd537de2c993ad0bd18acd84dbae354165f7d3f) - conflict resolution. type annotation for BITMAP_BUCKET_NUMBER function. Tests added all dialects that support BITMAP_BUCKET_NUMBER *(PR [#6299](https://github.com/tobymao/sqlglot/pull/6299) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
131
+
132
+ conflict resolution. type annotation for BITMAP_BUCKET_NUMBER function. Tests added all dialects that support BITMAP_BUCKET_NUMBER (#6299)
133
+
134
+ - due to [`3dffd59`](https://github.com/tobymao/sqlglot/commit/3dffd598496a9f2d94caec9d7f3dcb9791c94019) - annotate types for PERCENTILE_DISC and WithinGroup *(PR [#6300](https://github.com/tobymao/sqlglot/pull/6300) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
135
+
136
+ annotate types for PERCENTILE_DISC and WithinGroup (#6300)
137
+
138
+ - due to [`f9287f7`](https://github.com/tobymao/sqlglot/commit/f9287f7d596a6d8a1e1cd2c48978a4dec77a96cb) - robust deduplication of connectors *(PR [#6296](https://github.com/tobymao/sqlglot/pull/6296) by [@geooo109](https://github.com/geooo109))*:
139
+
140
+ robust deduplication of connectors (#6296)
141
+
142
+ - due to [`ea0ea79`](https://github.com/tobymao/sqlglot/commit/ea0ea79c1c611b62c79f82f744fe0c98803598a3) - Parse `LIKE` functions *(PR [#6314](https://github.com/tobymao/sqlglot/pull/6314) by [@VaggelisD](https://github.com/VaggelisD))*:
143
+
144
+ Parse `LIKE` functions (#6314)
145
+
146
+ - due to [`e903883`](https://github.com/tobymao/sqlglot/commit/e90388328fcf5b8061c99e325b87d5beb0046ffc) - type annotation for APPROX_TOP_K_ACCUMULATE functio… *(PR [#6309](https://github.com/tobymao/sqlglot/pull/6309) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
147
+
148
+ type annotation for APPROX_TOP_K_ACCUMULATE functio… (#6309)
149
+
150
+ - due to [`d3fefad`](https://github.com/tobymao/sqlglot/commit/d3fefad80d25ff5a6dd02426667ff0ea8478a1b2) - support `DATEDIFF_BIG` *(PR [#6323](https://github.com/tobymao/sqlglot/pull/6323) by [@lBilali](https://github.com/lBilali))*:
151
+
152
+ support `DATEDIFF_BIG` (#6323)
153
+
154
+ - due to [`21d1468`](https://github.com/tobymao/sqlglot/commit/21d1468377b9c8ad48c6cca1ae3b3744a807c29e) - annotate type for APPROX_TOP_K *(PR [#6286](https://github.com/tobymao/sqlglot/pull/6286) by [@fivetran-MichaelLee](https://github.com/fivetran-MichaelLee))*:
155
+
156
+ annotate type for APPROX_TOP_K (#6286)
157
+
158
+ - due to [`85ddcc5`](https://github.com/tobymao/sqlglot/commit/85ddcc5eca22ac726582de454f2f12b9d4877634) - Do not normalize JSON fields in dot notation *(PR [#6320](https://github.com/tobymao/sqlglot/pull/6320) by [@VaggelisD](https://github.com/VaggelisD))*:
159
+
160
+ Do not normalize JSON fields in dot notation (#6320)
161
+
162
+ - due to [`933e981`](https://github.com/tobymao/sqlglot/commit/933e98102fb39d24ae0350da13337d981287130a) - more robust NULL reduction *(PR [#6327](https://github.com/tobymao/sqlglot/pull/6327) by [@geooo109](https://github.com/geooo109))*:
163
+
164
+ more robust NULL reduction (#6327)
165
+
166
+
167
+ ### :sparkles: New Features
168
+ - [`39d8e19`](https://github.com/tobymao/sqlglot/commit/39d8e19419c2adbb80465be414d1cc3bbc6d007b) - **snowflake**: include VARIABLE kind in SET transpilation to DuckDB *(PR [#6201](https://github.com/tobymao/sqlglot/pull/6201) by [@toriwei](https://github.com/toriwei))*
169
+ - :arrow_lower_right: *addresses issue [#6177](https://github.com/tobymao/sqlglot/issues/6177) opened by [@baruchoxman](https://github.com/baruchoxman)*
170
+ - [`0037266`](https://github.com/tobymao/sqlglot/commit/00372664bf6acf2b0fff9ad4b206b597ef5378f7) - **snowflake**: annotate types for GETBIT *(PR [#6219](https://github.com/tobymao/sqlglot/pull/6219) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
171
+ - [`a5458ce`](https://github.com/tobymao/sqlglot/commit/a5458ceca3bc239fb611791e38020632dd0824c8) - **snowflake**: add type annotation for DECODE function support *(PR [#6199](https://github.com/tobymao/sqlglot/pull/6199) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
172
+ - [`a9d0f63`](https://github.com/tobymao/sqlglot/commit/a9d0f6333c38ffb0b5afc3c213ac7bf008d98ad6) - **DuckDB**: Transpile unix_millis to epoch_ms *(PR [#6224](https://github.com/tobymao/sqlglot/pull/6224) by [@vchan](https://github.com/vchan))*
173
+ - [`238f705`](https://github.com/tobymao/sqlglot/commit/238f705940751f09464ee0f8260186f3f8124374) - **DuckDB**: Transpile unix_seconds to epoch *(PR [#6225](https://github.com/tobymao/sqlglot/pull/6225) by [@vchan](https://github.com/vchan))*
174
+ - [`c8b0129`](https://github.com/tobymao/sqlglot/commit/c8b0129380df389be6ff22cafb4251181e919d23) - **exasol**: support bracket-delimited identifiers *(PR [#6231](https://github.com/tobymao/sqlglot/pull/6231) by [@JoepvandenHoven-Bluemine](https://github.com/JoepvandenHoven-Bluemine))*
175
+ - [`417f1e8`](https://github.com/tobymao/sqlglot/commit/417f1e8ee50fb8f4377fad261660ffbd7444a429) - **snowflake**: annotate types for BITNOT *(PR [#6234](https://github.com/tobymao/sqlglot/pull/6234) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
176
+ - [`fe8ab40`](https://github.com/tobymao/sqlglot/commit/fe8ab40e8e0559201e0b1896a6f1a8fb6b5b932d) - **snowflake**: 1st-class parsing support for BITAND, BIT_AND, BIT_NOT *(PR [#6243](https://github.com/tobymao/sqlglot/pull/6243) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
177
+ - [`5ae3c47`](https://github.com/tobymao/sqlglot/commit/5ae3c47b1c6993b87341472c08714f4a0f738168) - **snowflake**: add type annotation for GROUPING() function *(PR [#6244](https://github.com/tobymao/sqlglot/pull/6244) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
178
+ - [`4133265`](https://github.com/tobymao/sqlglot/commit/413326514507ef06537dcc3d4b80a3fcbcd26f66) - **clickhouse**: parse `has` function into an `ArrayContains` expression *(PR [#6245](https://github.com/tobymao/sqlglot/pull/6245) by [@joeyutong](https://github.com/joeyutong))*
179
+ - [`b722aa2`](https://github.com/tobymao/sqlglot/commit/b722aa2d4b65c698921066426838f080a31bdc35) - **duckdb**: cast LOWER() result to BLOB if input is bytes *(PR [#6218](https://github.com/tobymao/sqlglot/pull/6218) by [@toriwei](https://github.com/toriwei))*
180
+ - [`cdd45b9`](https://github.com/tobymao/sqlglot/commit/cdd45b949fd1eefb147053424279b56b8effcbcf) - **optimizer**: annotate types for GROUPING_ID function. *(PR [#6249](https://github.com/tobymao/sqlglot/pull/6249) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
181
+ - [`080ff3b`](https://github.com/tobymao/sqlglot/commit/080ff3bd93b36291d5bb0092d722f8307f0ae082) - **snowflake**: annotate types for BITAND_AGG *(PR [#6248](https://github.com/tobymao/sqlglot/pull/6248) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
182
+ - [`87a818a`](https://github.com/tobymao/sqlglot/commit/87a818a899f61a675c22c697f468b3f6f7e2787f) - **snowflake**: annotate types for BITOR_AGG *(PR [#6251](https://github.com/tobymao/sqlglot/pull/6251) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
183
+ - [`a1b884d`](https://github.com/tobymao/sqlglot/commit/a1b884dc9ddfd2185de48cc9451a39f152879d39) - **snowflake**: annotate types for BITXOR_AGG *(PR [#6253](https://github.com/tobymao/sqlglot/pull/6253) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
184
+ - [`71d93b1`](https://github.com/tobymao/sqlglot/commit/71d93b181d2aa3a77a022820446d6fec0133291f) - **duckdb**: implement casting to blob for UPPER() and move to helper method *(PR [#6254](https://github.com/tobymao/sqlglot/pull/6254) by [@toriwei](https://github.com/toriwei))*
185
+ - [`ad2ad23`](https://github.com/tobymao/sqlglot/commit/ad2ad234b5a508040dce4f3920439be052742573) - **snowflake**: add missing return type mapping for MAX_BY and MAX_BY function *(PR [#6250](https://github.com/tobymao/sqlglot/pull/6250) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
186
+ - [`39c1d81`](https://github.com/tobymao/sqlglot/commit/39c1d81174f2390b6b0c9dd14c0e550ad452a1df) - **snowflake**: annotate types for BOOLXOR_AGG *(PR [#6261](https://github.com/tobymao/sqlglot/pull/6261) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
187
+ - [`71590d2`](https://github.com/tobymao/sqlglot/commit/71590d22cdb05594e2173a1500f763dc1a32a81d) - **snowflake**: add type annotation for SKEW function. *(PR [#6262](https://github.com/tobymao/sqlglot/pull/6262) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
188
+ - [`5fd366d`](https://github.com/tobymao/sqlglot/commit/5fd366d9e6f7b3f1eb7a9cf41975cf13ce890ffe) - **snowflake**: annotate types for OBJECT_AGG *(PR [#6265](https://github.com/tobymao/sqlglot/pull/6265) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
189
+ - [`3dae0fb`](https://github.com/tobymao/sqlglot/commit/3dae0fbb528762e5d5fd446350d42e9c841e2959) - **duckdb**: Support position and occurrence args for REGEXP_EXTRACT *(PR [#6266](https://github.com/tobymao/sqlglot/pull/6266) by [@vchan](https://github.com/vchan))*
190
+ - [`dba0414`](https://github.com/tobymao/sqlglot/commit/dba04145c4bcda8c55890b4d7173dd6c0a64c37e) - **clickhouse**: Parse toStartOfxxx into exp.TimestampTrunc *(PR [#6268](https://github.com/tobymao/sqlglot/pull/6268) by [@joeyutong](https://github.com/joeyutong))*
191
+ - [`d959ad0`](https://github.com/tobymao/sqlglot/commit/d959ad02140d692483a63b67d69d2a5d49954ea3) - transpile DuckDB exclusive end RANGE to SEQUENCE *(PR [#6270](https://github.com/tobymao/sqlglot/pull/6270) by [@georgesittas](https://github.com/georgesittas))*
192
+ - :arrow_lower_right: *addresses issue [#6267](https://github.com/tobymao/sqlglot/issues/6267) opened by [@joeyutong](https://github.com/joeyutong)*
193
+ - [`771732d`](https://github.com/tobymao/sqlglot/commit/771732d81459cc576f11eccc49794f33e62d14af) - **snowflake**: annotate types for REGR_AVGY *(PR [#6271](https://github.com/tobymao/sqlglot/pull/6271) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
194
+ - [`8470be0`](https://github.com/tobymao/sqlglot/commit/8470be00731a4d79518a533a5f7ba884fa2f047e) - **snowflake**: add type annotation for BITMAP_COUNT function. *(PR [#6274](https://github.com/tobymao/sqlglot/pull/6274) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
195
+ - [`98f25f9`](https://github.com/tobymao/sqlglot/commit/98f25f92cc1175ac7b2118a5a342db82adade13a) - **clickhouse**: support splitBy function *(PR [#6278](https://github.com/tobymao/sqlglot/pull/6278) by [@joeyutong](https://github.com/joeyutong))*
196
+ - [`fabbf05`](https://github.com/tobymao/sqlglot/commit/fabbf057aba88f30205767d8c339727de45991c8) - **duckDB**: Add support for shorthand struct array literals in duckDB. *(PR [#6233](https://github.com/tobymao/sqlglot/pull/6233) by [@fivetran-amrutabhimsenayachit](https://github.com/fivetran-amrutabhimsenayachit))*
197
+ - [`a909fde`](https://github.com/tobymao/sqlglot/commit/a909fde068919823dc4cccc2655af48e4290137a) - **duckdb**: Add support for CREATE MACRO *(PR [#6292](https://github.com/tobymao/sqlglot/pull/6292) by [@VaggelisD](https://github.com/VaggelisD))*
198
+ - :arrow_lower_right: *addresses issue [#6290](https://github.com/tobymao/sqlglot/issues/6290) opened by [@francescomucio](https://github.com/francescomucio)*
199
+ - [`11989be`](https://github.com/tobymao/sqlglot/commit/11989be34153ccdedeab3ab18ccf735f86e8b822) - add more expressions with positional meta *(PR [#6289](https://github.com/tobymao/sqlglot/pull/6289) by [@tobymao](https://github.com/tobymao))*
200
+ - [`87651a6`](https://github.com/tobymao/sqlglot/commit/87651a671db2fe6162f06e2dcdef0b98e229bea5) - semantic facts closes [#6287](https://github.com/tobymao/sqlglot/pull/6287) *(PR [#6288](https://github.com/tobymao/sqlglot/pull/6288) by [@tobymao](https://github.com/tobymao))*
201
+ - [`9c1a222`](https://github.com/tobymao/sqlglot/commit/9c1a2221b0327ba6848542c7b906e92f25a05bea) - **snowflake**: add type annotation for BITMAP_CONSTRUCT_AGG function. *(PR [#6285](https://github.com/tobymao/sqlglot/pull/6285) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
202
+ - [`358105d`](https://github.com/tobymao/sqlglot/commit/358105d1296c7425e071ccf3189a31a02c00c923) - **snowflake**: type annotation for BITMAP_BIT_POSITION function *(PR [#6301](https://github.com/tobymao/sqlglot/pull/6301) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
203
+ - [`4ee7a50`](https://github.com/tobymao/sqlglot/commit/4ee7a500cc460b6f6a1ed103a12dca72e6d01c18) - **snowflake**: type inference for BITMAP_OR_AGG *(PR [#6297](https://github.com/tobymao/sqlglot/pull/6297) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
204
+ - [`fcd537d`](https://github.com/tobymao/sqlglot/commit/fcd537de2c993ad0bd18acd84dbae354165f7d3f) - **snowflake**: conflict resolution. type annotation for BITMAP_BUCKET_NUMBER function. Tests added all dialects that support BITMAP_BUCKET_NUMBER *(PR [#6299](https://github.com/tobymao/sqlglot/pull/6299) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
205
+ - [`3dffd59`](https://github.com/tobymao/sqlglot/commit/3dffd598496a9f2d94caec9d7f3dcb9791c94019) - **snowflake**: annotate types for PERCENTILE_DISC and WithinGroup *(PR [#6300](https://github.com/tobymao/sqlglot/pull/6300) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
206
+ - [`6ce3cd7`](https://github.com/tobymao/sqlglot/commit/6ce3cd7de958d9f3773579ab22ae6cbbcb56ceb0) - **sqlite**: support binary `MATCH` operator closes [#6305](https://github.com/tobymao/sqlglot/pull/6305) *(PR [#6306](https://github.com/tobymao/sqlglot/pull/6306) by [@georgesittas](https://github.com/georgesittas))*
207
+ - [`e903883`](https://github.com/tobymao/sqlglot/commit/e90388328fcf5b8061c99e325b87d5beb0046ffc) - **snowflake**: type annotation for APPROX_TOP_K_ACCUMULATE functio… *(PR [#6309](https://github.com/tobymao/sqlglot/pull/6309) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
208
+ - [`afc0242`](https://github.com/tobymao/sqlglot/commit/afc0242c564f8de53e11865c2fba43fb36df0694) - **duckDB**: Cast inputs (BLOB → VARCHAR) for duckDB STARTS_WITH *(PR [#6240](https://github.com/tobymao/sqlglot/pull/6240) by [@fivetran-amrutabhimsenayachit](https://github.com/fivetran-amrutabhimsenayachit))*
209
+ - [`d170bbd`](https://github.com/tobymao/sqlglot/commit/d170bbde800a0308aaf8c81e59152c65be312155) - **duckdb**: transpile bigquery's `BYTES` variant of `REPLACE` *(PR [#6312](https://github.com/tobymao/sqlglot/pull/6312) by [@toriwei](https://github.com/toriwei))*
210
+ - [`d3fefad`](https://github.com/tobymao/sqlglot/commit/d3fefad80d25ff5a6dd02426667ff0ea8478a1b2) - **tsql**: support `DATEDIFF_BIG` *(PR [#6323](https://github.com/tobymao/sqlglot/pull/6323) by [@lBilali](https://github.com/lBilali))*
211
+ - [`21d1468`](https://github.com/tobymao/sqlglot/commit/21d1468377b9c8ad48c6cca1ae3b3744a807c29e) - **optimizer**: annotate type for APPROX_TOP_K *(PR [#6286](https://github.com/tobymao/sqlglot/pull/6286) by [@fivetran-MichaelLee](https://github.com/fivetran-MichaelLee))*
212
+ - [`93b4039`](https://github.com/tobymao/sqlglot/commit/93b4039f957f3eefbaaed2cb147bfa8c8c2a304e) - **duckdb**: preserve time zone and timestamp in DATE_TRUNC() *(PR [#6318](https://github.com/tobymao/sqlglot/pull/6318) by [@toriwei](https://github.com/toriwei))*
213
+ - [`b71990f`](https://github.com/tobymao/sqlglot/commit/b71990f528d55c845f5771bfc4c5f6098eb97ad7) - **duckdb**: Add transpilation support for ANY_VALUE function with HAVING MAX and MIN clauses *(PR [#6325](https://github.com/tobymao/sqlglot/pull/6325) by [@fivetran-amrutabhimsenayachit](https://github.com/fivetran-amrutabhimsenayachit))*
214
+ - [`64c0d55`](https://github.com/tobymao/sqlglot/commit/64c0d554207ad40bcd6a93c20d15020752a5929d) - **sqlite**: support indexed table clause closes [#6331](https://github.com/tobymao/sqlglot/pull/6331) *(commit by [@georgesittas](https://github.com/georgesittas))*
215
+ - [`6725217`](https://github.com/tobymao/sqlglot/commit/6725217d4058b5202006576bdf6ff4ec7230a9b9) - **sqlite**: support `NOT NULL` operator closes [#6334](https://github.com/tobymao/sqlglot/pull/6334) closes [#6335](https://github.com/tobymao/sqlglot/pull/6335) *(commit by [@georgesittas](https://github.com/georgesittas))*
216
+
217
+ ### :bug: Bug Fixes
218
+ - [`e7ddad1`](https://github.com/tobymao/sqlglot/commit/e7ddad10b5edf9b801d2151e3e5fca448754df0d) - **optimizer**: ensure `NULL` coerces into any type *(PR [#6211](https://github.com/tobymao/sqlglot/pull/6211) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
219
+ - [`4c4189b`](https://github.com/tobymao/sqlglot/commit/4c4189b4083d272a6e678d83b5c567a2e9c0d672) - Transpile CONCAT function to double pipe operators when source … *(PR [#6241](https://github.com/tobymao/sqlglot/pull/6241) by [@vchan](https://github.com/vchan))*
220
+ - [`fc78d20`](https://github.com/tobymao/sqlglot/commit/fc78d2016d8f7d20c094df791f746de323cd3639) - **parser**: Unwrap subqueries without modifiers *(PR [#6247](https://github.com/tobymao/sqlglot/pull/6247) by [@VaggelisD](https://github.com/VaggelisD))*
221
+ - :arrow_lower_right: *fixes issue [#6237](https://github.com/tobymao/sqlglot/issues/6237) opened by [@preet-sheth](https://github.com/preet-sheth)*
222
+ - [`7ad4c17`](https://github.com/tobymao/sqlglot/commit/7ad4c177fbf8dda78aa8de1ca112f606b2fd5456) - **databricks**: Support table names in FROM STREAM *(PR [#6259](https://github.com/tobymao/sqlglot/pull/6259) by [@roveo](https://github.com/roveo))*
223
+ - [`00abc39`](https://github.com/tobymao/sqlglot/commit/00abc393c9042e839457c5a6582e95cdb74356f3) - **generator**: handle casting for bytestrings *(PR [#6252](https://github.com/tobymao/sqlglot/pull/6252) by [@toriwei](https://github.com/toriwei))*
224
+ - [`bcf2eac`](https://github.com/tobymao/sqlglot/commit/bcf2eace0baf1d85047841f36cb5c0082c61b29c) - **duckdb**: map int8 to bigint instead of tinyint fixes [#6269](https://github.com/tobymao/sqlglot/pull/6269) *(commit by [@georgesittas](https://github.com/georgesittas))*
225
+ - [`ddea61d`](https://github.com/tobymao/sqlglot/commit/ddea61d83f6699c97cc7b25aabe01a138138bdb1) - **optimizer**: simplify connector complements only for non-null operands *(PR [#6214](https://github.com/tobymao/sqlglot/pull/6214) by [@geooo109](https://github.com/geooo109))*
226
+ - :arrow_lower_right: *fixes issue [#6213](https://github.com/tobymao/sqlglot/issues/6213) opened by [@geooo109](https://github.com/geooo109)*
227
+ - [`e17320e`](https://github.com/tobymao/sqlglot/commit/e17320ee3bdd0ef541d616c447b4973d12780dae) - Handle edge cases in for DuckDB RANGE to Spark SEQUENCE transpilation *(PR [#6276](https://github.com/tobymao/sqlglot/pull/6276) by [@joeyutong](https://github.com/joeyutong))*
228
+ - [`33b6218`](https://github.com/tobymao/sqlglot/commit/33b62183a15cdedf0b1ebd96fcb856afbe8879a0) - sqlsecurityproperty parseerror *(PR [#6280](https://github.com/tobymao/sqlglot/pull/6280) by [@ds-cbo](https://github.com/ds-cbo))*
229
+ - :arrow_lower_right: *fixes issue [#6279](https://github.com/tobymao/sqlglot/issues/6279) opened by [@ds-cbo](https://github.com/ds-cbo)*
230
+ - [`c02b64c`](https://github.com/tobymao/sqlglot/commit/c02b64c3524dd074c2108baaca668ab2607ac843) - **optimizer**: Handle pseudocolumns differently than columns *(PR [#6273](https://github.com/tobymao/sqlglot/pull/6273) by [@VaggelisD](https://github.com/VaggelisD))*
231
+ - :arrow_lower_right: *fixes issue [#6256](https://github.com/tobymao/sqlglot/issues/6256) opened by [@azilya](https://github.com/azilya)*
232
+ - [`05c5181`](https://github.com/tobymao/sqlglot/commit/05c5181b36a7ada32b96fc91bdfbf73b38a1a408) - **optimizer**: refactor `Connector` simplification to factor in types *(PR [#6152](https://github.com/tobymao/sqlglot/pull/6152) by [@geooo109](https://github.com/geooo109))*
233
+ - :arrow_lower_right: *fixes issue [#6137](https://github.com/tobymao/sqlglot/issues/6137) opened by [@dllggyx](https://github.com/dllggyx)*
234
+ - [`cb0bcff`](https://github.com/tobymao/sqlglot/commit/cb0bcff310e9acdf806fc98e99cb9938b747c771) - **duckdb**: cast UUID() output to varchar when source dialect UUID() returns string *(PR [#6284](https://github.com/tobymao/sqlglot/pull/6284) by [@toriwei](https://github.com/toriwei))*
235
+ - [`f9287f7`](https://github.com/tobymao/sqlglot/commit/f9287f7d596a6d8a1e1cd2c48978a4dec77a96cb) - **optimizer**: robust deduplication of connectors *(PR [#6296](https://github.com/tobymao/sqlglot/pull/6296) by [@geooo109](https://github.com/geooo109))*
236
+ - :arrow_lower_right: *fixes issue [#6182](https://github.com/tobymao/sqlglot/issues/6182) opened by [@dllggyx](https://github.com/dllggyx)*
237
+ - [`ea0ea79`](https://github.com/tobymao/sqlglot/commit/ea0ea79c1c611b62c79f82f744fe0c98803598a3) - **clickhouse**: Parse `LIKE` functions *(PR [#6314](https://github.com/tobymao/sqlglot/pull/6314) by [@VaggelisD](https://github.com/VaggelisD))*
238
+ - :arrow_lower_right: *fixes issue [#6313](https://github.com/tobymao/sqlglot/issues/6313) opened by [@CainYang](https://github.com/CainYang)*
239
+ - [`bbd4c90`](https://github.com/tobymao/sqlglot/commit/bbd4c901a9550beb363758e6be1e1877d4e56f2c) - **sqlite**: support IS with identifier as RHS *(PR [#6316](https://github.com/tobymao/sqlglot/pull/6316) by [@geooo109](https://github.com/geooo109))*
240
+ - :arrow_lower_right: *fixes issue [#6315](https://github.com/tobymao/sqlglot/issues/6315) opened by [@VLDB2026](https://github.com/VLDB2026)*
241
+ - [`65d213a`](https://github.com/tobymao/sqlglot/commit/65d213a7662962d4226368590508fbf61675c055) - **dialect**: fix typo from millenium to millennium [#6321](https://github.com/tobymao/sqlglot/pull/6321) *(commit by [@lBilali](https://github.com/lBilali))*
242
+ - [`c9d1615`](https://github.com/tobymao/sqlglot/commit/c9d16150a408a41daf704d2d0b0ebfce57425b81) - **tsql**: map iso_week with the correct python directive from strftime *(PR [#6322](https://github.com/tobymao/sqlglot/pull/6322) by [@lBilali](https://github.com/lBilali))*
243
+ - [`85ddcc5`](https://github.com/tobymao/sqlglot/commit/85ddcc5eca22ac726582de454f2f12b9d4877634) - **bigquery**: Do not normalize JSON fields in dot notation *(PR [#6320](https://github.com/tobymao/sqlglot/pull/6320) by [@VaggelisD](https://github.com/VaggelisD))*
244
+ - [`933e981`](https://github.com/tobymao/sqlglot/commit/933e98102fb39d24ae0350da13337d981287130a) - **optimizer**: more robust NULL reduction *(PR [#6327](https://github.com/tobymao/sqlglot/pull/6327) by [@geooo109](https://github.com/geooo109))*
245
+ - [`e1c6d57`](https://github.com/tobymao/sqlglot/commit/e1c6d5716f80eb24b6d0a9c93e187a8c9f05e555) - **parser**: improve between .. preceding .. following parser fixes [#6332](https://github.com/tobymao/sqlglot/pull/6332) *(commit by [@georgesittas](https://github.com/georgesittas))*
246
+ - [`65706e8`](https://github.com/tobymao/sqlglot/commit/65706e8c7edeb7de674d427718eac181df206dc9) - avoid full traversal for pushdown_cte_alias_columns *(commit by [@tobymao](https://github.com/tobymao))*
247
+ - [`c81258e`](https://github.com/tobymao/sqlglot/commit/c81258e9c26f637f6f8520051c159685c8b1cb7e) - **parser**: allow using OVER token as unquoted identifier *(PR [#6338](https://github.com/tobymao/sqlglot/pull/6338) by [@georgesittas](https://github.com/georgesittas))*
248
+ - :arrow_lower_right: *fixes issue [#6337](https://github.com/tobymao/sqlglot/issues/6337) opened by [@VLDB2026](https://github.com/VLDB2026)*
249
+ - [`73abfac`](https://github.com/tobymao/sqlglot/commit/73abfac4cec27350754c942be71175fa7bdfd1d0) - **redshift**: do not inherit postgres `ROUND` generator closes [#6340](https://github.com/tobymao/sqlglot/pull/6340) *(commit by [@georgesittas](https://github.com/georgesittas))*
250
+
251
+ ### :recycle: Refactors
252
+ - [`9c98fc2`](https://github.com/tobymao/sqlglot/commit/9c98fc2b39fef2bd052b60ba4e15a4b93fd66c00) - **optimizer**: avoid extra copy in simplify *(commit by [@geooo109](https://github.com/geooo109))*
253
+ - [`43985fb`](https://github.com/tobymao/sqlglot/commit/43985fbcb9edea088119951c5c245a9606cf92ae) - **snowflake**: remove redundant tests for ANY_VALUE *(commit by [@geooo109](https://github.com/geooo109))*
254
+ - [`bf7b032`](https://github.com/tobymao/sqlglot/commit/bf7b032baae0c0fd112054a7bed6fa2f56f32890) - clean up struct name inheritance *(PR [#6295](https://github.com/tobymao/sqlglot/pull/6295) by [@georgesittas](https://github.com/georgesittas))*
255
+ - [`49e0f43`](https://github.com/tobymao/sqlglot/commit/49e0f43ba19739575987f2e9c52c2061a6f59717) - extra test for spark approx_top_k_accumulate *(commit by [@geooo109](https://github.com/geooo109))*
256
+
257
+ ### :wrench: Chores
258
+ - [`d7be4a5`](https://github.com/tobymao/sqlglot/commit/d7be4a5da3dca6bcc44230b2a176c8b17b81c46e) - **optimizer**: add annotation test for COALESCE *(PR [#6210](https://github.com/tobymao/sqlglot/pull/6210) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
259
+ - [`8aa7356`](https://github.com/tobymao/sqlglot/commit/8aa7356ab8adee26193086754ca1a1805957d944) - **optimizer**: add annotation tests for IFF *(PR [#6215](https://github.com/tobymao/sqlglot/pull/6215) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
260
+ - [`160a1b9`](https://github.com/tobymao/sqlglot/commit/160a1b90f4ce39a2fce6f7f0e9e854d974fed053) - **optimizer**: mixed type annotation test for sf IFNULL *(commit by [@geooo109](https://github.com/geooo109))*
261
+ - [`893ad2a`](https://github.com/tobymao/sqlglot/commit/893ad2a5b1a28339ccc65c85ac813506e6ad56f1) - **optimizer**: add annotation tests for NULLIF *(PR [#6221](https://github.com/tobymao/sqlglot/pull/6221) by [@fivetran-MichaelLee](https://github.com/fivetran-MichaelLee))*
262
+ - [`78d7733`](https://github.com/tobymao/sqlglot/commit/78d77335819d1796fa3989ef072d3f8fd4b83559) - remove redundant or term for unknown in annotate_types *(commit by [@georgesittas](https://github.com/georgesittas))*
263
+ - [`b202f3a`](https://github.com/tobymao/sqlglot/commit/b202f3ad64e88a47e52c45e32c9e4faae6c8ac45) - **optimizer**: add test for BITXOR *(PR [#6223](https://github.com/tobymao/sqlglot/pull/6223) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
264
+ - [`b20f2e8`](https://github.com/tobymao/sqlglot/commit/b20f2e88d86038f1a98f4b97b5a2ae0b86652e33) - **optimizer**: add test for BITSHIFTLEFT *(PR [#6227](https://github.com/tobymao/sqlglot/pull/6227) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
265
+ - [`7f93e85`](https://github.com/tobymao/sqlglot/commit/7f93e8551b00cc32014236a07c8794bd7a3a2b91) - **optimizer**: add annotation tests for BITSHIFTRIGHT *(PR [#6228](https://github.com/tobymao/sqlglot/pull/6228) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
266
+ - [`fcf017c`](https://github.com/tobymao/sqlglot/commit/fcf017cfb95923fea8ae5669340713a326f4f306) - rename `EXPRESSION_SPEC` to `EXPRESSION_METADATA` *(commit by [@georgesittas](https://github.com/georgesittas))*
267
+ - [`55bc9e4`](https://github.com/tobymao/sqlglot/commit/55bc9e4019f8ef8d7e571256d7b0e07b30d9240c) - remove predicate/connector/not from typing metadata *(commit by [@georgesittas](https://github.com/georgesittas))*
268
+ - [`349ab29`](https://github.com/tobymao/sqlglot/commit/349ab29aa84fb087388b6a1494fea70273a4a560) - **optimizer**: add annotation test for BOOLAND_OR *(PR [#6260](https://github.com/tobymao/sqlglot/pull/6260) by [@fivetran-MichaelLee](https://github.com/fivetran-MichaelLee))*
269
+ - [`75ec424`](https://github.com/tobymao/sqlglot/commit/75ec424667b95462bb1750a251a5096da0d5161b) - **optimizer**: add annotation test for BOOLAND_AGG *(PR [#6257](https://github.com/tobymao/sqlglot/pull/6257) by [@fivetran-MichaelLee](https://github.com/fivetran-MichaelLee))*
270
+ - [`bb574aa`](https://github.com/tobymao/sqlglot/commit/bb574aa0cf0a8c0b92f9af7ef3dfddb7de725a8b) - **optimizer**: add annotation test for ARRAY_AGG *(PR [#6264](https://github.com/tobymao/sqlglot/pull/6264) by [@fivetran-MichaelLee](https://github.com/fivetran-MichaelLee))*
271
+ - [`a95c5cc`](https://github.com/tobymao/sqlglot/commit/a95c5ccf411dc4d28ef9c19fb03bd8a3615d7c4b) - **optimizer**: add nonnull clickhouse column test case *(commit by [@georgesittas](https://github.com/georgesittas))*
272
+ - [`6d6c689`](https://github.com/tobymao/sqlglot/commit/6d6c68915ca699da7cb707675aece963df97f80b) - **optimizer**: add annotation tests for ANY_VALUE *(PR [#6275](https://github.com/tobymao/sqlglot/pull/6275) by [@fivetran-MichaelLee](https://github.com/fivetran-MichaelLee))*
273
+ - [`2459f88`](https://github.com/tobymao/sqlglot/commit/2459f8832ae398aa1381025724a4286f7f5e3e9d) - Follow up of 6280 *(PR [#6281](https://github.com/tobymao/sqlglot/pull/6281) by [@VaggelisD](https://github.com/VaggelisD))*
274
+ - [`a7d33d0`](https://github.com/tobymao/sqlglot/commit/a7d33d0e190fc5c9f23a1ab43082ac017d20fd18) - **optimizer**: add annotation tests for APPROX_PERCENTILE *(PR [#6283](https://github.com/tobymao/sqlglot/pull/6283) by [@fivetran-MichaelLee](https://github.com/fivetran-MichaelLee))*
275
+ - [`1b2d139`](https://github.com/tobymao/sqlglot/commit/1b2d139d3338c7053dee333914323236a2d15d97) - **optimizer**: add type annotation tests with window for sf APPROX_PERCENTILE *(commit by [@geooo109](https://github.com/geooo109))*
276
+ - [`d059648`](https://github.com/tobymao/sqlglot/commit/d05964851c99553ba06e318bbbda39f9851120db) - **optimizer**: add annotation tests for APPROX_COUNT_DISTINCT *(PR [#6282](https://github.com/tobymao/sqlglot/pull/6282) by [@fivetran-MichaelLee](https://github.com/fivetran-MichaelLee))*
277
+ - [`6bd59ac`](https://github.com/tobymao/sqlglot/commit/6bd59acf2288da5bfe6151c5adf6f2a63792dc1e) - Follow up of PR 6288 *(PR [#6293](https://github.com/tobymao/sqlglot/pull/6293) by [@VaggelisD](https://github.com/VaggelisD))*
278
+ - [`546fd2a`](https://github.com/tobymao/sqlglot/commit/546fd2a2588f7b385bdbb9e39490bd6a422283ca) - Remove dead line in qualify_columns *(PR [#6304](https://github.com/tobymao/sqlglot/pull/6304) by [@VaggelisD](https://github.com/VaggelisD))*
279
+ - [`ac7ac19`](https://github.com/tobymao/sqlglot/commit/ac7ac198a3b915e63ba8a055e9a0193c3dd3e26a) - **exasol**: Implement ODBC date time literals in Exasol Sqlglot *(PR [#6311](https://github.com/tobymao/sqlglot/pull/6311) by [@nnamdi16](https://github.com/nnamdi16))*
280
+ - [`8d1d25c`](https://github.com/tobymao/sqlglot/commit/8d1d25c6de7ad03c50e3efe892d16d16329d8ee9) - **exasol**: Implement local qualifier for-aliases, in GROUP BY, WHERE AND HAVING clause in exasol dialect *(PR [#6277](https://github.com/tobymao/sqlglot/pull/6277) by [@nnamdi16](https://github.com/nnamdi16))*
281
+ - [`509b0aa`](https://github.com/tobymao/sqlglot/commit/509b0aaada0e27542864771ba14777d398b6cee0) - **exasol**: Implement day_of_week function *(PR [#6319](https://github.com/tobymao/sqlglot/pull/6319) by [@nnamdi16](https://github.com/nnamdi16))*
282
+
283
+
284
+ ## [v27.29.0] - 2025-10-29
285
+ ### :boom: BREAKING CHANGES
286
+ - due to [`5242cdd`](https://github.com/tobymao/sqlglot/commit/5242cddf487e367e7f543ca19d9bccae858f36ac) - annotate type for bq LENGTH *(commit by [@geooo109](https://github.com/geooo109))*:
287
+
288
+ annotate type for bq LENGTH
289
+
290
+ - due to [`0fc6dbf`](https://github.com/tobymao/sqlglot/commit/0fc6dbf2e7b611fa0977e3c3e61be1cc84bcf4a9) - add GREATEST_IGNORE_NULLS function support *(PR [#6161](https://github.com/tobymao/sqlglot/pull/6161) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
291
+
292
+ add GREATEST_IGNORE_NULLS function support (#6161)
293
+
294
+ - due to [`d382a31`](https://github.com/tobymao/sqlglot/commit/d382a3106d5ce2e9b75527aacd4a37d1f8e16d18) - simplify double negation only if the inner expr is BOOLEAN *(PR [#6151](https://github.com/tobymao/sqlglot/pull/6151) by [@geooo109](https://github.com/geooo109))*:
295
+
296
+ simplify double negation only if the inner expr is BOOLEAN (#6151)
297
+
298
+ - due to [`bcf6c89`](https://github.com/tobymao/sqlglot/commit/bcf6c89a47abd3c2c4383d1c908f892b6619b6fa) - add type annotation tests for snowflake BOOLAND *(PR [#6153](https://github.com/tobymao/sqlglot/pull/6153) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
299
+
300
+ add type annotation tests for snowflake BOOLAND (#6153)
301
+
302
+ - due to [`52d1eec`](https://github.com/tobymao/sqlglot/commit/52d1eecaad505703e8b22dcfe8954652f57985b6) - Annotate type for snowflake TIMESTAMP_FROM_PARTS function *(PR [#6139](https://github.com/tobymao/sqlglot/pull/6139) by [@fivetran-amrutabhimsenayachit](https://github.com/fivetran-amrutabhimsenayachit))*:
303
+
304
+ Annotate type for snowflake TIMESTAMP_FROM_PARTS function (#6139)
305
+
306
+ - due to [`8651fe6`](https://github.com/tobymao/sqlglot/commit/8651fe6526dea865c0d54d6d53086359a7835d32) - annotate types for BOOLOR *(PR [#6159](https://github.com/tobymao/sqlglot/pull/6159) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
307
+
308
+ annotate types for BOOLOR (#6159)
309
+
310
+ - due to [`812ba9a`](https://github.com/tobymao/sqlglot/commit/812ba9abad8247df81c8f8b514336c8766292112) - Annotate type for snowflake date parts functions *(PR [#6158](https://github.com/tobymao/sqlglot/pull/6158) by [@fivetran-MichaelLee](https://github.com/fivetran-MichaelLee))*:
311
+
312
+ Annotate type for snowflake date parts functions (#6158)
313
+
314
+ - due to [`9f8c123`](https://github.com/tobymao/sqlglot/commit/9f8c123ae44249e274334d0aa551ac33814f2b32) - make qualify table callback more generic *(PR [#6171](https://github.com/tobymao/sqlglot/pull/6171) by [@tobymao](https://github.com/tobymao))*:
315
+
316
+ make qualify table callback more generic (#6171)
317
+
318
+ - due to [`74b4e7c`](https://github.com/tobymao/sqlglot/commit/74b4e7c311e9d4ff39ce2e4d91940eced96aa32f) - fix type annotation for Snowflake BOOLOR and BOOLAND *(PR [#6169](https://github.com/tobymao/sqlglot/pull/6169) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
319
+
320
+ fix type annotation for Snowflake BOOLOR and BOOLAND (#6169)
321
+
322
+ - due to [`ef87520`](https://github.com/tobymao/sqlglot/commit/ef875204596b8529f3358025c7a61d757a999bdc) - Transpile `REGEXP_REPLACE` with 'g' option *(PR [#6174](https://github.com/tobymao/sqlglot/pull/6174) by [@VaggelisD](https://github.com/VaggelisD))*:
323
+
324
+ Transpile `REGEXP_REPLACE` with 'g' option (#6174)
325
+
326
+ - due to [`93071e2`](https://github.com/tobymao/sqlglot/commit/93071e255406f62ea83dd89a3be4871b7edfb3fe) - Fix simplify_parens from removing negated *(PR [#6194](https://github.com/tobymao/sqlglot/pull/6194) by [@VaggelisD](https://github.com/VaggelisD))*:
327
+
328
+ Fix simplify_parens from removing negated (#6194)
329
+
330
+ - due to [`e90168a`](https://github.com/tobymao/sqlglot/commit/e90168a6829b85534edcecec7d0df2a8b1b56fc4) - annotate type for Snowflake's `IS_NULL_VALUE` function *(PR [#6186](https://github.com/tobymao/sqlglot/pull/6186) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
331
+
332
+ annotate type for Snowflake's `IS_NULL_VALUE` function (#6186)
333
+
334
+ - due to [`c93b535`](https://github.com/tobymao/sqlglot/commit/c93b5354827282c806899c36b11e7a7598e96e38) - annotate type for LEAST_IGNORE_NULLS *(PR [#6196](https://github.com/tobymao/sqlglot/pull/6196) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*:
335
+
336
+ annotate type for LEAST_IGNORE_NULLS (#6196)
337
+
338
+ - due to [`f60c71f`](https://github.com/tobymao/sqlglot/commit/f60c71fb03db91bfe90430d032ac16f4945d5dff) - annotate types for REGR_VALX *(PR [#6198](https://github.com/tobymao/sqlglot/pull/6198) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
339
+
340
+ annotate types for REGR_VALX (#6198)
341
+
342
+ - due to [`b82c571`](https://github.com/tobymao/sqlglot/commit/b82c57131707297abe174539023b9cb62b7cd6c7) - annotate types for REGR_VALY *(PR [#6206](https://github.com/tobymao/sqlglot/pull/6206) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*:
343
+
344
+ annotate types for REGR_VALY (#6206)
345
+
346
+
347
+ ### :sparkles: New Features
348
+ - [`5242cdd`](https://github.com/tobymao/sqlglot/commit/5242cddf487e367e7f543ca19d9bccae858f36ac) - **optimizer**: annotate type for bq LENGTH *(commit by [@geooo109](https://github.com/geooo109))*
349
+ - [`0fc6dbf`](https://github.com/tobymao/sqlglot/commit/0fc6dbf2e7b611fa0977e3c3e61be1cc84bcf4a9) - **snowflake**: add GREATEST_IGNORE_NULLS function support *(PR [#6161](https://github.com/tobymao/sqlglot/pull/6161) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
350
+ - [`54ecadc`](https://github.com/tobymao/sqlglot/commit/54ecadc57b8f1e87fd2a2ba35a5366d75231ea85) - **duckdb**: support `KV_METADATA` in `COPY` statement closes [#6165](https://github.com/tobymao/sqlglot/pull/6165) *(commit by [@georgesittas](https://github.com/georgesittas))*
351
+ - [`e241964`](https://github.com/tobymao/sqlglot/commit/e2419642a4966a4da194147aa488793eae152af4) - **duckdb**: support `USING` condition for `MERGE` closes [#6162](https://github.com/tobymao/sqlglot/pull/6162) *(commit by [@georgesittas](https://github.com/georgesittas))*
352
+ - [`bcf6c89`](https://github.com/tobymao/sqlglot/commit/bcf6c89a47abd3c2c4383d1c908f892b6619b6fa) - **optimizer**: add type annotation tests for snowflake BOOLAND *(PR [#6153](https://github.com/tobymao/sqlglot/pull/6153) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
353
+ - [`52d1eec`](https://github.com/tobymao/sqlglot/commit/52d1eecaad505703e8b22dcfe8954652f57985b6) - **optimizer**: Annotate type for snowflake TIMESTAMP_FROM_PARTS function *(PR [#6139](https://github.com/tobymao/sqlglot/pull/6139) by [@fivetran-amrutabhimsenayachit](https://github.com/fivetran-amrutabhimsenayachit))*
354
+ - [`8651fe6`](https://github.com/tobymao/sqlglot/commit/8651fe6526dea865c0d54d6d53086359a7835d32) - **optimizer**: annotate types for BOOLOR *(PR [#6159](https://github.com/tobymao/sqlglot/pull/6159) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
355
+ - [`812ba9a`](https://github.com/tobymao/sqlglot/commit/812ba9abad8247df81c8f8b514336c8766292112) - **optimizer**: Annotate type for snowflake date parts functions *(PR [#6158](https://github.com/tobymao/sqlglot/pull/6158) by [@fivetran-MichaelLee](https://github.com/fivetran-MichaelLee))*
356
+ - [`9f8c123`](https://github.com/tobymao/sqlglot/commit/9f8c123ae44249e274334d0aa551ac33814f2b32) - make qualify table callback more generic *(PR [#6171](https://github.com/tobymao/sqlglot/pull/6171) by [@tobymao](https://github.com/tobymao))*
357
+ - [`74b4e7c`](https://github.com/tobymao/sqlglot/commit/74b4e7c311e9d4ff39ce2e4d91940eced96aa32f) - **optimizer**: fix type annotation for Snowflake BOOLOR and BOOLAND *(PR [#6169](https://github.com/tobymao/sqlglot/pull/6169) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
358
+ - [`e90168a`](https://github.com/tobymao/sqlglot/commit/e90168a6829b85534edcecec7d0df2a8b1b56fc4) - **optimizer**: annotate type for Snowflake's `IS_NULL_VALUE` function *(PR [#6186](https://github.com/tobymao/sqlglot/pull/6186) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
359
+ - [`cea2595`](https://github.com/tobymao/sqlglot/commit/cea25952c98e70f2a4c35e675fe7ee4df0af02cd) - **duckdb**: Transpile DATE function from BQ->DuckDB *(PR [#6178](https://github.com/tobymao/sqlglot/pull/6178) by [@fivetran-amrutabhimsenayachit](https://github.com/fivetran-amrutabhimsenayachit))*
360
+ - [`00aaa47`](https://github.com/tobymao/sqlglot/commit/00aaa47feff1cf9e69320074c35d9adfc8538026) - **duckDB**: Transpile BigQuery's CURRENT_DATE (Conversion) function to DuckDB *(PR [#6189](https://github.com/tobymao/sqlglot/pull/6189) by [@fivetran-amrutabhimsenayachit](https://github.com/fivetran-amrutabhimsenayachit))*
361
+ - [`c93b535`](https://github.com/tobymao/sqlglot/commit/c93b5354827282c806899c36b11e7a7598e96e38) - **snowflake**: annotate type for LEAST_IGNORE_NULLS *(PR [#6196](https://github.com/tobymao/sqlglot/pull/6196) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
362
+ - [`d2162fb`](https://github.com/tobymao/sqlglot/commit/d2162fbece0747b8ee42fa1f78e26baa0c944d41) - check same ref on Expression.__eq__ *(PR [#6200](https://github.com/tobymao/sqlglot/pull/6200) by [@georgesittas](https://github.com/georgesittas))*
363
+ - [`f60c71f`](https://github.com/tobymao/sqlglot/commit/f60c71fb03db91bfe90430d032ac16f4945d5dff) - **optimizer**: annotate types for REGR_VALX *(PR [#6198](https://github.com/tobymao/sqlglot/pull/6198) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
364
+ - [`42e0ae4`](https://github.com/tobymao/sqlglot/commit/42e0ae43b3531bf6c593bcac2ece2ab1d969e5e1) - **duckdb**: transpile BigQuery function TIMESTAMP_SUB to DuckDB *(PR [#6202](https://github.com/tobymao/sqlglot/pull/6202) by [@toriwei](https://github.com/toriwei))*
365
+ - [`b82c571`](https://github.com/tobymao/sqlglot/commit/b82c57131707297abe174539023b9cb62b7cd6c7) - **snowflake**: annotate types for REGR_VALY *(PR [#6206](https://github.com/tobymao/sqlglot/pull/6206) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
366
+
367
+ ### :bug: Bug Fixes
368
+ - [`3acf796`](https://github.com/tobymao/sqlglot/commit/3acf7965105a098fea6336df0c304d94acbd05ec) - **duckdb**: Allow ESCAPE NULL *(PR [#6164](https://github.com/tobymao/sqlglot/pull/6164) by [@VaggelisD](https://github.com/VaggelisD))*
369
+ - :arrow_lower_right: *fixes issue [#6160](https://github.com/tobymao/sqlglot/issues/6160) opened by [@denis-komarov](https://github.com/denis-komarov)*
370
+ - [`f7f1fca`](https://github.com/tobymao/sqlglot/commit/f7f1fca39a75df16ebb93f038e6277a25b8be6b9) - **duckdb**: Support positional index in list comprehension *(PR [#6163](https://github.com/tobymao/sqlglot/pull/6163) by [@VaggelisD](https://github.com/VaggelisD))*
371
+ - :arrow_lower_right: *fixes issue [#6156](https://github.com/tobymao/sqlglot/issues/6156) opened by [@denis-komarov](https://github.com/denis-komarov)*
372
+ - [`d382a31`](https://github.com/tobymao/sqlglot/commit/d382a3106d5ce2e9b75527aacd4a37d1f8e16d18) - **optimizer**: simplify double negation only if the inner expr is BOOLEAN *(PR [#6151](https://github.com/tobymao/sqlglot/pull/6151) by [@geooo109](https://github.com/geooo109))*
373
+ - :arrow_lower_right: *fixes issue [#6129](https://github.com/tobymao/sqlglot/issues/6129) opened by [@dllggyx](https://github.com/dllggyx)*
374
+ - [`dfe6b3c`](https://github.com/tobymao/sqlglot/commit/dfe6b3c8e6db40e22e626e2d56e9a7008dd75c32) - **optimizer**: Disambiguate JOIN ON columns during qualify *(PR [#6155](https://github.com/tobymao/sqlglot/pull/6155) by [@VaggelisD](https://github.com/VaggelisD))*
375
+ - :arrow_lower_right: *fixes issue [#6132](https://github.com/tobymao/sqlglot/issues/6132) opened by [@Fosly](https://github.com/Fosly)*
376
+ - [`f267ece`](https://github.com/tobymao/sqlglot/commit/f267ecea92b0751f6b35a4ad0c70fe6754e49038) - normalize before qualifying tables *(PR [#6176](https://github.com/tobymao/sqlglot/pull/6176) by [@georgesittas](https://github.com/georgesittas))*
377
+ - :arrow_lower_right: *fixes issue [#6167](https://github.com/tobymao/sqlglot/issues/6167) opened by [@schelip](https://github.com/schelip)*
378
+ - [`ef87520`](https://github.com/tobymao/sqlglot/commit/ef875204596b8529f3358025c7a61d757a999bdc) - **postgres, duckdb**: Transpile `REGEXP_REPLACE` with 'g' option *(PR [#6174](https://github.com/tobymao/sqlglot/pull/6174) by [@VaggelisD](https://github.com/VaggelisD))*
379
+ - :arrow_lower_right: *fixes issue [#6170](https://github.com/tobymao/sqlglot/issues/6170) opened by [@kyle-cheung](https://github.com/kyle-cheung)*
380
+ - [`51a8d70`](https://github.com/tobymao/sqlglot/commit/51a8d700a9602278d1e98425af0fa87d02c739fe) - **parser**: allow LIMIT % OFFSET *(PR [#6184](https://github.com/tobymao/sqlglot/pull/6184) by [@toriwei](https://github.com/toriwei))*
381
+ - :arrow_lower_right: *fixes issue [#6166](https://github.com/tobymao/sqlglot/issues/6166) opened by [@denis-komarov](https://github.com/denis-komarov)*
382
+ - [`8bf0a9f`](https://github.com/tobymao/sqlglot/commit/8bf0a9fe8e167984dc2e7b43d52d3850e063da3f) - **duckdb**: Cast literal arg to timestamp for epoch_us function *(PR [#6190](https://github.com/tobymao/sqlglot/pull/6190) by [@vchan](https://github.com/vchan))*
383
+ - [`93071e2`](https://github.com/tobymao/sqlglot/commit/93071e255406f62ea83dd89a3be4871b7edfb3fe) - **optimizer**: Fix simplify_parens from removing negated *(PR [#6194](https://github.com/tobymao/sqlglot/pull/6194) by [@VaggelisD](https://github.com/VaggelisD))*
384
+ - :arrow_lower_right: *fixes issue [#6179](https://github.com/tobymao/sqlglot/issues/6179) opened by [@dllggyx](https://github.com/dllggyx)*
385
+ - [`2ac3a03`](https://github.com/tobymao/sqlglot/commit/2ac3a03409d9239d0cf7fb265843d7837a0a3fcd) - **lineage**: correct star detection and add join star tests *(PR [#6185](https://github.com/tobymao/sqlglot/pull/6185) by [@lancewl](https://github.com/lancewl))*
386
+ - [`c9ae2eb`](https://github.com/tobymao/sqlglot/commit/c9ae2ebdb86abdb767f2fcb00da0b6277b4aea45) - **duckdb**: transpile BigQuery TIMESTAMP_ADD to duckdb *(PR [#6188](https://github.com/tobymao/sqlglot/pull/6188) by [@toriwei](https://github.com/toriwei))*
387
+ - [`ba0e17a`](https://github.com/tobymao/sqlglot/commit/ba0e17a25af417e24162bfab49c3074454a5c1a8) - **snowflake**: Transpile `ARRAY_CONCAT_AGG` to `ARRAY_FLATTEN(ARRAY_AGG(...))` *(PR [#6192](https://github.com/tobymao/sqlglot/pull/6192) by [@ozadari](https://github.com/ozadari))*
388
+ - [`730e4cc`](https://github.com/tobymao/sqlglot/commit/730e4cc5b77bff9135667193cc0a65c24cdfb6b5) - **trino**: Allow 2nd arg for FIRST/LAST functions *(PR [#6205](https://github.com/tobymao/sqlglot/pull/6205) by [@VaggelisD](https://github.com/VaggelisD))*
389
+ - :arrow_lower_right: *fixes issue [#6204](https://github.com/tobymao/sqlglot/issues/6204) opened by [@Harmuth94](https://github.com/Harmuth94)*
390
+
391
+ ### :recycle: Refactors
392
+ - [`6d775fd`](https://github.com/tobymao/sqlglot/commit/6d775fdb6091cb866c27c0f1141514b23d689284) - snowflake GREATEST type checks *(commit by [@geooo109](https://github.com/geooo109))*
393
+ - [`e797fb1`](https://github.com/tobymao/sqlglot/commit/e797fb105f7fa4e7bd42698eda71037cae9fd155) - update `LIKE` operator when using functional syntax with spark dialect *(PR [#6173](https://github.com/tobymao/sqlglot/pull/6173) by [@themattmorris](https://github.com/themattmorris))*
394
+ - :arrow_lower_right: *addresses issue [#6172](https://github.com/tobymao/sqlglot/issues/6172) opened by [@themattmorris](https://github.com/themattmorris)*
395
+
396
+ ### :wrench: Chores
397
+ - [`aca106c`](https://github.com/tobymao/sqlglot/commit/aca106c660b8aaf229065ec5c5a4a80d10e8daf6) - **optimizer**: add type annotation tests for snowflake GREATEST *(PR [#6157](https://github.com/tobymao/sqlglot/pull/6157) by [@fivetran-ashashankar](https://github.com/fivetran-ashashankar))*
398
+ - [`f763604`](https://github.com/tobymao/sqlglot/commit/f7636041d7b796545ed923ffd4803521f05fa7ea) - add `IS [NOT]` tests *(commit by [@georgesittas](https://github.com/georgesittas))*
399
+ - [`1ab5854`](https://github.com/tobymao/sqlglot/commit/1ab5854216da591e6036ac103239ac0280e09c3d) - **optimizer**: add snowflake test for [NOT] IN *(PR [#6180](https://github.com/tobymao/sqlglot/pull/6180) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
400
+ - [`64939ce`](https://github.com/tobymao/sqlglot/commit/64939ce9926f4740387a151311e918e807bfa681) - **optimizer**: add annotation tests for ZEROIFNULL *(PR [#6187](https://github.com/tobymao/sqlglot/pull/6187) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
401
+ - [`4b6bcdd`](https://github.com/tobymao/sqlglot/commit/4b6bcdd4dc297bd42ad000ffda98d14110565dc9) - **optimizer**: Add tests for snowflake's `NULLIFZERO` *(PR [#6197](https://github.com/tobymao/sqlglot/pull/6197) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
402
+ - [`ef68075`](https://github.com/tobymao/sqlglot/commit/ef680756c33da180ed2f21fb6113a0123db341c9) - **optimizer**: add annotation tests for NVL2 *(PR [#6208](https://github.com/tobymao/sqlglot/pull/6208) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
403
+ - [`7f550f2`](https://github.com/tobymao/sqlglot/commit/7f550f22da40d8c1cfc8afb183d6e4dbd50241ea) - **optimizer**: add annotation tests for NVL *(PR [#6207](https://github.com/tobymao/sqlglot/pull/6207) by [@fivetran-felixhuang](https://github.com/fivetran-felixhuang))*
404
+
405
+
4
406
  ## [v27.28.0] - 2025-10-21
5
407
  ### :boom: BREAKING CHANGES
6
408
  - due to [`2238ac2`](https://github.com/tobymao/sqlglot/commit/2238ac27478bd272ba39928bbec1075c4191ee1b) - transpile timestamp literals in datediff fixes [#6083](https://github.com/tobymao/sqlglot/pull/6083) *(PR [#6086](https://github.com/tobymao/sqlglot/pull/6086) by [@georgesittas](https://github.com/georgesittas))*:
@@ -8047,3 +8449,5 @@ Changelog
8047
8449
  [v27.26.0]: https://github.com/tobymao/sqlglot/compare/v27.25.2...v27.26.0
8048
8450
  [v27.27.0]: https://github.com/tobymao/sqlglot/compare/v27.26.0...v27.27.0
8049
8451
  [v27.28.0]: https://github.com/tobymao/sqlglot/compare/v27.27.0...v27.28.0
8452
+ [v27.29.0]: https://github.com/tobymao/sqlglot/compare/v27.28.1...v27.29.0
8453
+ [v28.0.0]: https://github.com/tobymao/sqlglot/compare/v27.29.0...v28.0.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sqlglot
3
- Version: 27.29.0
3
+ Version: 28.1.0
4
4
  Summary: An easily customizable SQL parser and transpiler
5
5
  Author-email: Toby Mao <toby.mao@gmail.com>
6
6
  License-Expression: MIT
@@ -33,7 +33,7 @@ Requires-Dist: typing_extensions; extra == "dev"
33
33
  Requires-Dist: maturin<2.0,>=1.4; extra == "dev"
34
34
  Requires-Dist: pyperf; extra == "dev"
35
35
  Provides-Extra: rs
36
- Requires-Dist: sqlglotrs==0.7.3; extra == "rs"
36
+ Requires-Dist: sqlglotrs==0.8.0; extra == "rs"
37
37
  Dynamic: license-file
38
38
  Dynamic: provides-extra
39
39
 
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '27.29.0'
32
- __version_tuple__ = version_tuple = (27, 29, 0)
31
+ __version__ = version = '28.1.0'
32
+ __version_tuple__ = version_tuple = (28, 1, 0)
33
33
 
34
- __commit_id__ = commit_id = 'g7f550f22d'
34
+ __commit_id__ = commit_id = 'gb321ca619'