Skip to content

Commit

Permalink
[native] Convert few more Velox operator names to Presto.
Browse files Browse the repository at this point in the history
  • Loading branch information
spershin committed Jan 25, 2025
1 parent e63a2b7 commit f3342e8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions presto-native-execution/presto_cpp/main/PrestoTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,24 @@ std::string toPrestoOperatorType(const std::string& operatorType) {
if (operatorType == "TableWrite") {
return "TableWriterOperator";
}
if (operatorType == "HashProbe") {
return "LookupJoinOperator";
}
if (operatorType == "HashBuild") {
return "HashBuilderOperator";
}
if (operatorType == "TableWriteMerge") {
return "TableWriterMergeOperator";
}
if (operatorType == "Unnest") {
return "UnnestOperator";
}
if (operatorType == "LocalPartition") {
return "LocalExchangeSourceOperator";
}
if (operatorType == "LocalExchange") {
return "LocalExchangeSinkOperator";
}
return operatorType;
}

Expand Down

0 comments on commit f3342e8

Please sign in to comment.