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

Function test_cache_mismatch

datafusion/core/tests/dataframe/mod.rs:2404–2412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2402
2403#[tokio::test]
2404async fn test_cache_mismatch() -> Result<()> {
2405 let ctx = SessionContext::new();
2406 let df = ctx
2407 .sql("SELECT CASE WHEN true THEN NULL ELSE 1 END")
2408 .await?;
2409 let cache_df = df.cache().await;
2410 assert!(cache_df.is_ok());
2411 Ok(())
2412}
2413
2414#[tokio::test]
2415async fn cache_test() -> Result<()> {

Callers

nothing calls this directly

Calls 3

newFunction · 0.85
sqlMethod · 0.80
cacheMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…