kind-psychiatrist-76973
05/03/2022, 3:57 PM# Snowflake to Datahub recipe configuration
# To run an ingestion run: datahub ingest -c ./metadata-ingestion/recipes/snowflake_to_datahub_rest.yml
# pipeline_name: "my_snowflake_pipeline_1"
source:
type: snowflake
config:
# Coordinates
host_port: ${SNOWFLAKE_ACCOUNT}
warehouse: 'AGGREGATION_COMPUTE'
# Credentials
username: ${SNOWFLAKE_USERNAME}
password: ${SNOWFLAKE_PASSWORD}
role: 'XADMIN'
env: "PROD"
profiling:
enabled: False
database_pattern:
allow:
- "DWXX"
- "VISIBILITY"
- "STRATEGY_AND_PLANNING"
- "ABC_SHIPPER_STRATEGY_AND_PLANNING"
- "XYZ"
- "MARKETING"
- "GLOBAL_OPERATIONS"
- "CENTRAL_STRATEGY_AND_PLANNING"
- "FINANCE"
deny:
- "DEV"
- "ANALYST_DEV"
table_pattern:
ignoreCase: False
include_tables: True
include_views: True
include_table_lineage: False
stateful_ingestion:
enabled: True
remove_stale_metadata: True
sink:
type: "datahub-rest"
config:
server: ${DATAHUB_GMS_HOST}:8080
I get this validation error:
1 validation error for SnowflakeConfig │
│ stateful_ingestion │
│ extra fields not permitted (type=value_error.extra)
which is really vague, I have not any idea of what I am doing wronghelpful-optician-78938
05/03/2022, 5:20 PMkind-psychiatrist-76973
05/03/2022, 5:20 PMhelpful-optician-78938
05/03/2022, 5:25 PMhelpful-optician-78938
05/03/2022, 5:26 PMhelpful-optician-78938
05/03/2022, 5:27 PMkind-psychiatrist-76973
05/03/2022, 5:28 PMpipeline_name: "my_snowflake_pipeline_1" it was not working so I will check the if environment is passing something weired.mammoth-bear-12532
miniature-policeman-55414
05/04/2022, 12:49 PMkind-psychiatrist-76973
05/04/2022, 12:50 PMkind-psychiatrist-76973
05/04/2022, 12:50 PMminiature-policeman-55414
05/04/2022, 12:50 PMkind-psychiatrist-76973
05/04/2022, 12:53 PMroot@sh:/datahub# curl ${DATAHUB_GMS_HOST}/config
{
"models" : { },
"versions" : {
"linkedin/datahub" : {
"version" : "v0.8.33",
"commit" : "72046bf43d39b1b1db6457ab567d2ca9e3b78bbe"
}
},
"managedIngestion" : {
"defaultCliVersion" : "0.8.33",
"enabled" : true
},
"statefulIngestionCapable" : true,
"supportsImpactAnalysis" : true,
"telemetry" : {
"enabledCli" : true,
"enabledIngestion" : false
},
"datasetUrnNameCasing" : false,
"retention" : "true",
"noCode" : "true"
}kind-psychiatrist-76973
05/05/2022, 1:20 PM