superset icon indicating copy to clipboard operation
superset copied to clipboard

Refresh Datasources does not work with druid realtime segments

Open nishantmonu51 opened this issue 9 years ago • 3 comments

For refresh datasources to work, superset needs physical segments actually handed over to druid historical nodes. We can improve the schema discovery to discover schema from druid realtime intermediate segments also.

planning to work on it and will send a PR for this soon.

nishantmonu51 avatar Feb 25 '17 13:02 nishantmonu51

I couldn't find an endpoint on our current version 0.8.? that exposes that metadata...

mistercrunch avatar Feb 26 '17 07:02 mistercrunch

Also note that at Airbnb we have a framework that loads data in Druid from config files, and that we leverage the metadata defined there to create the Datasources in Superset, meaning that at Airbnb we don't actually use the Superset code to sync datasource metadata anymore.

Say if you want to load some Kafka topic into Druid you fill in a bit of information in a config file (topic, xpath statements to deserialize payload, sample rate, filtering, dims, metrics, ...). Since we have that we use it to create the datasources, which solves the realtime use case. But of course this doesn't work for others...

mistercrunch avatar Feb 26 '17 07:02 mistercrunch

I have a druid cluster and have the segment-cache in historical node, yet I am unable to load the data in superset. I could see the datasources name , but refresh cluster is not pulling the data from segment-cache.

deyani27 avatar Mar 06 '17 13:03 deyani27