james-willis commented on code in PR #3138:
URL: https://github.com/apache/sedona/pull/3138#discussion_r3632793528


##########
docs/api/sql/Raster-map-algebra.md:
##########
@@ -72,6 +72,9 @@ execution. We'll demonstrate both approaches to implementing 
commonly used map a
 
     This allows controlling the output pixel data type. Users should consider 
potential precision impacts when coercing to a smaller type.
 
+!!!Note
+    Jiffle limits scripts to 200 loop iterations per pixel by default, so a 
runaway `while` loop fails fast instead of hanging the executor. If a script 
legitimately needs more iterations per pixel, raise (or disable) the limit with 
the JVM system property `it.geosolutions.jaiext.jiffle.maxIterations` (a 
negative value disables the limit), e.g. `--conf 
"spark.executor.extraJavaOptions=-Dit.geosolutions.jaiext.jiffle.maxIterations=10000"`.

Review Comment:
   > Could we add a packaged-jar check for this setting?
   
   I don't see an existing mechanism for this in the code base.
   
   I exempted this parameter from the relocation, so now it works as 
documented. I think that is better than having a custom parameter string.



-- 
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]

Reply via email to