Skip to content

Commit 4b07478

Browse files
committed
Add tests for streams on DYNAMIC_TABLE
1 parent db9de3c commit 4b07478

File tree

13 files changed

+63
-1
lines changed

13 files changed

+63
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [0.62.1] - 2026-01-21
4+
5+
- Added `DYNAMIC_TABLE` support for streams (thanks to @nigel-gott).
6+
- Added grant check for share access roles. Grant should be restored when underlying inbound share was dropped and re-created.
7+
- Prevented reset of `WORKSPACE_USER_SETTINGS` user parameter if it was not specified in config. We have to wait for documentation describing this parameter in order to make final decision.
8+
39
## [0.62.0] - 2026-01-13
410

511
- Added `application_roles` parameter form `BUSINESS_ROLE` object type. It is now possible to grant application roles directly to business roles. Env prefix is currently not supported, applications are supposed to be managed via different means for now.

snowddl/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.62.0"
1+
__version__ = "0.62.1"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
text: |-
2+
SELECT id, name
3+
FROM ${{ env_prefix }}db1.sc1.str006_tb1
4+
5+
warehouse: str006_wh1
6+
target_lag: 1 hour

test/_config/step1/db1/sc1/params.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ owner_warehouse_usage:
1212
- mp001_wh1
1313
- pp001_wh1
1414
- rp001_wh1
15+
- str006_wh1
1516
- ts001_wh1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
object_type: DYNAMIC_TABLE
2+
object_name: str006_dt1
3+
comment: abc
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
columns:
2+
id: NUMBER(10,0)
3+
name: VARCHAR(255)
4+
5+
change_tracking: true

test/_config/step1/warehouse.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ pp001_wh1:
4040
rp001_wh1:
4141
size: XSMALL
4242

43+
str006_wh1:
44+
size: XSMALL
45+
4346
ts001_wh1:
4447
size: XSMALL
4548

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
text: |-
2+
SELECT id, name
3+
FROM ${{ env_prefix }}db1.sc1.str006_tb1
4+
5+
warehouse: str006_wh1
6+
target_lag: 1 hour

test/_config/step2/db1/sc1/params.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ owner_warehouse_usage:
1111
- mp001_wh1
1212
- pp001_wh1
1313
- rp001_wh1
14+
- str006_wh1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
object_type: DYNAMIC_TABLE
2+
object_name: str006_dt1
3+
comment: cde

0 commit comments

Comments
 (0)