Skip to content

Commit 68be4e0

Browse files
authored
Fallback collect_set in window (#350)
1 parent a62ddb3 commit 68be4e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

velox/substrait/SubstraitToVeloxPlanValidator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,8 @@ bool SubstraitToVeloxPlanValidator::validate(
471471
}
472472

473473
// Validate supported aggregate functions.
474-
std::unordered_set<std::string> unsupportedFuncs = {"collect_list"};
474+
std::unordered_set<std::string> unsupportedFuncs = {
475+
"collect_list", "collect_set"};
475476
for (const auto& funcSpec : funcSpecs) {
476477
auto funcName = subParser_->getSubFunctionName(funcSpec);
477478
if (unsupportedFuncs.find(funcName) != unsupportedFuncs.end()) {

0 commit comments

Comments
 (0)