| 170 | } |
| 171 | |
| 172 | static string GetAlias(const TableFunctionRef &ref) { |
| 173 | if (!ref.alias.empty()) { |
| 174 | return ref.alias; |
| 175 | } |
| 176 | if (ref.function && ref.function->GetExpressionType() == ExpressionType::FUNCTION) { |
| 177 | auto &function_expr = ref.function->Cast<FunctionExpression>(); |
| 178 | return function_expr.function_name; |
| 179 | } |
| 180 | return string(); |
| 181 | } |
| 182 | |
| 183 | BoundStatement Binder::BindTableFunctionInternal(TableFunction &table_function, const TableFunctionRef &ref, |
| 184 | vector<Value> parameters, named_parameter_map_t named_parameters, |
no test coverage detected