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

Function errors

datafusion/core/src/physical_planner.rs:3876–3892  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3874
3875 #[tokio::test]
3876 async fn errors() -> Result<()> {
3877 let bool_expr = col("c1").eq(col("c1"));
3878 let cases = vec![
3879 // utf8 = utf8
3880 col("c1").eq(col("c1")),
3881 // u8 AND u8
3882 col("c3").bitand(col("c3")),
3883 // utf8 = u8
3884 col("c1").eq(col("c3")),
3885 // bool AND bool
3886 bool_expr.clone().and(bool_expr),
3887 ];
3888 for case in cases {
3889 test_csv_scan().await?.project(vec![case.clone()]).unwrap();
3890 }
3891 Ok(())
3892 }
3893
3894 #[tokio::test]
3895 async fn default_extension_planner() {

Callers

nothing calls this directly

Calls 4

test_csv_scanFunction · 0.85
colFunction · 0.50
eqMethod · 0.45
projectMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…