From 4e3cad292866de4829b4e6a9aa45e7d925c9402b Mon Sep 17 00:00:00 2001 From: jackylee-ch Date: Sat, 11 Nov 2023 23:15:28 +0800 Subject: [PATCH] remove extra code --- cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc b/cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc index 697dc04f7fcc..2b4efd159eea 100644 --- a/cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc +++ b/cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc @@ -436,13 +436,6 @@ bool SubstraitToVeloxPlanValidator::validate(const ::substrait::GenerateRel& gen logValidateMsg("native validation failed due to: input validation fails in GenerateRel."); return false; } - - try { - planConverter_.toVeloxPlan(generateRel); - } catch (const VeloxException& err) { - logValidateMsg("native validation failed due to: in GenerateRel, " + err.message()); - return false; - } return true; }