MCPcopy Create free account
hub / github.com/apache/datafusion / error_pre_visit

Function error_pre_visit

datafusion/expr/src/logical_plan/plan.rs:4838–4858  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4836
4837 #[test]
4838 fn error_pre_visit() {
4839 let mut visitor = ErrorVisitor {
4840 return_error_from_pre_in: OptionalCounter::new(2),
4841 ..Default::default()
4842 };
4843 let plan = test_plan();
4844 let res = plan.visit_with_subqueries(&mut visitor).unwrap_err();
4845 assert_snapshot!(
4846 res.strip_backtrace(),
4847 @"This feature is not implemented: Error in pre_visit"
4848 );
4849 assert_debug_snapshot!(
4850 visitor.inner.strings,
4851 @r#"
4852 [
4853 "pre_visit Projection",
4854 "pre_visit Filter",
4855 ]
4856 "#
4857 );
4858 }
4859
4860 #[test]
4861 fn error_post_visit() {

Callers

nothing calls this directly

Calls 4

newFunction · 0.85
test_planFunction · 0.85
unwrap_errMethod · 0.80
visit_with_subqueriesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…