Skip to content

Commit 9278215

Browse files
authored
Merge branch 'main' into render-scope-upstream-snapshots
2 parents 4e60e2c + cc30650 commit 9278215

23 files changed

Lines changed: 202 additions & 45 deletions

File tree

‎.github/workflows/pr.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ jobs:
457457
strategy:
458458
fail-fast: false
459459
matrix:
460-
dbt-version: ['1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9', '1.10']
460+
dbt-version: ['1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9', '1.10', '1.11']
461461
steps:
462462
- uses: actions/checkout@v7
463463
- name: Set up Python

‎Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ install-dev-dbt-%:
3333
echo "Installing dbt version: $$version"; \
3434
cp pyproject.toml pyproject.toml.backup; \
3535
$(SED_INPLACE) 's/"pydantic>=2.0.0"/"pydantic"/g' pyproject.toml; \
36-
if [ "$$version" = "1.10.0" ]; then \
37-
echo "Applying special handling for dbt 1.10.0"; \
36+
if [ "$$version" = "1.10.0" ] || [ "$$version" = "1.11.0" ]; then \
37+
echo "Applying special handling for dbt $$version"; \
3838
$(SED_INPLACE) -E 's/"(dbt-core)[^"]*"/"\1~='"$$version"'"/g' pyproject.toml; \
3939
$(SED_INPLACE) -E 's/"(dbt-(bigquery|duckdb|snowflake|athena-community|clickhouse|redshift|trino))[^"]*"/"\1"/g' pyproject.toml; \
4040
$(SED_INPLACE) -E 's/"(dbt-databricks)[^"]*"/"\1~='"$$version"'"/g' pyproject.toml; \

‎docs/concepts/models/overview.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ This table lists each engine's support for `TABLE` and `VIEW` object comments:
190190
| Redshift | Y | N |
191191
| Snowflake | Y | Y |
192192
| Spark | Y | Y |
193+
| StarRocks | Y | Y |
193194
| Trino | Y | Y |
194195

195196

‎docs/guides/configuration.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,19 +930,22 @@ Example snowflake connection configuration:
930930
These pages describe the connection configuration options for each execution engine.
931931

932932
* [Athena](../integrations/engines/athena.md)
933+
* [Azure SQL](../integrations/engines/azuresql.md)
933934
* [BigQuery](../integrations/engines/bigquery.md)
935+
* [ClickHouse](../integrations/engines/clickhouse.md)
934936
* [Databricks](../integrations/engines/databricks.md)
935937
* [DuckDB](../integrations/engines/duckdb.md)
936938
* [Fabric](../integrations/engines/fabric.md)
937939
* [MotherDuck](../integrations/engines/motherduck.md)
938-
* [MySQL](../integrations/engines/mysql.md)
939940
* [MSSQL](../integrations/engines/mssql.md)
941+
* [MySQL](../integrations/engines/mysql.md)
940942
* [Postgres](../integrations/engines/postgres.md)
941943
* [GCP Postgres](../integrations/engines/gcp-postgres.md)
942944
* [Redshift](../integrations/engines/redshift.md)
945+
* [RisingWave](../integrations/engines/risingwave.md)
943946
* [Snowflake](../integrations/engines/snowflake.md)
944-
* [StarRocks](../integrations/engines/starrocks.md)
945947
* [Spark](../integrations/engines/spark.md)
948+
* [StarRocks](../integrations/engines/starrocks.md)
946949
* [Trino](../integrations/engines/trino.md)
947950

948951
#### State connection

‎docs/guides/connections.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,20 @@ default_gateway: local_db
7979

8080
## Supported engines
8181

82+
* [Athena](../integrations/engines/athena.md)
83+
* [Azure SQL](../integrations/engines/azuresql.md)
8284
* [BigQuery](../integrations/engines/bigquery.md)
85+
* [ClickHouse](../integrations/engines/clickhouse.md)
8386
* [Databricks](../integrations/engines/databricks.md)
8487
* [DuckDB](../integrations/engines/duckdb.md)
88+
* [Fabric](../integrations/engines/fabric.md)
8589
* [MotherDuck](../integrations/engines/motherduck.md)
86-
* [MySQL](../integrations/engines/mysql.md)
8790
* [MSSQL](../integrations/engines/mssql.md)
91+
* [MySQL](../integrations/engines/mysql.md)
8892
* [Postgres](../integrations/engines/postgres.md)
8993
* [GCP Postgres](../integrations/engines/gcp-postgres.md)
9094
* [Redshift](../integrations/engines/redshift.md)
95+
* [RisingWave](../integrations/engines/risingwave.md)
9196
* [Snowflake](../integrations/engines/snowflake.md)
9297
* [Spark](../integrations/engines/spark.md)
9398
* [StarRocks](../integrations/engines/starrocks.md)

