Skip to content

fix: cast column to its correct type before insertion in database#392

Merged
JoanFM merged 10 commits into
mainfrom
fix-map-column-type
Jun 9, 2022
Merged

fix: cast column to its correct type before insertion in database#392
JoanFM merged 10 commits into
mainfrom
fix-map-column-type

Conversation

@alaeddine-13

Copy link
Copy Markdown
Member

closes: #391

@JoanFM JoanFM left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

some test should be added/modified

@codecov

codecov Bot commented Jun 7, 2022

Copy link
Copy Markdown

Codecov Report

Merging #392 (eef0c20) into main (d559752) will increase coverage by 1.70%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #392      +/-   ##
==========================================
+ Coverage   84.77%   86.47%   +1.70%     
==========================================
  Files         134      134              
  Lines        6358     6367       +9     
==========================================
+ Hits         5390     5506     +116     
+ Misses        968      861     -107     
Flag Coverage Δ
docarray 86.47% <100.00%> (+1.70%) ⬆️

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

Impacted Files Coverage Δ
docarray/__init__.py 75.00% <100.00%> (ø)
docarray/array/storage/annlite/backend.py 95.58% <100.00%> (ø)
docarray/array/storage/base/backend.py 82.60% <100.00%> (+3.66%) ⬆️
docarray/array/storage/weaviate/backend.py 87.59% <100.00%> (+0.09%) ⬆️
docarray/helper.py 81.73% <100.00%> (+0.33%) ⬆️
docarray/array/storage/memory/find.py 91.22% <0.00%> (+1.75%) ⬆️
docarray/array/storage/elastic/backend.py 94.39% <0.00%> (+1.86%) ⬆️
docarray/array/mixins/getattr.py 81.81% <0.00%> (+3.03%) ⬆️
docarray/array/storage/elastic/getsetdel.py 100.00% <0.00%> (+4.65%) ⬆️
docarray/array/mixins/find.py 87.35% <0.00%> (+5.74%) ⬆️
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae4d63b...eef0c20. Read the comment docs.

Comment thread docarray/array/storage/annlite/backend.py Outdated
Comment thread docarray/array/storage/base/backend.py Outdated
Comment thread docarray/array/storage/base/backend.py Outdated
@github-actions github-actions Bot added size/m and removed size/s labels Jun 8, 2022
@samsja samsja force-pushed the fix-map-column-type branch from 6d08623 to c1ece84 Compare June 9, 2022 09:25
Comment thread docarray/helper.py Outdated
samsja and others added 2 commits June 9, 2022 11:34
Co-authored-by: AlaeddineAbdessalem <alaeddine-13@live.fr>
@JoanFM JoanFM merged commit 6881351 into main Jun 9, 2022
@JoanFM JoanFM deleted the fix-map-column-type branch June 9, 2022 13:24
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.

Docoarray protobuff convert int to float

3 participants