(
&self,
schema: &DFSchema,
planner_context: &mut PlannerContext,
values: Vec<SQLExpr>,
)
| 715 | } |
| 716 | |
| 717 | fn parse_tuple( |
| 718 | &self, |
| 719 | schema: &DFSchema, |
| 720 | planner_context: &mut PlannerContext, |
| 721 | values: Vec<SQLExpr>, |
| 722 | ) -> Result<Expr> { |
| 723 | match values.first() { |
| 724 | Some(SQLExpr::Identifier(_)) |
| 725 | | Some(SQLExpr::Value(_)) |
| 726 | | Some(SQLExpr::CompoundIdentifier(_)) => { |
| 727 | self.parse_struct(schema, planner_context, values, &[]) |
| 728 | } |
| 729 | None => not_impl_err!("Empty tuple not supported yet"), |
| 730 | _ => { |
| 731 | not_impl_err!("Only identifiers and literals are supported in tuples") |
| 732 | } |
| 733 | } |
| 734 | } |
| 735 | |
| 736 | fn sql_position_to_expr( |
| 737 | &self, |
no test coverage detected