Skip to content

Commit

Permalink
[VL] Remove validation for timestamp in SortRel (#4291)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhli1142015 authored Jan 8, 2024
1 parent 21169e7 commit 3fe4c95
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cpp/velox/substrait/SubstraitToVeloxPlanValidator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string> names;
names.reserve(types.size());
Expand Down

0 comments on commit 3fe4c95

Please sign in to comment.