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

Method with_scalar_function

datafusion/sql/tests/common/mod.rs:78–82  ·  view source on GitHub ↗
(mut self, scalar_function: Arc<ScalarUDF>)

Source from the content-addressed store, hash-verified

76 }
77
78 pub fn with_scalar_function(mut self, scalar_function: Arc<ScalarUDF>) -> Self {
79 self.scalar_functions
80 .insert(scalar_function.name().to_string(), scalar_function);
81 self
82 }
83
84 pub fn with_aggregate_function(
85 mut self,

Callers 7

mock_session_stateFunction · 0.80
plan_sqlFunction · 0.80
do_queryFunction · 0.80
roundtrip_statementFunction · 0.80

Calls 3

insertMethod · 0.45
to_stringMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected