-
Notifications
You must be signed in to change notification settings - Fork 45
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
Spark 3.2 #587
Conversation
core/src/main/scala/org/locationtech/rasterframes/expressions/BinaryRasterFunction.scala
Outdated
Show resolved
Hide resolved
...rc/main/scala/org/locationtech/rasterframes/expressions/transformers/ReprojectGeometry.scala
Show resolved
Hide resolved
I'm going to bump the min Spark version in GT as well locationtech/geotrellis#3389 |
@pomadchin It'd be nice to get 3.6.3 out with spark 3.2.0 and then 3.7.0 with CES3 and spark 3.2.1. That'd allow this to sync with frameless 0.11 and later with 0.12+. |
@echeipesh 🚀 locationtech/geotrellis#3471 + I'm dropping Spark 3.0 over there typelevel/frameless#637 (frameless will be published for 3.1.x, 3.2.x, and 3.3.x) |
c264037
to
bdbb98a
Compare
@@ -48,7 +48,8 @@ import org.scalatest.{BeforeAndAfterAll, Inspectors} | |||
|
|||
import scala.math.{max, min} | |||
|
|||
class GeoTrellisDataSourceSpec extends TestEnvironment with BeforeAndAfterAll with Inspectors with DataSourceOptions { | |||
trait GeoTrellisDataSourceSpec extends TestEnvironment with BeforeAndAfterAll with Inspectors with DataSourceOptions { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very little motivation to fix this. Note that the push-down predicates also got busted with move to spark 3.2.
Can't imagine ever using this rather than reading COGs or even Zarr. Unless somebody would like to fix this I would like to suggest to remove this feature altogether to keep things tidy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@metasim @pomadchin What do you guys think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Spark 3.2 Lets get it compiled, spark 2 support is well out the window anyway.
GT settings bring in jackson classes and with shading it was getting weird
this is a starting point
Also untangle the super weird inheritance relationship between the two
Made them more direct. Good for fixing things and better for performance because these versions don't need to create intermediate mask tiles.
This is a change but it's towards less surprising
- fixed weird init order in tests - all tests share same context now thanks to base - exclude scala-xml from tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
...rc/main/scala/org/locationtech/rasterframes/expressions/generators/RasterSourceToTiles.scala
Outdated
Show resolved
Hide resolved
@@ -48,7 +48,8 @@ import org.scalatest.{BeforeAndAfterAll, Inspectors} | |||
|
|||
import scala.math.{max, min} | |||
|
|||
class GeoTrellisDataSourceSpec extends TestEnvironment with BeforeAndAfterAll with Inspectors with DataSourceOptions { | |||
trait GeoTrellisDataSourceSpec extends TestEnvironment with BeforeAndAfterAll with Inspectors with DataSourceOptions { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
core/src/main/scala/org/locationtech/rasterframes/expressions/package.scala
Outdated
Show resolved
Hide resolved
d1ecf9b
to
a2d5a7a
Compare
- Split out docs build into separate workflow. - Removed umlimit call (not needed)
core/src/main/scala/org/locationtech/rasterframes/expressions/package.scala
Outdated
Show resolved
Hide resolved
core/src/main/scala/org/locationtech/rasterframes/expressions/transformers/MaskExpression.scala
Show resolved
Hide resolved
avoid reflection which is done at runtime by structural types
It needs more work at another time
I've been looking at the python side of the project enough to form strong enough opinions of it. I think it's actually going to need some work and it doesn't make sense to do it in this PR.
So that's a lot of moving stuff around potentially and it would be much cleaner to make that it's own PR. |
Pushing for Spark 3.2
cleanup dependencies: disentangle the release wheel from pweavegrok the python environment, consider introducingpoetry
instead of conda