Kontinuation opened a new pull request, #907:
URL: https://github.com/apache/sedona/pull/907

   ## Did you read the Contributor Guide?
   
   - Yes, I have read [Contributor 
Rules](https://sedona.apache.org/latest-snapshot/community/rule/) and 
[Contributor Development 
Guide](https://sedona.apache.org/latest-snapshot/community/develop/)
   
   ## Is this PR related to a JIRA ticket?
   
   Yes, [SEDONA-326](https://issues.apache.org/jira/browse/SEDONA-326)
   
   ## What changes were proposed in this PR?
   
   Make `RS_Array` and `RS_MultiplyFactor` easier to use.
   
   * `RS_Array` automatically casts the initial value to double. Now we can 
safe guard `RS_Divide` using
     ```sql
     RS_Divide(band_nir, RS_LogicalOver(band_red, 
RS_Array(array_size(band_red), 1e-12)))
     ```
   * `RS_MultiplyFactor` takes double factors.
   
   ## How was this patch tested?
   
   Added new unit tests.
   
   ## Did this PR include necessary documentation updates?
   
   - Yes, I have updated the documentation update.
   


-- 
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: dev-unsubscr...@sedona.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to