Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The goal is to implement ST_Explode with a cursor function, so that the geometry column of a row can be unnested into multiple rows. Ideally, we would like to execute a query such as the following:
SELECT *FROM table(ST_Explode(cursor( SELECT ST_GeomFromText('MULTIPOINT((1 1), (2 2))') as points UNION ALL SELECT ST_GeomFromText('MULTIPOINT((3 3), (4 4))') as points ))); GEOM, INDEXPOINT (1 1), 0 POINT (2 2), 1 POINT (3 3), 0 POINT (4 4), 1
Attachments
Issue Links
- is blocked by
-
CALCITE-5309 Accept cursors as inputs of table functions
- Open
- relates to
-
CALCITE-5281 Implement geometry set returning functions (SRF)
- Closed