[ 
https://issues.apache.org/jira/browse/CALCITE-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811974#comment-17811974
 ] 

Bertil Chapuis commented on CALCITE-2031:
-----------------------------------------

A lot of spatial functions have now been implemented. One can easily find the 
missing functions by searching for "Not implemented" (33 occurences as of 
2024-01-29) in the core/src/test/resources/sql/spatial.iq file. Given that this 
issue has been created 7 years ago, I wonder if it would make sense to close it 
and to create separate issues as the need for these functions arise (some of 
the remaining functions are quite exotic, e.g., ST_GoogleMapLink, 
ST_GeometryShadow).

> Implement more OpenGIS functions
> --------------------------------
>
>                 Key: CALCITE-2031
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2031
>             Project: Calcite
>          Issue Type: Bug
>          Components: spatial
>            Reporter: Julian Hyde
>            Priority: Trivial
>              Labels: gsoc2018
>
> The initial set of OpenGIS functions were implemented in CALCITE-1968 but 
> there are quite a few more to implement.
> Each function can be implemented separately, and with very little effort: you 
> typically need to find the commented function in in 
> {{[spatial.iq|https://github.com/apache/calcite/blob/master/core/src/test/resources/sql/spatial.iq]}}
>  (it will be followed by the comment {{# Not implemented}}), add one or two 
> queries as test case, add a method to {{GeoFunctions.java}}, iterate until 
> the test cases work, then add a row to one of the tables in {{reference.md}} 
> to document that the function is now implemented.
> I suggest that each pull request implements a few related functions. A good 
> place to start would be {{ST_X(geom)}}; {{ST_Z(geom)}} is very similar and is 
> already implemented.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to