loud-vase-59377
09/23/2021, 12:43 AMsource:
type: bigquery
config:
project_id: "su-project1"
schema_pattern:
allow:
- "db1"
table_pattern:
allow:
- "db1.table1"
profiling: {
enabled: true,
}
profile_pattern:
allow:
- "db1.table1"
sink:
type: "datahub-rest"
config:
server: "<http://localhost:8080>"
I tried removing the schema pattern and retain the table pattern but it ingest all database in the project. Are there other options I need to set?witty-state-99511
09/23/2021, 1:02 AMinclude_tables
and include_views
in the yml config (more here). Based on that, apply either the table pattern or the view pattern with the syntax schema_name.entity_name
(entity being table or view).loud-vase-59377
09/23/2021, 1:35 AMwitty-state-99511
09/23/2021, 3:06 PMadventurous-belgium-53999
09/30/2021, 7:54 AMr"1234$"
gives an error Unbounded variable
due to $
symbol, so we need to escape it, but then regex pattern `r"1234\$"`won't work.