-
Notifications
You must be signed in to change notification settings - Fork 176
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
[Question] Is there a way to convert the Turnilo payload into a native Druid query? #907
Comments
Hi! I don't think I follow. What do you mean by "turnilo payload"? Right now flow is as follows:
What exactly you want to achieve? |
I think point 4 in your list best represents what I'm looking for. I have a plywood query handler that Turnilo sends requests to, but I'm trying to figure out the best way to create native druid queries then send those queries to my backend API endpoint, which then communicates with the Druid server. I use
In my plywood handler i use that external instance being returned above
This almost works for us, but https://github.com/implydata/plywood-druid-requester/blob/master/src/druidRequester.ts#L306 I figured the easiest thing to do is convert the plywood query coming from Turnilo to a native druid query then post it to my API endpoint. I thought this might be able to help, but I might be thinking about this all the wrong way. https://github.com/implydata/plywood/blob/master/src/external/druidSqlExternal.ts |
I'm going to close this. our team decided to add the routing logic on the API side. Thanks for your help! |
We're looking to proxy our druid data sources for some data scrubbing, and was wondering if there's a way to take the payload that comes from my Turnilo instance, and convert it into a native Druid query then pass that native query to our druid proxy?
I'm using the plywood npm package and started looking into
DruidSQLExternal.fromJS
from the plywood package but that didn't seem to give me what i'm looking for.If this question is more suited for the plywood repo just let me know and I'll close this, and ask the team over there.
Thanks!
John
The text was updated successfully, but these errors were encountered: