Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[synthesized-io/tdk#5159] Update image version to v.1.75.5 #94

Merged
merged 9 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/__pycache__
/.cache
/.vscode
/.idea
*.bak
data

Expand Down
4 changes: 2 additions & 2 deletions mysql/inventory.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
data_sources:
default_source:
jdbc_url: jdbc:mysql://localhost:6000/sakila
url: jdbc:mysql://localhost:6000/sakila
user:
type: raw
value: root
password:
type: raw
value: admin
default_target:
jdbc_url: jdbc:mysql://localhost:6001/sakila
url: jdbc:mysql://localhost:6001/sakila
user:
type: raw
value: root
Expand Down
10 changes: 6 additions & 4 deletions mysql/soda/checks_for_generation_from_scratch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ checks for country:

checks for customer:
- row_count = 10000
- invalid_count(email) = 0:
valid format: email
## Disabled until synthesized-io/tdk#5259 is resolved
# - invalid_count(email) = 0:
# valid format: email

checks for film:
- row_count = 3000
Expand Down Expand Up @@ -44,8 +45,9 @@ checks for rental:

checks for staff:
- row_count = 256
- invalid_percent(email) = 0:
valid format: email
## Disabled until synthesized-io/tdk#5259 is resolved
# - invalid_percent(email) = 0:
# valid format: email

checks for store:
- row_count = 256
4 changes: 2 additions & 2 deletions mysql/soda/checks_for_masking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ checks for staff:

checks for film:
- row_count same as film in input_db
- distribution_difference(rating) < 0.3:
method: chi_square
- distribution_difference(rating) = 0.0:
method: swd
distribution reference file: /sodacl/film_rating_distribution.yml

checks for actor:
Expand Down
2 changes: 1 addition & 1 deletion parent-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ version: '3.5'
services:
tdk:
container_name: tdk
image: synthesizedio/synthesized-tdk-cli:v1.67.0
image: synthesizedio/synthesized-tdk-cli:v1.75.5
1 change: 1 addition & 0 deletions postgres/config_generation.tdk.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
default_config:
mode: GENERATION
target_ratio: 2.0
global_seed: "d293IGxpbnV4"

schema_creation_mode: DROP_AND_CREATE
safety_mode: "RELAXED"
4 changes: 2 additions & 2 deletions postgres/inventory.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
data_sources:
default_source:
jdbc_url: jdbc:postgresql://localhost:6000/postgres
url: jdbc:postgresql://localhost:6000/postgres
user:
type: raw
value: postgres
password:
type: raw
value: postgres
default_target:
jdbc_url: jdbc:postgresql://localhost:6001/postgres
url: jdbc:postgresql://localhost:6001/postgres
user:
type: raw
value: postgres
Expand Down
7 changes: 4 additions & 3 deletions postgres/soda/checks_for_2x_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ checks for customer:

checks for film:
- row_count = 2000
- distribution_difference(rating) < 0.05:
method: chi_square
distribution reference file: /sodacl/film_rating_distribution.yml
## Disabled until clarification of sodadata/soda-core#2189
# - distribution_difference(rating) < 0.05:
# method: chi_square
# distribution reference file: /sodacl/film_rating_distribution.yml

checks for film_actor:
- row_count = 10924
Expand Down
4 changes: 2 additions & 2 deletions postgres/soda/checks_for_masking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ checks for staff:

checks for film:
- row_count same as film in input_db
- distribution_difference(rating) < 0.3:
method: chi_square
- distribution_difference(rating) = 0.0:
method: swd
distribution reference file: /sodacl/masked_film_rating_distribution.yml

checks for actor:
Expand Down
10 changes: 5 additions & 5 deletions postgres/soda/masked_film_rating_distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ distribution_reference:
- 0.194
- 0.178
bins:
- ZD-34
- IY
- B
- W
- IY-37
- MR-08
- HB-85
- E
- MR
- N
4 changes: 2 additions & 2 deletions vault/inventory_dynamic_users.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data_sources:
default_source:
jdbc_url: jdbc:postgresql://input_db:5432/postgres
url: jdbc:postgresql://input_db:5432/postgres
user:
type: vault
storage: database
Expand All @@ -12,7 +12,7 @@ data_sources:
path: creds/postgres-source-dynamic-role
secret: password
default_target:
jdbc_url: jdbc:postgresql://output_db:5432/postgres
url: jdbc:postgresql://output_db:5432/postgres
user:
type: vault
storage: database
Expand Down
4 changes: 2 additions & 2 deletions vault/inventory_simple_secret.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data_sources:
default_source:
jdbc_url: jdbc:postgresql://input_db:5432/postgres
url: jdbc:postgresql://input_db:5432/postgres
user:
type: vault
storage: secret
Expand All @@ -14,7 +14,7 @@ data_sources:
versioned: true
secret: password
default_target:
jdbc_url: jdbc:postgresql://output_db:5432/postgres
url: jdbc:postgresql://output_db:5432/postgres
user:
type: vault
storage: secret
Expand Down
4 changes: 2 additions & 2 deletions vault/inventory_static_users.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data_sources:
default_source:
jdbc_url: jdbc:postgresql://input_db:5432/postgres
url: jdbc:postgresql://input_db:5432/postgres
user:
type: vault
storage: database
Expand All @@ -12,7 +12,7 @@ data_sources:
path: static-creds/postgres-source-static-role
secret: password
default_target:
jdbc_url: jdbc:postgresql://output_db:5432/postgres
url: jdbc:postgresql://output_db:5432/postgres
user:
type: vault
storage: database
Expand Down