Skip to content

Commit

Permalink
Merge pull request #126 from snowplow/release/web/snowflake/1.0.1
Browse files Browse the repository at this point in the history
Release/web/snowflake/1.0.1
  • Loading branch information
agnessnowplow authored Feb 24, 2022
2 parents ba0d08c + 3b56bc5 commit eaeb04a
Show file tree
Hide file tree
Showing 79 changed files with 212 additions and 179 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.0"
"snowflake_model_version": "1.0.1"
},
"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.2.0",
"bigquery_model_version": "1.0.3",
"snowflake_model_version": "1.0.0"
"snowflake_model_version": "1.0.1"
},
"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.2.0",
"bigquery_model_version": "1.0.3",
"snowflake_model_version": "1.0.0"
"snowflake_model_version": "1.0.1"
},
"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.2.0",
"bigquery_model_version": "1.0.3",
"snowflake_model_version": "1.0.0"
"snowflake_model_version": "1.0.1"
},
"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.2.0",
"bigquery_model_version": "1.0.3",
"snowflake_model_version": "1.0.0"
"snowflake_model_version": "1.0.1"
},
"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.2.0",
"bigquery_model_version": "1.0.3",
"snowflake_model_version": "1.0.0"
"snowflake_model_version": "1.0.1"
},
"great_expectations.__version__": "0.12.0"
}
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Snowflake Web Version 1.0.1 (2022-02-24)
---------------------------------------
Snowflake Web: Update column check stored procedure (Close #125)
Snowflake Web: Fix varchar length for pseudonymized fields (Close #122)
Snowflake Web: Remove start_date variable from users module (Close #123)
Snowflake Web: Update copyright notices (Close #124)
Snowflake Web: Fix logic in users_sessions_this_run to account for sparse data (Close #120)
Snowflake Web: Fix varchar length for yauaa columns (Close #97)
Snowflake Web: Fix se_label column length in events_staged (Close #109)

Snowflake Mobile Version 1.1.0 (2021-06-16)
---------------------------------------
Snowflake Mobile: Update update_manifest to throw error message (Close #104)
Expand Down
10 changes: 10 additions & 0 deletions web/v1/snowflake/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Version 1.0.1 (2022-02-24)
--------------------------
Snowflake web: Update column check stored procedure (Close #125)
Snowflake web: Fix varchar length for pseudonymized fields (Close #122)
Snowflake web: Remove start_date variable from users module (Close #123)
Snowflake web: Update copyright notices (Close #124)
Snowflake web: Fix logic in users_sessions_this_run to account for sparse data (Close #120)
Snowflake web: Fix varchar length for yauaa columns (Close #97)
Snowflake web: Fix se_label column length in events_staged (Close #109)

Version 1.0.0 (2021-02-11)
--------------------------
Add Snowflake web model v1 (#31)
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.0) 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.1) 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.0 version of the Snowflake web model does not use Constraints or Clustering keys in the table definitions, even though it could.
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.

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.0 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.1 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.0
:model_version: snowflake/web/1.0.1
: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.0
:model_version: snowflake/web/1.0.1
: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.0
:model_version: snowflake/web/1.0.1
: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.0
:model_version: snowflake/web/1.0.1
: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.0
:model_version: snowflake/web/1.0.1
: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.0
:model_version: snowflake/web/1.0.1
: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.0
:model_version: snowflake/web/1.0.1
: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.0
:model_version: snowflake/web/1.0.1
: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.0
:model_version: snowflake/web/1.0.1
: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.0
:model_version: snowflake/web/1.0.1
: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.0
:model_version: snowflake/web/1.0.1
: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.0
:model_version: snowflake/web/1.0.1
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
:username:
:password:
:variables:
:model_version: snowflake/web/1.0.0
:model_version: snowflake/web/1.0.1
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
:start_date: 2020-01-01
:skip_derived:
:steps:
- :name: 01-stored-procedures
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.0
:model_version: snowflake/web/1.0.1
: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.0
:model_version: snowflake/web/1.0.1
:scratch_schema: scratch
:output_schema: derived
:entropy: ""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2021 Snowplow Analytics Ltd. All rights reserved.
Copyright 2021-2022 Snowplow Analytics Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2021 Snowplow Analytics Ltd. All rights reserved.
Copyright 2021-2022 Snowplow Analytics Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2021 Snowplow Analytics Ltd. All rights reserved.
Copyright 2021-2022 Snowplow Analytics Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2021 Snowplow Analytics Ltd. All rights reserved.
Copyright 2021-2022 Snowplow Analytics Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2021 Snowplow Analytics Ltd. All rights reserved.
Copyright 2021-2022 Snowplow Analytics Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2021 Snowplow Analytics Ltd. All rights reserved.
Copyright 2021-2022 Snowplow Analytics Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit eaeb04a

Please sign in to comment.