Skip to content

Conversation

@dain
Copy link
Member

@dain dain commented May 24, 2024

Description

The indeterminate operator was not checking the correct number of indexes in the dictionary. This could result in out of bounds exception or in rare situations checking too few indexes resulting in an incorrect result.

Fixes #21911

Release notes

(x) Release notes are required, with the following suggested text:

# Section
* Fix rare out of bounds or incorrect result from indeterminate operator for array type when the data is dictionary encoded. ({issue}`21911`)

The indeterminate operator was not checking the correct number of
indexes in the dictionary. This could result in out of bounds exception
or in rare situations checking too few indexes resulting in an incorrect
result.
@dain dain requested a review from electrum May 24, 2024 22:46
@cla-bot cla-bot bot added the cla-signed label May 24, 2024
@dain dain merged commit 5afdfce into trinodb:master May 24, 2024
@dain dain deleted the fix-array-type-indeterminate-operator branch May 24, 2024 23:48
@github-actions github-actions bot added this to the 449 milestone May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Invalid position 2 in block with 2 positions with multiple filters on array(varchar)

3 participants