dimensions array is empty for realtime wikipedia example

Hi there,

I was running druid realtime and broker with a spec at $DRUID_HOME/examples/indexing/wikipedia/wikipedia.spec

and then I tried this GET query:

http://localhost:8082/druid/v2/datasources/wikipedia/

then I got this result:

{"dimensions":[],"metrics":["deleted","added","count","delta"]}

Could you please tell me why the dimensions has empty value?

Regards,
Hoa.

This is a known issue in Druid 0.8.3 where realtime segments don’t report their dimensions. Try to use the segment metadata query to introspect Druid datasources, which is what https://github.com/implydata/pivot does.

Thanks Yang, I got dimensions when the handoff happens