-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Add geo-spacial quering to sql #3151
Comments
hi @sholomellenbogen - thanks for u'r request |
Hi @YANG-DB, I am not very familiar with PPL. Would it allow us to join the results from 2 indexes together? My problem is that I specifically need to be able to join the results from 2 indexes where the first index is filtered by a geo-spacial query. | I know I can join 2 indexes with SQL already so adding geo-spacial query filtering to that would solve my problem. Adding it to PPL would only solve it if I can also join 2 indexes using it. |
[Catch All Triage - 1, 2, 3] |
@sholomellenbogen PPL is an opensearch language we are supporting for performing queries and data analysts |
After looking into PPL more; it does not appear provide the ability to join multiple indices which is a hard requirement for my issue. There seems to be an active issue (#3099) requesting this feature; is it in the works? |
Hi @sholomellenbogen |
I am pretty busy at the moment but I will get back to this in a month or so and if it is still not being worked on I may have time to take a look. |
Is your feature request related to a problem?
I have 2 indexes, in 1 I have data that has polygons and the other index contains extra contextual data for each record. I need to be able to run a geo-spacial query (geo_shape) on the first index and join the results with the second index.
What solution would you like?
Add a geo_shape function to sql so that I can do the entire query in sql to take advantage of the ability to join across multiple indexes.
What alternatives have you considered?
And alternative I tried was to create a search-processor using a filter query. I had the processor do the geo-shape query and I tried to use a sql query to join that search pipeline result with the second index. I could not figure out (or there is no way) to invoke the search pipeline created by the processor in sql. If I could do this it would be an acceptable solution as well.
The text was updated successfully, but these errors were encountered: