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 d79ff01Copy full SHA for d79ff01
datafusion/substrait/src/logical_plan/producer.rs
@@ -2430,7 +2430,13 @@ mod test {
2430
2431
match &expression.rex_type {
2432
Some(RexType::Selection(field_ref)) => {
2433
- assert_ne!(field_ref.root_type, None);
+ assert_eq!(
2434
+ field_ref
2435
+ .root_type
2436
+ .clone()
2437
+ .expect("root type should be set"),
2438
+ RootType::RootReference(RootReference {})
2439
+ );
2440
}
2441
2442
_ => panic!("Should not be anything other than field reference"),
0 commit comments