You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xingcan Cui (JIRA)" <ji...@apache.org> on 2018/04/24 17:44:00 UTC

[jira] [Comment Edited] (FLINK-9219) Add support for OpenGIS features in Table & SQL API

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

Xingcan Cui edited comment on FLINK-9219 at 4/24/18 5:43 PM:
-------------------------------------------------------------

[~twalthr], it's an ESRI type wrapped by Calcite. This is the first time I touch the {{TypeInformation}} part, but I guess it may not be easy to implement the type/serializer given such a complicated data structure, right?


was (Author: xccui):
[~twalthr], it's an ESRI type wrapped by Calcite.

> Add support for OpenGIS features in Table & SQL API
> ---------------------------------------------------
>
>                 Key: FLINK-9219
>                 URL: https://issues.apache.org/jira/browse/FLINK-9219
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API &amp; SQL
>            Reporter: Timo Walther
>            Assignee: Xingcan Cui
>            Priority: Major
>
> CALCITE-1968 added core functionality for handling spatial/geographical/geometry data. It should not be too hard to expose these features also in Flink's Table & SQL API. We would need a new {{GEOMETRY}} data type and connect the function APIs.
> Right now the following functions are supported by Calcite:
> {code}
> ST_AsText, ST_AsWKT, ST_Boundary, ST_Buffer, ST_Contains, ST_ContainsProperly, ST_Crosses, ST_Disjoint, ST_Distance, ST_DWithin, ST_Envelope, ST_EnvelopesIntersect, ST_Equals, ST_GeometryType, ST_GeometryTypeCode, ST_GeomFromText, ST_Intersects, ST_Is3D, ST_LineFromText, ST_MakeLine, ST_MakePoint, ST_MLineFromText, ST_MPointFromText, ST_MPolyFromText, ST_Overlaps, ST_Point, ST_PointFromText, ST_PolyFromText, ST_SetSRID, ST_Touches, ST_Transform, ST_Union, ST_Within, ST_Z
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)