‎docs/installation.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,16 @@ Other extras are required to use specific SQL engines, like Bigquery or Postgres
5454
| Bigquery | `pip install "sqlmesh[bigquery]"` |
5555
| ClickHouse | `pip install "sqlmesh[clickhouse]"` |
5656
| Databricks | `pip install "sqlmesh[databricks]"` |
57+
| Fabric | `pip install "sqlmesh[fabric]"` |
5758
| GCP Postgres | `pip install "sqlmesh[gcppostgres]"` |
5859
| MS SQL Server | `pip install "sqlmesh[mssql]"` |
60+
| MotherDuck | `pip install "sqlmesh[motherduck]"` |
5961
| MySQL | `pip install "sqlmesh[mysql]"` |
6062
| Postgres | `pip install "sqlmesh[postgres]"` |
6163
| Redshift | `pip install "sqlmesh[redshift]"` |
6264
| RisingWave | `pip install "sqlmesh[risingwave]"` |
6365
| Snowflake | `pip install "sqlmesh[snowflake]"` |
66+
| StarRocks | `pip install "sqlmesh[starrocks]"` |
6467
| Trino | `pip install "sqlmesh[trino]"` |
6568

6669
Multiple extras can be installed at once, as in `pip install "sqlmesh[github,slack]"`.

‎docs/integrations/dbt.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,12 @@ If set to `False`, then the snapshot will be skipped and a warning will be logge
287287
Support for this will be added soon.
288288

289289
## Tests
290-
SQLMesh uses dbt tests to perform SQLMesh [audits](../concepts/audits.md) (coming soon).
291290

292-
Add SQLMesh [unit tests](../concepts/tests.md) to a dbt project by placing them in the "tests" directory.
291+
dbt and SQLMesh use the word "test" differently. See [Workflow differences](#workflow-differences-between-sqlmesh-and-dbt) above for an overview.
292+
293+
SQLMesh converts dbt tests (singular and generic `.sql` files in the `tests/` directory) into SQLMesh [audits](../concepts/audits.md). These run against data that already exists in your tables, just like dbt tests.
294+
295+
Add SQLMesh [unit tests](../concepts/tests.md) to a dbt project by placing YAML files named `test*.yaml` or `test*.yml` in the `tests/` directory. Unit tests validate model query logic with predefined inputs and expected outputs; they are separate from dbt's SQL test files.
293296

294297
## Seed column types
295298

‎docs/quickstart/cli.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ Choose your SQL engine:
116116
[14] MySQL
117117
[15] Athena
118118
[16] RisingWave
119+
[17] Fabric
120+
[18] StarRocks
119121

120122
Enter a number: 1
121123
```

‎docs/reference/configuration.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,18 +224,22 @@ Most parameters are specific to the connection engine `type` - see [below](#engi
224224
These pages describe the connection configuration options for each execution engine.
225225

226226
* [Athena](../integrations/engines/athena.md)
227+
* [Azure SQL](../integrations/engines/azuresql.md)
227228
* [BigQuery](../integrations/engines/bigquery.md)
228229
* [ClickHouse](../integrations/engines/clickhouse.md)
229230
* [Databricks](../integrations/engines/databricks.md)
230231
* [DuckDB](../integrations/engines/duckdb.md)
232+
* [Fabric](../integrations/engines/fabric.md)
231233
* [MotherDuck](../integrations/engines/motherduck.md)
232-
* [MySQL](../integrations/engines/mysql.md)
233234
* [MSSQL](../integrations/engines/mssql.md)
235+
* [MySQL](../integrations/engines/mysql.md)
234236
* [Postgres](../integrations/engines/postgres.md)
235237
* [GCP Postgres](../integrations/engines/gcp-postgres.md)
236238
* [Redshift](../integrations/engines/redshift.md)
239+
* [RisingWave](../integrations/engines/risingwave.md)
237240
* [Snowflake](../integrations/engines/snowflake.md)
238241
* [Spark](../integrations/engines/spark.md)
242+
* [StarRocks](../integrations/engines/starrocks.md)
239243
* [Trino](../integrations/engines/trino.md)
240244

241245
### Scheduler

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ dev = [
7878
"google-auth",
7979
"google-cloud-bigquery",
8080
"google-cloud-bigquery-storage",
81-
"httpx",
81+
"httpx2",
8282
"mypy~=1.13.0",
8383
"numpy",
8484
"pandas-stubs",

0 commit comments

Comments
 (0)