athena_rs 3.26.4

Hyper performant polyglot Database driver
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Expected-vs-observed table comparison contracts for `/debug/schema`.
//!
//! This module contains the comparison result contract shared across relation
//! and column-delta comparison policies.

/// Result of comparing one observed table against one expected table contract.
pub(super) struct LoggingSchemaTableComparison {
    /// Whether observed relation type matches the expected relation type.
    pub(super) relation_type_matches: bool,
    /// Expected columns missing from the observed table.
    pub(super) missing_columns: Vec<String>,
    /// Observed columns that are not part of the expected contract.
    pub(super) unexpected_columns: Vec<String>,
}