Skip to content

Commit

Permalink
Disable approx_percentile (oap-project#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE authored and zhejiangxiaomai committed Jul 12, 2023
1 parent 09dcf37 commit 7cd27a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/substrait/SubstraitToVeloxPlanValidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ bool SubstraitToVeloxPlanValidator::validateScalarFunction(
"unix_timestamp", "repeat", "translate",
"add_months", "date_format", "trunc",
"sequence", "posexplode", "arrays_overlap",
"array_min", "array_max"};
"array_min", "array_max", "approx_percentile"};
if (functions.find(name) != functions.end()) {
logValidateMsg(
"native validation failed due to: Function is not supported: " + name);
Expand Down

0 comments on commit 7cd27a9

Please sign in to comment.