Simplify the `concat` function by 1. filtering out all `null` literals 2. concatenating contiguous literal arguments For example: `concat(col(a), 'hello ', 'world', col(b), null)` will be optimized to `concat(col(a), 'hello world', col(b))`
(
&self,
args: Vec<Expr>,
_info: &SimplifyContext,
)
| 291 | /// will be optimized to |
| 292 | /// `concat(col(a), 'hello world', col(b))` |
| 293 | fn simplify( |
| 294 | &self, |
| 295 | args: Vec<Expr>, |
| 296 | _info: &SimplifyContext, |
| 297 | ) -> Result<ExprSimplifyResult> { |
| 298 | simplify_concat(args) |
| 299 | } |
| 300 | |
| 301 | fn documentation(&self) -> Option<&Documentation> { |
| 302 | self.doc() |
nothing calls this directly
no test coverage detected