Skip to content

Commit 85ff1ac

Browse files
authored
Merge branch 'SQLMesh:main' into comment_suppport_mssql
2 parents 943b63a + 86d6d42 commit 85ff1ac

59 files changed

Lines changed: 1577 additions & 211 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pr.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,15 @@ jobs:
188188

189189
ui-style:
190190
needs: [changes]
191-
if:
192-
needs.changes.outputs.client == 'true' || needs.changes.outputs.ci ==
193-
'true' || github.ref == 'refs/heads/main'
191+
if: false
192+
# needs.changes.outputs.client == 'true' || needs.changes.outputs.ci ==
193+
# 'true' || github.ref == 'refs/heads/main'
194194
runs-on: ubuntu-latest
195195
steps:
196196
- uses: actions/checkout@v5
197197
- uses: actions/setup-node@v6
198198
with:
199-
node-version: '20'
199+
node-version: '22'
200200
- uses: pnpm/action-setup@v4
201201
with:
202202
version: latest
@@ -396,6 +396,7 @@ jobs:
396396
env:
397397
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
398398
runs-on: ubuntu-latest
399+
if: false
399400
steps:
400401
- uses: actions/checkout@v5
401402
- uses: actions/setup-node@v6

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
- uses: actions/checkout@v5
1313
- uses: actions/setup-node@v6
1414
with:
15-
node-version: '20'
15+
node-version: '22'
1616
- uses: pnpm/action-setup@v4
1717
with:
1818
version: latest
1919
- name: Install dependencies
20-
run: pnpm install
20+
run: pnpm install --frozen-lockfile
2121
- name: Build UI
2222
run: pnpm --prefix web/client run build
2323
- name: Upload UI build artifact

.github/workflows/release_extension.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Node.js
3131
uses: actions/setup-node@v6
3232
with:
33-
node-version: '20'
33+
node-version: '22'
3434
- name: Install pnpm
3535
uses: pnpm/action-setup@v4
3636
with:

.github/workflows/release_shared_js.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup Node.js
3434
uses: actions/setup-node@v6
3535
with:
36-
node-version: '20'
36+
node-version: '22'
3737
registry-url: 'https://registry.npmjs.org'
3838
- name: Update npm
3939
run: npm install -g npm@latest

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

docs/cloud/features/scheduler/airflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Start by installing the `tobiko-cloud-scheduler-facade` library in your Airflow
3535
Make sure to include the `[airflow]` extra in the installation command:
3636

3737
``` bash
38-
$ pip install tobiko-cloud-scheduler-facade[airflow]
38+
pip install tobiko-cloud-scheduler-facade[airflow]
3939
```
4040

4141
!!! info "Mac Users"

docs/cloud/features/scheduler/dagster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies = [
4848
And then install it into the Python environment used by your Dagster project:
4949

5050
```sh
51-
$ pip install -e '.[dev]'
51+
pip install -e '.[dev]'
5252
```
5353

5454
### Connect Dagster to Tobiko Cloud

docs/cloud/features/security/single_sign_on.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Here is what you will see if you are accessing Tobiko Cloud via Okta. Click on t
145145
You can see what the status of your session is with the `status` command:
146146

147147
``` bash
148-
$ tcloud auth status
148+
tcloud auth status
149149
```
150150

151151

@@ -156,7 +156,7 @@ $ tcloud auth status
156156
Run the `login` command to begin the login process:
157157

158158
``` bash
159-
$ tcloud auth login
159+
tcloud auth login
160160
```
161161

162162
![tcloud_login](./single_sign_on/tcloud_login.png)
@@ -183,11 +183,11 @@ Current Tobiko Cloud SSO session expires in 1439 minutes
183183
In order to delete your session information you can use the log out command:
184184

185185
``` bash
186-
> tcloud auth logout
187-
Logged out of Tobiko Cloud
186+
tcloud auth logout
187+
# Logged out of Tobiko Cloud
188188
189-
> tcloud auth status
190-
Not currently authenticated
189+
tcloud auth status
190+
# Not currently authenticated
191191
```
192192

193193
![tcloud_logout](./single_sign_on/tcloud_logout.png)

docs/cloud/features/xdb_diffing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Then, specify each table's gateway in the `table_diff` command with this syntax:
4747
For example, we could diff the `landing.table` table across `bigquery` and `snowflake` gateways like this:
4848

4949
```sh
50-
$ tcloud sqlmesh table_diff 'bigquery|landing.table:snowflake|landing.table'
50+
tcloud sqlmesh table_diff 'bigquery|landing.table:snowflake|landing.table'
5151
```
5252

5353
This syntax tells SQLMesh to use the cross-database diffing algorithm instead of the normal within-database diffing algorithm.

docs/concepts/state.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The state file is a simple `json` file that looks like:
9292
You can export a specific environment like so:
9393

9494
```sh
95-
$ sqlmesh state export --environment my_dev -o my_dev_state.json
95+
sqlmesh state export --environment my_dev -o my_dev_state.json
9696
```
9797

9898
Note that every snapshot that is part of the environment will be exported, not just the differences from `prod`. The reason for this is so that the environment can be fully imported elsewhere without any assumptions about which snapshots are already present in state.
@@ -102,7 +102,7 @@ Note that every snapshot that is part of the environment will be exported, not j
102102
You can export local state like so:
103103

104104
```bash
105-
$ sqlmesh state export --local -o local_state.json
105+
sqlmesh state export --local -o local_state.json
106106
```
107107

108108
This essentially just exports the state of the local context which includes local changes that have not been applied to any virtual data environments.
@@ -174,10 +174,11 @@ If your project has [multiple gateways](../guides/configuration.md#gateways) wit
174174

175175
```bash
176176
# state export
177-
$ sqlmesh --gateway <gateway> state export -o state.json
178-
177+
sqlmesh --gateway <gateway> state export -o state.json
178+
```
179+
```bash
179180
# state import
180-
$ sqlmesh --gateway <gateway> state import -i state.json
181+
sqlmesh --gateway <gateway> state import -i state.json
181182
```
182183

183184
## Version Compatibility

0 commit comments

Comments
 (0)