(
mut self,
aggregate_function: Arc<AggregateUDF>,
)
| 82 | } |
| 83 | |
| 84 | pub fn with_aggregate_function( |
| 85 | mut self, |
| 86 | aggregate_function: Arc<AggregateUDF>, |
| 87 | ) -> Self { |
| 88 | // TODO: change to to_string() if all the function name is converted to lowercase |
| 89 | self.aggregate_functions.insert( |
| 90 | aggregate_function.name().to_string().to_lowercase(), |
| 91 | aggregate_function, |
| 92 | ); |
| 93 | self |
| 94 | } |
| 95 | |
| 96 | pub fn with_window_function(mut self, window_function: Arc<WindowUDF>) -> Self { |
| 97 | self.window_functions |
no test coverage detected