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

Function cleanup_propagates_query_failures

benchmarks/src/sql_benchmark.rs:2897–2915  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2895
2896 #[tokio::test]
2897 async fn cleanup_propagates_query_failures() {
2898 let mut benchmark = parse_benchmark(
2899 r#"
2900run
2901SELECT 1;
2902
2903cleanup
2904SELECT * FROM missing_cleanup_table;
2905"#,
2906 )
2907 .await
2908 .expect("benchmark should parse");
2909 let ctx = SessionContext::new();
2910
2911 assert_result_error_contains(
2912 benchmark.cleanup(&ctx).await,
2913 "missing_cleanup_table",
2914 );
2915 }
2916
2917 #[tokio::test]
2918 async fn assert_executes_assert_queries_successfully() {

Callers

nothing calls this directly

Calls 4

parse_benchmarkFunction · 0.85
newFunction · 0.85
cleanupMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…