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

Function test_mod_wrong_arg_count

datafusion/spark/src/function/math/modulus.rs:378–384  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

376
377 #[test]
378 fn test_mod_wrong_arg_count() {
379 let left = Int32Array::from(vec![Some(10)]);
380 let left_value = ColumnarValue::Array(Arc::new(left));
381
382 let result = spark_mod(&[left_value], false);
383 assert!(result.is_err());
384 }
385
386 #[test]
387 fn test_mod_zero_division_legacy() {

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
spark_modFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…