athena_rs 3.26.3

Hyper performant polyglot Database driver
//! Still-needed diagnostics contracts for `/debug/schema`.
//!
//! This module defines normalized aggregate lists that highlight unresolved
//! logging-schema requirements, independent from summary counters.

use serde::Serialize;

/// Aggregate unresolved schema requirements derived from expected-table evaluation.
#[derive(Debug, Clone, Serialize)]
pub struct LoggingSchemaDebugStillNeeded {
    /// Required missing table keys (`schema.table`).
    pub required_missing_tables: Vec<String>,
    /// Optional missing table keys (`schema.table`).
    pub optional_missing_tables: Vec<String>,
    /// Required missing column keys (`schema.table.column`).
    pub required_missing_columns: Vec<String>,
    /// Optional missing column keys (`schema.table.column`).
    pub optional_missing_columns: Vec<String>,
    /// Relation keys whose discovered relation type mismatched expectation.
    pub relation_type_mismatches: Vec<String>,
}