Skip to content

Database connectors are missing default system-schema filter patterns #36674

Closed

Description

@ulixius9

Problem

Database connection schemas can declare a default on databaseFilterPattern / schemaFilterPattern; it pre-fills the filters of newly created ingestion pipelines. MySQL, Postgres, MSSQL, Snowflake, Databricks, Oracle and a few others ship one that excludes engine system schemas, but most connectors have none. A new pipeline on those connectors therefore ingests engine catalogs such as information_schema, ClickHouse system, Trino/Presto system catalog, Impala _impala_builtins, MongoDB admin/local/config, Cassandra system* keyspaces, Teradata DBC, DB2 SYSIBM/SYSCAT, SAP HANA SYS/_SYS_*.

Proposal

Add exact-name system-schema defaults to the connectors that lack them (MariaDB, SingleStore, Doris, Greenplum, CockroachDB, Azure SQL, Synapse, ClickHouse, Trino, Presto, SAP HANA, DB2, Teradata, Exasol, Cassandra, MongoDB, Couchbase, Impala, Druid, Hive). Existing pipelines are unaffected since ingestion reads filters from the pipeline's sourceConfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status
      Done ✅

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions