Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
agnessnowplow committed Oct 13, 2022
1 parent b49931e commit 9312625
Show file tree
Hide file tree
Showing 24 changed files with 32 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .test/great_expectations/expectations/web/v1/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"versions": {
"test_suite_version": "1.1.1",
"bigquery_model_version": "1.0.3",
"snowflake_model_version": "1.0.1"
"snowflake_model_version": "1.0.2"
},
"great_expectations.__version__": "0.12.0"
}
Expand Down
2 changes: 1 addition & 1 deletion .test/great_expectations/expectations/web/v1/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"test_suite_version": "1.1.1",
"redshift_model_version": "1.3.1",
"bigquery_model_version": "1.0.3",
"snowflake_model_version": "1.0.1"
"snowflake_model_version": "1.0.2"
},
"great_expectations.__version__": "0.12.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"test_suite_version": "1.1.1",
"redshift_model_version": "1.3.1",
"bigquery_model_version": "1.0.3",
"snowflake_model_version": "1.0.1"
"snowflake_model_version": "1.0.2"
},
"great_expectations.__version__": "0.12.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
"test_suite_version": "1.1.1",
"redshift_model_version": "1.3.1",
"bigquery_model_version": "1.0.3",
"snowflake_model_version": "1.0.1"
"snowflake_model_version": "1.0.2"
},
"great_expectations.__version__": "0.12.0"
}
Expand Down
2 changes: 1 addition & 1 deletion .test/great_expectations/expectations/web/v1/sessions.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
"test_suite_version": "1.1.1",
"redshift_model_version": "1.3.1",
"bigquery_model_version": "1.0.3",
"snowflake_model_version": "1.0.1"
"snowflake_model_version": "1.0.2"
},
"great_expectations.__version__": "0.12.0"
}
Expand Down
2 changes: 1 addition & 1 deletion .test/great_expectations/expectations/web/v1/users.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"test_suite_version": "1.1.1",
"redshift_model_version": "1.3.1",
"bigquery_model_version": "1.0.3",
"snowflake_model_version": "1.0.1"
"snowflake_model_version": "1.0.2"
},
"great_expectations.__version__": "0.12.0"
}
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Snowflake Web Version 1.0.2 (2022-10-13)
----------------------------------------
Snowflake Web: Optimise partition pruning (Close #140)

Redshift Web Version 1.3.1 (2022-09-02)
--------------------------------------
Redshift Web: load_tstamp missing from table definition (#135)
Expand Down
4 changes: 4 additions & 0 deletions web/v1/snowflake/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 1.0.2 (2022-10-13)
--------------------------
Snowflake web: Optimise partition pruning (Close #140)

Version 1.0.1 (2022-02-24)
--------------------------
Snowflake web: Update column check stored procedure (Close #125)
Expand Down
6 changes: 3 additions & 3 deletions web/v1/snowflake/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Detail on configuring the users module's playbook can be found [in the relevant

## A note on duplicates

This version of the model (1.0.1) excludes duplicated `event_id`s and `page_view_id`s. Ideally in the future it will provide standard options for handling them.
This version of the model (1.0.2) excludes duplicated `event_id`s and `page_view_id`s. Ideally in the future it will provide standard options for handling them.

If there is a need to handle duplicates, this can be done by adding a custom module to the base level of aggregation - take good care to manage the possibility of introducing duplicates downstream if doing so.

Expand All @@ -223,8 +223,8 @@ Normally, one would expect less than 1% duplicates in the dataset. If the requir

## A note on Constraints and Clustering keys

This 1.0.1 version of the Snowflake web model does not use Constraints or Clustering keys in the table definitions, even though it could.
This 1.0.2 version of the Snowflake web model does not use Constraints or Clustering keys in the table definitions, even though it could.

Concerning [clustering keys](https://docs.snowflake.com/en/user-guide/tables-clustering-keys.html#strategies-for-selecting-clustering-keys), Snowflake's naturally clusters the tables on insertion order, and there hasn't been evidence so far suggesting a change towards another manual clustering strategy.

Concerning table [constraints](https://docs.snowflake.com/en/sql-reference/constraints-overview.html), it is a fact that Snowflake enforces **only** the `NOT NULL` constraint. Therefore, in this 1.0.1 version we decided to include only this constraint that is actually enforced, for clarity on the model's assumptions.
Concerning table [constraints](https://docs.snowflake.com/en/sql-reference/constraints-overview.html), it is a fact that Snowflake enforces **only** the `NOT NULL` constraint. Therefore, in this 1.0.2 version we decided to include only this constraint that is actually enforced, for clarity on the model's assumptions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:input_schema: atomic
:scratch_schema: scratch
:output_schema: derived
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.1
:model_version: snowflake/web/1.0.2
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down

0 comments on commit 9312625

Please sign in to comment.