(
ecx: &ExprContext,
query: &Query<Aug>,
)
| 4635 | } |
| 4636 | |
| 4637 | fn plan_list_subquery( |
| 4638 | ecx: &ExprContext, |
| 4639 | query: &Query<Aug>, |
| 4640 | ) -> Result<CoercibleScalarExpr, PlanError> { |
| 4641 | plan_vector_like_subquery( |
| 4642 | ecx, |
| 4643 | query, |
| 4644 | |_| false, |
| 4645 | |elem_type| ListCreate { elem_type }.into(), |
| 4646 | |order_by| AggregateFunc::ListConcat { order_by }, |
| 4647 | expr_func::ListListConcat.into(), |
| 4648 | |elem_type| { |
| 4649 | HirScalarExpr::literal( |
| 4650 | Datum::empty_list(), |
| 4651 | SqlScalarType::List { |
| 4652 | element_type: Box::new(elem_type), |
| 4653 | custom_id: None, |
| 4654 | }, |
| 4655 | ) |
| 4656 | }, |
| 4657 | "list", |
| 4658 | ) |
| 4659 | } |
| 4660 | |
| 4661 | fn plan_array_subquery( |
| 4662 | ecx: &ExprContext, |
no test coverage detected