Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
WangGuangxin committed Aug 14, 2024
1 parent df3eb3f commit 4c6ebc7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cpp/velox/substrait/SubstraitToVeloxPlan.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1615,9 +1615,7 @@ bool SubstraitToVeloxPlanConverter::canPushdownFunction(
}

// Check whether data type is supported or not
if (!veloxTypeList.empty() &&
fieldIdx < veloxTypeList.size() &&
!isPushdownSupported(veloxTypeList.at(fieldIdx))) {
if (!veloxTypeList.empty() && fieldIdx < veloxTypeList.size() && !isPushdownSupported(veloxTypeList.at(fieldIdx))) {
return false;
}

Expand Down

0 comments on commit 4c6ebc7

Please sign in to comment.