Skip to content

Commit

Permalink
It will fail for Constant Complex vector
Browse files Browse the repository at this point in the history
  • Loading branch information
kewang1024 committed Oct 24, 2024
1 parent 10cdf6f commit 10da53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/functions/prestosql/ArrayIntersectExcept.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ class ArrayIntersectExceptFunction : public exec::VectorFunction {

auto leftElementsCount =
countElements<ArrayVector>(rows, *decodedLeftArray);
vector_size_t rowCount = left->size();
vector_size_t rowCount = rows.end();

// Allocate new vectors for indices, nulls, length and offsets.
BufferPtr newIndices = allocateIndices(leftElementsCount, pool);
Expand Down

0 comments on commit 10da53d

Please sign in to comment.