[
https://issues.apache.org/jira/browse/CALCITE-5262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17601391#comment-17601391
]
Julian Hyde edited comment on CALCITE-5262 at 9/7/22 4:33 PM:
--------------------------------------------------------------
Implicitly converting strings to geometries would be great. SqlTypeTransform
sounds like the right approach; you will also need changes to
SqlTypeAssignmentRule (see CALCITE-3550). Add tests in
[TypeCoercionTest|https://github.com/apache/calcite/blob/main/core/src/test/java/org/apache/calcite/test/TypeCoercionTest.java].
Also update [the
doc|https://calcite.apache.org/docs/reference.html#implicit-type-conversion].
Can you log a separate case for this?
was (Author: julianhyde):
Implicitly converting strings to geometries would be great. SqlTypeTransform
sounds like the right approach; you will also need changes to
SqlTypeAssignmentRule (see CALCITE-3550). Also update [the
doc|https://calcite.apache.org/docs/reference.html#implicit-type-conversion].
Can you log a separate case for this?
> Add functions to support WKB (well-known binary) and GeoJSON
> ------------------------------------------------------------
>
> Key: CALCITE-5262
> URL: https://issues.apache.org/jira/browse/CALCITE-5262
> Project: Calcite
> Issue Type: Bug
> Components: spatial
> Reporter: Julian Hyde
> Assignee: Bertil Chapuis
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Add functions to support WKB (well-known binary) and GeoJSON. This is made
> possible by the switch to JTS in CALCITE-4294. The functions are:
> * ST_AsEWKT
> * ST_AsGeoJSON
> * ST_AsWKB
> * ST_GeomFromGeoJSON
> * ST_GeomFromWKB
--
This message was sent by Atlassian Jira
(v8.20.10#820010)