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

[c++] ManagedQuery::set_condition should not reset entire instance state #3418

Merged
merged 4 commits into from
Dec 11, 2024

Conversation

bkmartinjr
Copy link
Member

@bkmartinjr bkmartinjr commented Dec 11, 2024

Issue and/or context:

The new ManagedQuery class set_condition method was resetting all instance state. This had the side-effect of losing layout and other query params for any ManagedQuery with a query condition.

@bkmartinjr bkmartinjr changed the title [C++] set_condition should not reset entire instance state [C++] ManagedQuery::set_condition should not reset entire instance state Dec 11, 2024
@johnkerl johnkerl changed the title [C++] ManagedQuery::set_condition should not reset entire instance state [c++] ManagedQuery::set_condition should not reset entire instance state Dec 11, 2024
Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.09%. Comparing base (cbfa704) to head (125ec77).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3418      +/-   ##
==========================================
+ Coverage   85.99%   86.09%   +0.09%     
==========================================
  Files          55       55              
  Lines        6221     6221              
==========================================
+ Hits         5350     5356       +6     
+ Misses        871      865       -6     
Flag Coverage Δ
python 86.09% <ø> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
python_api 86.09% <ø> (+0.09%) ⬆️
libtiledbsoma ∅ <ø> (∅)

@bkmartinjr bkmartinjr marked this pull request as ready for review December 11, 2024 02:52
@bkmartinjr bkmartinjr merged commit 3c1b36b into main Dec 11, 2024
15 checks passed
@bkmartinjr bkmartinjr deleted the bkmartinjr/set-condition-regression branch December 11, 2024 16:39
github-actions bot pushed a commit that referenced this pull request Dec 11, 2024
…state (#3418)

* set_condition should not reset entire instance state

* lint

* rework ManagedQuery API a bit

* lint
johnkerl pushed a commit that referenced this pull request Dec 11, 2024
…state (#3418) (#3420)

* set_condition should not reset entire instance state

* lint

* rework ManagedQuery API a bit

* lint

Co-authored-by: Bruce Martin <[email protected]>
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.

3 participants