implydata / plywood-druid-requester

Druid requester for Plywood (within node)
Apache License 2.0
25 stars 14 forks source link

Resolve datasource names through joins #24

Open Fryuni opened 3 years ago

Fryuni commented 3 years ago

When a query has a datasource of type join and the result is empty ([]) the resolver will not identify the data sources used on the query and therefore will fail with:

Error: No such datasource 'undefined'
    at /path/to/node_modules/plywood-druid-requester/build/druidRequester.js:179:23

This PR adds support for such scenarios