We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63cb78a commit 188235bCopy full SHA for 188235b
datafusion/substrait/src/logical_plan/producer.rs
@@ -2430,7 +2430,7 @@ mod test {
2430
2431
match &expression.rex_type {
2432
Some(RexType::Selection(field_ref)) => {
2433
- assert_ne!(field_ref.root_type, None);
+ assert_eq!(field_ref.root_type.clone().expect("root type should be set"), RootType::RootReference(RootReference {}));
2434
}
2435
2436
_ => panic!("Should not be anything other than field reference"),
0 commit comments