Skip to content

Commit

Permalink
fixed example
Browse files Browse the repository at this point in the history
  • Loading branch information
ngrislain committed Sep 25, 2023
1 parent b80fde3 commit 6d77554
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ fn build_ast() -> Result<(), &'static str> {
args: None,
with_hints: vec![],
version: None,
partitions: vec![],
},
joins: vec![],
},
Expand All @@ -33,6 +34,7 @@ fn build_ast() -> Result<(), &'static str> {
args: None,
with_hints: vec![],
version: None,
partitions: vec![],
},
joins: vec![Join {
relation: TableFactor::Table {
Expand All @@ -41,6 +43,7 @@ fn build_ast() -> Result<(), &'static str> {
args: None,
with_hints: vec![],
version: None,
partitions: vec![],
},
join_operator: JoinOperator::LeftOuter(JoinConstraint::Using(vec![
"a".into(),
Expand All @@ -52,7 +55,7 @@ fn build_ast() -> Result<(), &'static str> {
],
lateral_views: vec![],
selection: None,
group_by: vec![],
group_by: GroupByExpr::Expressions(vec![]),
cluster_by: vec![],
distribute_by: vec![],
sort_by: vec![],
Expand Down

0 comments on commit 6d77554

Please sign in to comment.