| 46 | } |
| 47 | |
| 48 | String ASTCreateSQLFunctionQuery::getFunctionName() const |
| 49 | { |
| 50 | String name; |
| 51 | bool is_ok = tryGetIdentifierNameInto(function_name, name); |
| 52 | if (!is_ok) |
| 53 | throw Exception(ErrorCodes::LOGICAL_ERROR, "Expected function name, got '{}'", function_name->formatForErrorMessage()); |
| 54 | return name; |
| 55 | } |
| 56 | |
| 57 | |
| 58 | } |
no test coverage detected