Skip to content

Commit 8c8e940

Browse files
committed
[Native]Remove redundant parentheses in PrestoToVeloxQueryPlan.cpp
1 parent 76cac25 commit 8c8e940

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2018,7 +2018,7 @@ core::PlanFragment VeloxQueryPlanConverterBase::toVeloxQueryPlan(
20182018
planFragment.planNode = core::PartitionedOutputNode::single(
20192019
partitionedOutputNodeId,
20202020
outputType,
2021-
toVeloxSerdeKind((partitioningScheme.encoding)),
2021+
toVeloxSerdeKind(partitioningScheme.encoding),
20222022
sourceNode);
20232023
return planFragment;
20242024
case protocol::SystemPartitioning::FIXED: {
@@ -2032,7 +2032,7 @@ core::PlanFragment VeloxQueryPlanConverterBase::toVeloxQueryPlan(
20322032
planFragment.planNode = core::PartitionedOutputNode::single(
20332033
partitionedOutputNodeId,
20342034
outputType,
2035-
toVeloxSerdeKind((partitioningScheme.encoding)),
2035+
toVeloxSerdeKind(partitioningScheme.encoding),
20362036
sourceNode);
20372037
return planFragment;
20382038
}
@@ -2045,7 +2045,7 @@ core::PlanFragment VeloxQueryPlanConverterBase::toVeloxQueryPlan(
20452045
partitioningScheme.replicateNullsAndAny,
20462046
std::make_shared<RoundRobinPartitionFunctionSpec>(),
20472047
outputType,
2048-
toVeloxSerdeKind((partitioningScheme.encoding)),
2048+
toVeloxSerdeKind(partitioningScheme.encoding),
20492049
sourceNode);
20502050
return planFragment;
20512051
}
@@ -2058,7 +2058,7 @@ core::PlanFragment VeloxQueryPlanConverterBase::toVeloxQueryPlan(
20582058
planFragment.planNode = core::PartitionedOutputNode::single(
20592059
partitionedOutputNodeId,
20602060
outputType,
2061-
toVeloxSerdeKind((partitioningScheme.encoding)),
2061+
toVeloxSerdeKind(partitioningScheme.encoding),
20622062
sourceNode);
20632063
return planFragment;
20642064
}
@@ -2072,7 +2072,7 @@ core::PlanFragment VeloxQueryPlanConverterBase::toVeloxQueryPlan(
20722072
std::make_shared<HashPartitionFunctionSpec>(
20732073
inputType, keyChannels, constValues),
20742074
outputType,
2075-
toVeloxSerdeKind((partitioningScheme.encoding)),
2075+
toVeloxSerdeKind(partitioningScheme.encoding),
20762076
sourceNode);
20772077
return planFragment;
20782078
}
@@ -2081,7 +2081,7 @@ core::PlanFragment VeloxQueryPlanConverterBase::toVeloxQueryPlan(
20812081
partitionedOutputNodeId,
20822082
1,
20832083
outputType,
2084-
toVeloxSerdeKind((partitioningScheme.encoding)),
2084+
toVeloxSerdeKind(partitioningScheme.encoding),
20852085
sourceNode);
20862086
return planFragment;
20872087
}
@@ -2100,7 +2100,7 @@ core::PlanFragment VeloxQueryPlanConverterBase::toVeloxQueryPlan(
21002100
planFragment.planNode = core::PartitionedOutputNode::arbitrary(
21012101
partitionedOutputNodeId,
21022102
std::move(outputType),
2103-
toVeloxSerdeKind((partitioningScheme.encoding)),
2103+
toVeloxSerdeKind(partitioningScheme.encoding),
21042104
std::move(sourceNode));
21052105
return planFragment;
21062106
}
@@ -2119,7 +2119,7 @@ core::PlanFragment VeloxQueryPlanConverterBase::toVeloxQueryPlan(
21192119
planFragment.planNode = core::PartitionedOutputNode::single(
21202120
partitionedOutputNodeId,
21212121
outputType,
2122-
toVeloxSerdeKind((partitioningScheme.encoding)),
2122+
toVeloxSerdeKind(partitioningScheme.encoding),
21232123
sourceNode);
21242124
return planFragment;
21252125
}
@@ -2135,7 +2135,7 @@ core::PlanFragment VeloxQueryPlanConverterBase::toVeloxQueryPlan(
21352135
partitioningScheme.replicateNullsAndAny,
21362136
std::shared_ptr(std::move(spec)),
21372137
toRowType(partitioningScheme.outputLayout, typeParser_),
2138-
toVeloxSerdeKind((partitioningScheme.encoding)),
2138+
toVeloxSerdeKind(partitioningScheme.encoding),
21392139
sourceNode);
21402140
return planFragment;
21412141
}

0 commit comments

Comments
 (0)