From 056f5e3d8db796ba45e956aa9fee065f8a4192ee Mon Sep 17 00:00:00 2001 From: "wangguangxin.cn" Date: Tue, 6 Aug 2024 21:51:03 +0800 Subject: [PATCH] fix style --- cpp/velox/substrait/SubstraitToVeloxPlan.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cpp/velox/substrait/SubstraitToVeloxPlan.cc b/cpp/velox/substrait/SubstraitToVeloxPlan.cc index af05f87372c5b..10e4561b8ab9a 100644 --- a/cpp/velox/substrait/SubstraitToVeloxPlan.cc +++ b/cpp/velox/substrait/SubstraitToVeloxPlan.cc @@ -1610,14 +1610,12 @@ bool SubstraitToVeloxPlanConverter::canPushdownFunction( } // The arg should be field or field with literal. - if(!fieldOrWithLiteral(scalarFunction.arguments(), fieldIdx)) { + if (!fieldOrWithLiteral(scalarFunction.arguments(), fieldIdx)) { return false; } // 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; }