MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / nullable

Method nullable

src/transform/src/column_knowledge.rs:739–748  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

737 }
738
739 fn nullable(&self) -> bool {
740 match self {
741 DatumKnowledge::Any { nullable } => *nullable,
742 DatumKnowledge::Lit { value, .. } => match value {
743 Ok(value) => value.iter().next().unwrap().is_null(),
744 Err(_) => false,
745 },
746 DatumKnowledge::Nothing => false,
747 }
748 }
749}
750
751/// Attempts to optimize

Callers 6

run_force_compactionFunction · 0.45
actionMethod · 0.45
harvestMethod · 0.45
join_assignMethod · 0.45
meet_assignMethod · 0.45
optimizeFunction · 0.45

Calls 4

unwrapMethod · 0.80
is_nullMethod · 0.45
nextMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected