Skip to content

Commit

Permalink
fix errors in ast create func
Browse files Browse the repository at this point in the history
  • Loading branch information
chhtimeplus committed Jul 12, 2024
1 parent e6fc885 commit 97f66fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Parsers/ASTCreateFunctionQuery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ASTPtr ASTCreateFunctionQuery::clone() const

res->function_core = function_core->clone();
res->children.push_back(res->function_core);
res->payload = res->payload;
res->payload = payload;
return res;
}

Expand Down Expand Up @@ -134,7 +134,7 @@ Poco::JSON::Object::Ptr ASTCreateFunctionQuery::toJSON() const
/// type
auto type = lang;
boost::to_lower(type);
inner_func->set("type", lang);
inner_func->set("type", type);

/// is_aggregation
inner_func->set("is_aggregation", is_aggregation);
Expand Down

0 comments on commit 97f66fe

Please sign in to comment.