Registers a window UDF within this context. Note in SQL queries, window function names are looked up using lowercase unless the query uses quotes. For example, - `SELECT MY_UDWF(x)...` will look for a window function named `"my_udwf"` - `SELECT "my_UDWF"(x)` will look for a window function named `"my_UDWF"`
(&self, f: WindowUDF)
| 1650 | /// - `SELECT MY_UDWF(x)...` will look for a window function named `"my_udwf"` |
| 1651 | /// - `SELECT "my_UDWF"(x)` will look for a window function named `"my_UDWF"` |
| 1652 | pub fn register_udwf(&self, f: WindowUDF) { |
| 1653 | self.state.write().register_udwf(Arc::new(f)).ok(); |
| 1654 | } |
| 1655 | |
| 1656 | #[cfg(feature = "sql")] |
| 1657 | /// Registers a [`RelationPlanner`] to customize SQL table-factor planning. |