Hi there, I'm trying to do a Snowflake ingestion. ...
# ingestion
w
Hi there, I'm trying to do a Snowflake ingestion. I've run the example to pull the Top N Queries but now I want to capture the metadata of a specific DB while ensuring that I exclude one with a similar name. I've added the following to my yml database_pattern: allow: "THISDB" database_pattern: ignoreCase: "NOTTHISDB" I keep getting the following error: 1 validation error for SnowflakeUsageConfig database_pattern extra fields not permitted (type=value_error.extra)
1
p
Hey @wooden-notebook-33413, if I were you, I would try with the following structure.
Copy code
database_pattern:
    allow: 
       - "THISDB"
    ignoreCase: "NOTTHISDB"
allow
is a list, and I would group the fields in a single
database_pattern:
key.
w
I changed it to this : database_pattern: allow: - "THISDB" and i get the same error
p
could you please share the full configuration with masking the credentials and url
w
source: type: snowflake-usage config: # Coordinates host_port: <url> warehouse: "<warehouse>" # Credentials username: <user> password: <pass> role: "ACCOUNTADMIN" # Options # top_n_queries: 10 database_pattern: allow: - "THISDB" # ignoreCase: "NOTTHISDB" sink: # sink configs type: "datahub-rest" config: server: "http://localhost:8080"
found the issue. I was using snowflake-usage instead of snowflake. thanks
🙌 2