james-willis opened a new issue, #3320: URL: https://github.com/apache/sedona/issues/3320
`RS_Resample` and `RS_ReprojectMatch` accept an interpolation algorithm name, but `RasterEditors.createInterpolationAlgorithm` maps only `nearestneighbor`, `bilinear`, and `bicubic` — any other string (a typo like `'biliner'`, or a name from another engine's vocabulary like `'CubicSpline'`, `'Lanczos'`, `'sinc'`) silently falls back to NearestNeighbor instead of erroring. ```sql SELECT RS_Resample(rast, 100, 100, false, 'sinc') FROM t -- silently NearestNeighbor ``` This masks typos and quietly returns wrong-interpolation results. Surfaced while building the SedonaDB↔Sedona Spark parity suite (apache/sedona-db, `integration/spark-parity`), where SedonaDB rejects unknown names and Spark's silent fallback shows up as a cataloged divergence. Proposal: throw `IllegalArgumentException` naming the accepted values. A null/empty algorithm keeps defaulting to NearestNeighbor. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
