greptimedb
greptimedb copied to clipboard
feat: Add Point type read/write support
This is part 1 of our geospatial and trajectory data support. This patch adds Point data type support, and more types like LineString and Polygon may come later.
The internal data layout is following this proposal of GeoArrow spec. It uses StructArray to store coordinates, in order to ensure that Xs and Ys from coordinates are stored together. This memory layout is designed to take advantage of Arrow's performance features, as well as compression considerations.
This part of features is implemented by @Morranto
Currently blocked by recordbatch-protocolbuf translation. To be resolved in #381