(
&self,
elements: Vec<SQLExpr>,
schema: &DFSchema,
)
| 149 | } |
| 150 | |
| 151 | pub(super) fn sql_array_literal( |
| 152 | &self, |
| 153 | elements: Vec<SQLExpr>, |
| 154 | schema: &DFSchema, |
| 155 | ) -> Result<Expr> { |
| 156 | let values = elements |
| 157 | .into_iter() |
| 158 | .map(|element| { |
| 159 | self.sql_expr_to_logical_expr(element, schema, &mut PlannerContext::new()) |
| 160 | }) |
| 161 | .collect::<Result<Vec<_>>>()?; |
| 162 | |
| 163 | self.try_plan_array_literal(values, schema) |
| 164 | } |
| 165 | |
| 166 | fn try_plan_array_literal( |
| 167 | &self, |
no test coverage detected