Replies: 6 comments 11 replies
-
Hi @czentgr , Thanks for raising this. Coming to the points you raised:
We have a framework in place to add third party libraries . A recent example is SIMDJSON which you can see example of in the discussions and PRs. (Reach out to me if you want pointers to code etc). Assuming the libraries are open source and have the right license then this shouldnt be a problem.
It would be great if you can contribute with these changes to Velox. |
Beta Was this translation helpful? Give feedback.
-
@czentgr As @kgpai mentioned, the order would be 1) Adding the third-party dependency, 2) Adding a logical type |
Beta Was this translation helpful? Give feedback.
-
@czentgr On the Presto Java side, the Geometry type seems to be not built-in. I see prestodb/presto#19449 |
Beta Was this translation helpful? Give feedback.
-
CC: @mbasmanova |
Beta Was this translation helpful? Give feedback.
-
I wanted to share an update on the issue regarding the plan for spatial support. Here’s the progress I’ve made so far:
The cast operator is optional since equivalent functionality can be achieved with Currently, I’m working on performance evaluations of spatial joins. We may come up with better designs later. Additionally, unit tests and docs will be added in a later phase. Does this plan and progress align with expectations? Looking forward to your feedback and suggestions! |
Beta Was this translation helpful? Give feedback.
-
A large number of the functionality missing is dominated by the spatial functions.
From a Presto perspective, the Java implementation utilizes the locationtech JTS and ESRI libraries to provide spatial support.
On the C/C++ side there is the
libgeos
project (https://libgeos.org) which says it is closely linked to JTS. It implements the OGC Simple Features model which is used by most RBMS vendors. ESRI does have a spatial library (SDE) written in C but this is proprietary, afaik.Adding spatial support would require discussing and designing the following:
These are the basic things I can think of. But this needs some discussion on the what and how. Hence I'm creating this discussion item.
Beta Was this translation helpful? Give feedback.
All reactions