-
Notifications
You must be signed in to change notification settings - Fork 83
Dev/spark4 rasterx #612
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
Merged
mjohns-databricks
merged 38 commits into
databrickslabs:dbr17/rasterx
from
milos-colic:dev/spark4_rasterx
Sep 25, 2025
Merged
Dev/spark4 rasterx #612
mjohns-databricks
merged 38 commits into
databrickslabs:dbr17/rasterx
from
milos-colic:dev/spark4_rasterx
Sep 25, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…off and wait until a timeout. Add util scripts for docker, for connecting to the image and for installing hadoop inside the image. Standardise prefix naming in FileUtils. Add copy code for StringType rasters, rasters must be coppied to local on read. Add HadoopConf to IO operations in GDAL. Simplify HadoopUtils logic. Move testing back to parallel, remove spark.task.cpu as installing Hadoop on docker solves file system issues.
Add OGRMultiReadV2 data source. Fix missing Gdal AllRegister for RasterExpression and RasterTessellateGeneratorExpression.
Enable OGRMultiReadDataSource v2.
Fix toWorlddCoord method in GDAL object, it was not returning centers of pixels. Add size to GDALBuildVRT execution. Add size to GDALCalc execution. Add size to GDALRasterize execution. Add size to GDALTranslate execution. Add size to GDALWarp execution. Fix code style for H3IndexSystem. Fix copy of relative files in HadoopUtils. Add getGeometry in all JTS geometries. Add memory manager classes, they arent used yet. Migrate empty directory clean up to a listener pattern. Fix tmp directory over creation. Supress some GDAL configs. Add .crc file cleanup. Fix generator expressions raster clean up. Fix tessellation logic for rasters. Fix bounding box creation for rasters.
Remove geometry abstractions. Use JTS directly. Remove IndexSystem abstractions. Decouple BNG. Start implementing expressions via invoke pattern.
Add spark 4 compliant expressions. Fix errors due to scala 2.12. Fix errors due to spark 3.5.
Migrate all bng expressions to BNG_ naming. Migrate all bng expressions to invoke pattern.
Refactors the rasterx GDAL driver to introduce NodeFileManager and NodeFilePathUtil for managing local file access and locking, replacing previous remote file handling logic. Updates RST_Avg expression to support both path and binary input, and adds a test for RST_Avg. Removes the obsolete ZipReader. Updates .gitignore for new dev and build artifacts. Adjusts GDALManager to load the correct JNI library. Adds a new functions.scala for registering rasterx expressions.
Add 0README.md files for packages. Remove any reference of "index" and replace appropriately with "grid" or "cell ID". Standardize BNG_ expressions to eval + execute signatures. Remove WithNewChildren abstracted trait as it is unnecessary. Use withNewChildren method in all InvokedExpression expressions. Simplify and standardize BNG_ agg expressions. Define Checkpoint cleaner logic via spark listener. Define a package com.dblabs.spatial.rasterx.operations with Individual singletons for operations that can be performed on rasters. Update docker image to gdal 3.11. Define ExpressionConfigExpr runtime replacable way of passing expression config to expressions. Define read/write gdal data source. Simplify abstractions for expressions and builders. Add OGR read data source. Prettify Invocation pattern. Migrate all raster expressions.
Add BandAccessors for isEmpty and minmax getters. Fix order of values in chips for BNG, Long, Boolean, Geometry. Add Euclidean distance for BNG. General fixes for BNG expressions. Add tests for BNG coverage. Improve Checkpoint Cleaner. Add prj file for RST_Clip to avoid CRS warnings at runtime. Improve Convolve. Improve ExpressionConfigExpr. Improve Invoke pattern. Add OGR data source. Add RST tests. General fixes for RST_ expressions.
Move script files around to have a simpler structure.
Add so file for gdal311.
Cleanup python packages. Remove mosaic python bindings. Add gridx python package. Add rasterx python package. Add vectorx python package. Add init guards on functions registration in scala - spark connect tries many times to register. Add register_ds data source to allow no-jvm registration in python via data source delegation.
Add proper guards for re-registration via spark context conf. Fix some lock issues in NodeFilePathUtil. Introduce OGR_Driver concept. Use OGR_Driver to open ogr data sets.
…e copies. Fix resource clean up in RST expressions. Improve SysUtils runCommand logic.
Move expressions to gbx_ prefix.
5073547
into
databrickslabs:dbr17/rasterx
1 check passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.