Skip to content

Commit

Permalink
Fix on review
Browse files Browse the repository at this point in the history
  • Loading branch information
manh9203 committed Apr 25, 2024
1 parent 509fd7c commit c032407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/processor/map/map_standalone_call.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ namespace processor {

std::unique_ptr<PhysicalOperator> PlanMapper::mapStandaloneCall(
planner::LogicalOperator* logicalOperator) {
auto logicalStandaloneCall = reinterpret_cast<LogicalStandaloneCall*>(logicalOperator);
auto logicalStandaloneCall = logicalOperator->constPtrCast<LogicalStandaloneCall>();
auto optionValue =
reinterpret_cast<binder::LiteralExpression*>(logicalStandaloneCall->getOptionValue().get());
logicalStandaloneCall->getOptionValue()->constPtrCast<binder::LiteralExpression>();
auto standaloneCallInfo = std::make_unique<StandaloneCallInfo>(
logicalStandaloneCall->getOption(), *optionValue->getValue());
return std::make_unique<StandaloneCall>(std::move(standaloneCallInfo),
Expand Down

0 comments on commit c032407

Please sign in to comment.