Subsetting

Sometimes we might need only part of the original database. Here is how we can do it:

default_config:
  mode: KEEP
  target_ratio: 0.5

table_truncation_mode: TRUNCATE
schema_creation_mode: CREATE_IF_NOT_EXISTS

We can also use different modes for different tables:

default_config:
  mode: MASKING
  target_ratio: 0.5

tables:
  - table_name_with_schema: "public.productlines"
    mode: "KEEP"
    target_ratio: 1

table_truncation_mode: TRUNCATE
schema_creation_mode: CREATE_IF_NOT_EXISTS
safety_mode: "RELAXED"