Skip to content

fix: keep offset2id updated when deleting in sqlite - #471

Merged
JoanFM merged 5 commits into
mainfrom
fix-sqlite-uniqueness
Aug 4, 2022
Merged

fix: keep offset2id updated when deleting in sqlite#471
JoanFM merged 5 commits into
mainfrom
fix-sqlite-uniqueness

Conversation

@JohannesMessner

Copy link
Copy Markdown
Member

fixes the bug described here: #470

Comment thread tests/unit/array/test_sequence.py Outdated
Comment thread tests/unit/array/test_sequence.py Outdated
@codecov

codecov Bot commented Aug 3, 2022

Copy link
Copy Markdown

Codecov Report

Merging #471 (328715d) into main (ed7e9b6) will increase coverage by 3.39%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #471      +/-   ##
==========================================
+ Coverage   83.33%   86.72%   +3.39%     
==========================================
  Files         134      134              
  Lines        6516     6541      +25     
==========================================
+ Hits         5430     5673     +243     
+ Misses       1086      868     -218     
Flag Coverage Δ
docarray 86.72% <100.00%> (+3.39%) ⬆️

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

Impacted Files Coverage Δ
docarray/array/mixins/io/pushpull.py 92.04% <ø> (-2.34%) ⬇️
docarray/__init__.py 75.00% <100.00%> (ø)
docarray/array/mixins/getitem.py 87.30% <100.00%> (+19.04%) ⬆️
docarray/array/mixins/plot.py 67.90% <100.00%> (+1.09%) ⬆️
docarray/array/storage/elastic/backend.py 95.12% <100.00%> (+0.08%) ⬆️
docarray/array/storage/elastic/seqlike.py 94.82% <100.00%> (+1.64%) ⬆️
docarray/array/storage/sqlite/getsetdel.py 100.00% <100.00%> (+14.70%) ⬆️
docarray/document/data.py 91.48% <100.00%> (ø)
docarray/array/storage/weaviate/backend.py 88.23% <0.00%> (+0.73%) ⬆️
... and 17 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@JohannesMessner
JohannesMessner marked this pull request as ready for review August 4, 2022 12:38
@JoanFM
JoanFM merged commit 6b4f6fc into main Aug 4, 2022
@JoanFM
JoanFM deleted the fix-sqlite-uniqueness branch August 4, 2022 12:51
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.

2 participants