quill_sql/plan/logical_plan/empty_relation.rs
1use crate::catalog::SchemaRef;
2
3#[derive(Debug, Clone)]
4pub struct EmptyRelation {
5 /// Whether to produce a placeholder row
6 pub produce_one_row: bool,
7 /// The schema description of the output
8 pub schema: SchemaRef,
9}
10
11impl std::fmt::Display for EmptyRelation {
12 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
13 write!(f, "EmptyRelation")
14 }
15}