Skip to main content

log_stats_view_definition

Function log_stats_view_definition 

Source
pub fn log_stats_view_definition() -> ViewDefinition
Expand description

log_stats’s definition, expressed as a ViewDefinition – the single source of truth shared by the migration seed (migration.rs’s upgrade_v9_to_v10), the parser round-trip test, and make_log_stats_view below. log_stats is a SqlBatchView whose only distinction from a DDL-defined view is that its SQL lives in Rust rather than in a lakehouse_view_set_definitions row – this function is what lets the migration seed that row.