Hi everyone,
I have completed the first incremental stage of native geospatial support for StarRocks. The PR is now open and ready for technical review:
github.com/StarRocks/starrocks/pull/78381
The PR introduces:
• a native GEOMETRY SQL and storage type;
• OGC WKT/WKB parsing and serialization;
• POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING,
MULTIPOLYGON, GEOMETRYCOLLECTION, and EMPTY geometries;
• vectorized ST_GeomFromText, ST_AsText,
ST_GeomFromWKB, and ST_AsBinary functions;
• persistent storage integration, unit tests, and user documentation.
The implementation has been built and validated locally, including persistence across BE restarts and WKT/WKB round-trip tests using a real Moscow districts dataset.
Could someone please help route this PR to the appropriate FE, BE, storage, protobuf, and geospatial maintainers?
I would especially appreciate feedback on the GEOMETRY representation, storage encoding, compatibility approach, and public SQL API.
Thank you!