Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Fix: Wrong results when using OR condition with nullable attributes #3308

Merged

Conversation

abigalekim
Copy link
Contributor

Fixed the bug on nullable attributes by refactoring the query condition so that nullable attributes are processed at the same time as the cell values. I also wrote test cases that test on complex query conditions with nullable attributes.


TYPE:BUG
DESC: Bug Fix: Wrong results when using OR condition with nullable attributes

@shortcut-integration
Copy link

tiledb/sm/query/query_condition.cc Outdated Show resolved Hide resolved
@ihnorton ihnorton requested review from DimitrisStaratzis and removed request for KiterLuc June 23, 2022 13:04
@DimitrisStaratzis
Copy link
Member

I confirm it fixes the issue I had in Java.

Copy link
Contributor

@KiterLuc KiterLuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost there... I think we might be able to remove just a little bit of code duplication.

tiledb/sm/query/query_condition.cc Outdated Show resolved Hide resolved
tiledb/sm/query/query_condition.cc Show resolved Hide resolved
tiledb/sm/query/query_condition.cc Show resolved Hide resolved
@abigalekim abigalekim requested a review from KiterLuc July 12, 2022 05:35
tiledb/sm/query/query_condition.cc Outdated Show resolved Hide resolved
@ihnorton ihnorton merged commit b47f2de into dev Jul 14, 2022
github-actions bot pushed a commit that referenced this pull request Jul 14, 2022
…es (#3308)

Fixed the bug on nullable attributes by refactoring the query condition so that nullable attributes are processed at the same time as the cell values. I also wrote test cases that test on complex query conditions with nullable attributes.

TYPE:BUG
DESC: Bug Fix: Wrong results when using OR condition with nullable attributes
@ihnorton ihnorton deleted the abigalekim/sc-18836/wrong-results-when-using-or-condition branch July 14, 2022 02:56
@TileDB-Inc TileDB-Inc deleted a comment from github-actions bot Jul 14, 2022
ihnorton pushed a commit that referenced this pull request Jul 14, 2022
…es (#3308) (#3367)

Fixed the bug on nullable attributes by refactoring the query condition so that nullable attributes are processed at the same time as the cell values. I also wrote test cases that test on complex query conditions with nullable attributes.

TYPE:BUG
DESC: Bug Fix: Wrong results when using OR condition with nullable attributes

Co-authored-by: Abigale Kim <abigale.kim@tiledb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants