Skip to content

Commit

Permalink
rename the argument name to user friendly error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchengchenghh committed Apr 27, 2023
1 parent febff9b commit f69a977
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,14 @@ class BloomFilterAggAggregate : public exec::Aggregate {
if (args.size() > 1) {
DecodedVector decodedEstimatedNumItems(*args[1], rows);
setConstantArgument(
"originalEstimatedNumItems",
"estimatedNumItems",
originalEstimatedNumItems_,
decodedEstimatedNumItems);
if (args.size() > 2) {
VELOX_CHECK_EQ(args.size(), 3);
DecodedVector decodedNumBits(*args[2], rows);
setConstantArgument(
"originalNumBits", originalNumBits_, decodedNumBits);
"numBits", originalNumBits_, decodedNumBits);
} else {
originalNumBits_ = originalEstimatedNumItems_ * 8;
}
Expand Down

0 comments on commit f69a977

Please sign in to comment.