You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SimplifyExpressions doesn't have access to the entire schema, resulting in planning errors when the filter can be pushed down entirely to the tablescan.
let fields = vec![
Field::new("a", DataType::UInt32, false),
Field::new("b", DataType::UInt32, false),
Field::new("c", DataType::UInt32, false),
];
let schema = Schema::new(fields);
let table_scan = table_scan_with_filters(
Some("test"),
&schema,
Some(vec![0]),
vec![col("b").is_not_null()],
)?
.build()?;
assert_eq!(1, table_scan.schema().fields().len());
assert_fields_eq(&table_scan, vec!["a"]);
let expected = "TableScan: test projection=[a], full_filters=[Boolean(true) AS b IS NOT NULL]";
assert_optimized_plan_eq(&table_scan, expected)
To Reproduce
No response
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
SimplifyExpressions doesn't have access to the entire schema, resulting in planning errors when the filter can be pushed down entirely to the tablescan.
To Reproduce
No response
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: