Skip to content

Commit

Permalink
Enable stddev_pop in validator (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
liujiayi771 authored and zhejiangxiaomai committed Feb 22, 2023
1 parent ed53e4a commit 9d2f5f0
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 @@ -741,7 +741,7 @@ bool SubstraitToVeloxPlanValidator::validate(
}

std::unordered_set<std::string> supportedFuncs = {
"sum", "count", "avg", "min", "max", "stddev_samp", "bloom_filter_agg"};
"sum", "count", "avg", "min", "max", "stddev_samp", "stddev_pop", "bloom_filter_agg"};
for (const auto& funcSpec : funcSpecs) {
auto funcName = subParser_->getSubFunctionName(funcSpec);
if (supportedFuncs.find(funcName) == supportedFuncs.end()) {
Expand Down

0 comments on commit 9d2f5f0

Please sign in to comment.