diff --git a/cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc b/cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc index bb9340fb0c6b..3cdcd945d0ff 100644 --- a/cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc +++ b/cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc @@ -700,13 +700,6 @@ bool SubstraitToVeloxPlanValidator::validate(const ::substrait::SortRel& sortRel return false; } - for (const auto& type : types) { - if (type->kind() == TypeKind::TIMESTAMP) { - logValidateMsg("native validation failed due to: Timestamp type is not supported in SortRel."); - return false; - } - } - int32_t inputPlanNodeId = 0; std::vector names; names.reserve(types.size());