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

Function error_post_visit

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

Source from the content-addressed store, hash-verified

4859
4860 #[test]
4861 fn error_post_visit() {
4862 let mut visitor = ErrorVisitor {
4863 return_error_from_post_in: OptionalCounter::new(1),
4864 ..Default::default()
4865 };
4866 let plan = test_plan();
4867 let res = plan.visit_with_subqueries(&mut visitor).unwrap_err();
4868 assert_snapshot!(
4869 res.strip_backtrace(),
4870 @"This feature is not implemented: Error in post_visit"
4871 );
4872 assert_debug_snapshot!(
4873 visitor.inner.strings,
4874 @r#"
4875 [
4876 "pre_visit Projection",
4877 "pre_visit Filter",
4878 "pre_visit TableScan",
4879 "post_visit TableScan",
4880 ]
4881 "#
4882 );
4883 }
4884
4885 #[test]
4886 fn test_partial_eq_hash_and_partial_ord() {

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…