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

Method with_higher_order_function

datafusion/sql/tests/common/mod.rs:102–111  ·  view source on GitHub ↗
(
        mut self,
        higher_order_function: Arc<HigherOrderUDF>,
    )

Source from the content-addressed store, hash-verified

100 }
101
102 pub fn with_higher_order_function(
103 mut self,
104 higher_order_function: Arc<HigherOrderUDF>,
105 ) -> Self {
106 self.higher_order_functions.insert(
107 higher_order_function.name().to_string(),
108 higher_order_function,
109 );
110 self
111 }
112}
113
114pub(crate) struct MockContextProvider {

Callers 1

Calls 3

insertMethod · 0.45
to_stringMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected