Metadata data sources
Supported data sources
Below, find a snapshot of all the capabilities supported for each data source, including metadata and metadata history:
MariaDB
✅
—
—
✅
MySQL
✅
—
—
✅
SAP HANA
✅
—
—
✅
Limitations & edge cases
Some data sources present limitations when it comes to metadata collection or retrieval. Keep in mind these caveats when choosing which data source(s) to connect to Soda.
Oracle
Historical backfilling: not possible.
Row count: metadata row counts are calculated via
count(*). Soda does not use metadata for this metric in Oracle. It requires an additional package and/or is unreliable based on the schedule of that package.Last modification time: Soda uses metadata
Note that past data is only available for a limited amount of time, which varies depending on the system. The minimum goes back 120 h.
Postgres
Metadata is supported, but it requires some additional setup on Postgres's side.
Historical backfilling: not possible.
Row count: enabled out-of-the-box.
Last modification time:
track_commit_timestampmust be enabled: https://www.postgresql.org/docs/current/runtime-config-replication.html#GUC-TRACK-COMMIT-TIMESTAMPIf
track_commit_timestampis not enabled, Soda will return a warning.
BigQuery
Metadata metrics are available and supported in BigQuery.
Historical backfilling: possible.
Partition column: can be suggested based on metadata available in BigQuery.
Soda will prioritize user-suggested columns.
If there are no user-suggested columns, Soda will try a metadata approach to find the partition column automatically.
If there are no columns found in the metadata of BigQuery, Soda will fall back on its own heuristic.
Redshift
Historical backfilling is supported on Redshift and it is limited to 7 days for the metadata.
Modification time does not include schema changes. Only:
inserts
updates
deletes
Synapse
Synapse does not provide metadata history tables.
Historical backfilling: not possible.
Last modification time: not possible.
Row count: current row counts are calculated via
count(*). Soda does not use metadata for this metric in Synapse.Quartile metrics (Q1, median, Q3): not possible. Synapse does not support quartile metrics.
MariaDB
MariaDB does not expose usable warehouse metadata. information_schema.TABLES.TABLE_ROWS is an estimate rather than a count, so Soda does not read it.
Historical backfilling: not possible for the metadata. MariaDB exposes no change log for Soda to reconstruct metadata history from. A backfill still runs, on data-based metrics only.
Last modification time: not possible.
Row count: current row counts are calculated via
count(*). Soda does not use metadata for this metric in MariaDB.Quartile metrics (Q1, median, Q3): not possible. MariaDB has neither a percentile function nor
WITHIN GROUP.
MySQL
MySQL does not expose usable warehouse metadata. information_schema.TABLES.TABLE_ROWS is an estimate for InnoDB tables rather than a count, so Soda does not read it.
Historical backfilling: not possible for the metadata. MySQL exposes no change log for Soda to reconstruct metadata history from. A backfill still runs, on data-based metrics only.
Last modification time: not possible.
Row count: current row counts are calculated via
count(*). Soda does not use metadata for this metric in MySQL.Quartile metrics (Q1, median, Q3): not possible. MySQL has neither a percentile function nor
WITHIN GROUP.
SAP HANA
SAP HANA exposes no metadata provider to Soda, so Metric Monitoring runs on data-based metrics only. Monitors that read the warehouse's own catalog are unavailable.
Historical backfilling: not possible for the metadata. There is no change log for Soda to reconstruct metadata history from. A backfill still runs, on data-based metrics only.
Last modification time: not possible.
Row count: current row counts are calculated via
count(*). Soda does not use metadata for this metric in SAP HANA.Quartile metrics (Q1, median, Q3): supported. Soda splits the query when a percentile and a
DISTINCTaggregate over the same column would otherwise land in oneSELECT, which SAP HANA rejects. The same approach is used for Redshift.
Last updated
Was this helpful?
