Closed JulienPeloton closed 4 years ago
Merging #124 into master will increase coverage by
0.01%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #124 +/- ##
==========================================
+ Coverage 93.67% 93.68% +0.01%
==========================================
Files 33 33
Lines 1233 1235 +2
Branches 197 188 -9
==========================================
+ Hits 1155 1157 +2
Misses 78 78
Flag | Coverage Δ | |
---|---|---|
#python | 93.65% <ø> (ø) |
:arrow_up: |
#scala | 93.69% <100%> (+0.01%) |
:arrow_up: |
Impacted Files | Coverage Δ | |
---|---|---|
src/main/scala/com/spark3d/Partitioners.scala | 87.5% <100%> (+0.46%) |
:arrow_up: |
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 047bd85...9e3fe2c. Read the comment docs.
Linked to issue: #121
When applying
seqOp
to determine the envelope of the dataset (Octree.scala
), the first comparison is done between a null BoxEnvelope and a point of the dataset. The null value has coordinatex=(0, -1, 0, -1, 0, -1)
, and the implicit assumption was that the dataset contains the(0, 0, 0, 0, 0, 0)
point. But for a dataset completely shifted from the origin, the code was producing a huge envelope (to include the origin), leading to huge empty partitions.