You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- summary of changes -->
- Added more tests for the warehouse parameter
- Added validation tests
- Added integration test for setting a non-existing warehouse
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ We believe that code following the same conventions is easier to maintain and ex
106
106
107
107
### Introducing a new part of the SDK
108
108
109
-
To create new objects in our SDK we use quickly created generator that outputs the majority of the files needed. These files should be later edited and filled with the missing parts. We plan to improve the generator later on, but it should be enough for now. Please read more in the [generator readme](pkg/sdk/poc/README.md).
109
+
To create new objects in our SDK we use quickly created generator that outputs the majority of the files needed. These files should be later edited and filled with the missing parts. We plan to improve the generator later on, but it should be enough for now. Please read more in the [generator readme](pkg/sdk/generator/README.md).
110
110
111
111
### Test the change
112
112
Every introduced change should be tested. Depending on the type of the change it may require (any or mix of):
Copy file name to clipboardExpand all lines: docs/resources/notebook.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ description: |-
9
9
10
10
-> **Note**`secrets` is currently not supported. It will be supported in the following versions of the provider which may still affect this resource.
11
11
12
+
-> **Note**`warehouse` and `query_warehouse` parameters can only be set to upper-case identifiers.
13
+
12
14
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled` field in the [provider configuration](https://registry.terraform.io/providers/snowflakedb/snowflake/latest/docs#schema). Please always refer to the [Getting Help](https://github.com/snowflakedb/terraform-provider-snowflake?tab=readme-ov-file#getting-help) section in our Github repo to best determine how to get help for your questions.
-`from` (Block List) Specifies the location in a stage of an .ipynb file from which the notebook should be created. MAIN_FILE parameter a user-specified identifier for the notebook file name must also be set alongside it. (see [below for nested schema](#nestedblock--from))
63
65
-`idle_auto_shutdown_time_seconds` (Number) Specifies the number of seconds of idle time before the notebook is shut down automatically.
64
66
-`main_file` (String) Specifies a user-specified identifier for the notebook file name.
65
-
-`query_warehouse` (String) Specifies the warehouse where SQL queries in the notebook are run.
67
+
-`query_warehouse` (String) Specifies the warehouse where SQL queries in the notebook are run. Only upper-case identifiers are supported.
66
68
-`timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
67
-
-`warehouse` (String) Specifies the warehouse that runs the notebook kernel and python code.
69
+
-`warehouse` (String) Specifies the warehouse that runs the notebook kernel and python code. Only upper-case identifiers are supported.
Copy file name to clipboardExpand all lines: templates/resources/notebook.md.tmpl
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ description: |-
13
13
14
14
-> **Note** `secrets` is currently not supported. It will be supported in the following versions of the provider which may still affect this resource.
15
15
16
+
-> **Note** `warehouse` and `query_warehouse` parameters can only be set to upper-case identifiers.
17
+
16
18
!> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `preview_features_enabled` field in the [provider configuration](https://registry.terraform.io/providers/snowflakedb/snowflake/latest/docs#schema). Please always refer to the [Getting Help](https://github.com/snowflakedb/terraform-provider-snowflake?tab=readme-ov-file#getting-help) section in our Github repo to best determine how to get help for your questions.
0 commit comments