feat(openmetadata): profiler + data-quality tests for data insight
Profiler: - pg/mysql: table-level metrics via DB statistics (exact-ish row counts) only; source tables hold 24-53M rows and OM's column profiler full-scans per column (no TABLESAMPLE pushdown), which would hammer the live CDC source. - trino/iceberg: full column metrics + sample data on the small (20-25k row) curated_masked + hadoop tables. Data quality: 16 test cases across 5 tables (row counts on big sources; row count + uniqueness/not-null/range on curated/masked + historical), all passing. This populates OM's Data Quality dashboard (coverage, healthy assets, dimensions, test results).
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
source:
|
||||
type: trino
|
||||
serviceName: atc_trino
|
||||
serviceConnection:
|
||||
config:
|
||||
type: Trino
|
||||
username: mo
|
||||
hostPort: 10.0.21.50:8089
|
||||
sourceConfig:
|
||||
config:
|
||||
type: Profiler
|
||||
# Iceberg lakehouse tables are small (20k-25k rows), so full column-level
|
||||
# profiling is cheap here and gives rich stats + sample data on the
|
||||
# governed/masked data. Source catalogs are profiled natively; the
|
||||
# kafka/cassandra-system catalogs are skipped.
|
||||
computeTableMetrics: true
|
||||
computeColumnMetrics: true
|
||||
useStatistics: true
|
||||
threadCount: 5
|
||||
databaseFilterPattern:
|
||||
includes:
|
||||
- iceberg
|
||||
processor:
|
||||
type: orm-profiler
|
||||
config: {}
|
||||
sink:
|
||||
type: metadata-rest
|
||||
config: {}
|
||||
workflowConfig:
|
||||
openMetadataServerConfig:
|
||||
hostPort: http://openmetadata-server:8585/api
|
||||
authProvider: openmetadata
|
||||
securityConfig:
|
||||
jwtToken: "__JWT__"
|
||||
Reference in New Issue
Block a user