databrickslabs / mosaic

An extension to the Apache Spark framework that allows easy and fast processing of very large geospatial datasets.
https://databrickslabs.github.io/mosaic/
Other
276 stars 66 forks source link

include `st_within` in python import and scala test (minor) #530

Closed danielsparing closed 8 months ago

danielsparing commented 8 months ago

Python __all__ update is required in order to make st_within work from Python.

Second change is adding to a Scala test.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (cffa517) 93.81% compared to head (9e072f1) 93.83%. Report is 21 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/databrickslabs/mosaic/pull/530/graphs/tree.svg?width=650&height=150&src=pr&token=aEzZ8ITxdg&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=databrickslabs)](https://app.codecov.io/gh/databrickslabs/mosaic/pull/530?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=databrickslabs) ```diff @@ Coverage Diff @@ ## main #530 +/- ## ========================================== + Coverage 93.81% 93.83% +0.01% ========================================== Files 241 242 +1 Lines 6244 6260 +16 Branches 108 108 ========================================== + Hits 5858 5874 +16 Misses 386 386 ``` | [Files](https://app.codecov.io/gh/databrickslabs/mosaic/pull/530?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=databrickslabs) | Coverage Δ | | |---|---|---| | [...cks/labs/mosaic/core/geometry/MosaicGeometry.scala](https://app.codecov.io/gh/databrickslabs/mosaic/pull/530?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=databrickslabs#diff-c3JjL21haW4vc2NhbGEvY29tL2RhdGFicmlja3MvbGFicy9tb3NhaWMvY29yZS9nZW9tZXRyeS9Nb3NhaWNHZW9tZXRyeS5zY2FsYQ==) | `70.00% <ø> (ø)` | | | [.../labs/mosaic/core/geometry/MosaicGeometryJTS.scala](https://app.codecov.io/gh/databrickslabs/mosaic/pull/530?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=databrickslabs#diff-c3JjL21haW4vc2NhbGEvY29tL2RhdGFicmlja3MvbGFicy9tb3NhaWMvY29yZS9nZW9tZXRyeS9Nb3NhaWNHZW9tZXRyeUpUUy5zY2FsYQ==) | `94.70% <100.00%> (+0.14%)` | :arrow_up: | | [...bricks/labs/mosaic/expressions/geometry/ST\_X.scala](https://app.codecov.io/gh/databrickslabs/mosaic/pull/530?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=databrickslabs#diff-c3JjL21haW4vc2NhbGEvY29tL2RhdGFicmlja3MvbGFicy9tb3NhaWMvZXhwcmVzc2lvbnMvZ2VvbWV0cnkvU1RfWC5zY2FsYQ==) | `100.00% <100.00%> (ø)` | | | [...bricks/labs/mosaic/expressions/geometry/ST\_Y.scala](https://app.codecov.io/gh/databrickslabs/mosaic/pull/530?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=databrickslabs#diff-c3JjL21haW4vc2NhbGEvY29tL2RhdGFicmlja3MvbGFicy9tb3NhaWMvZXhwcmVzc2lvbnMvZ2VvbWV0cnkvU1RfWS5zY2FsYQ==) | `100.00% <100.00%> (ø)` | | | [...bricks/labs/mosaic/expressions/geometry/ST\_Z.scala](https://app.codecov.io/gh/databrickslabs/mosaic/pull/530?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=databrickslabs#diff-c3JjL21haW4vc2NhbGEvY29tL2RhdGFicmlja3MvbGFicy9tb3NhaWMvZXhwcmVzc2lvbnMvZ2VvbWV0cnkvU1RfWi5zY2FsYQ==) | `100.00% <100.00%> (ø)` | | | [...tabricks/labs/mosaic/functions/MosaicContext.scala](https://app.codecov.io/gh/databrickslabs/mosaic/pull/530?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=databrickslabs#diff-c3JjL21haW4vc2NhbGEvY29tL2RhdGFicmlja3MvbGFicy9tb3NhaWMvZnVuY3Rpb25zL01vc2FpY0NvbnRleHQuc2NhbGE=) | `97.42% <100.00%> (+<0.01%)` | :arrow_up: |