superset icon indicating copy to clipboard operation
superset copied to clipboard

Druid Datasource- Error "Please define at least one metric for your table"

Open vinjadhav opened this issue 10 years ago • 8 comments

Hi,

I am using druid data source. When I click on the data source i get error "Please define at least one metric for your table" . But the data source has the metrics defined. I checked it on druid at "http://localhost:8082/druid/v2/datasources/datasource-name" i get following dimension and metrics details {"dimensions":["sensortype","sensorunit","sensorid"],"metrics":["sensorvalue"]}

Please suggest Thanks

vinjadhav avatar May 07 '16 06:05 vinjadhav

Just an update, I am using Druid 0.9.0..

vinjadhav avatar May 07 '16 06:05 vinjadhav

I think Caravel somehow failed at picking up your table definition. I'm guessing that if you edit your datasource on the Caravel side you won't see columns or metrics. One known issue is that we need at least one physical segment in order for us to pick up the column definitions.

We're still on Druid 0.8 at Airbnb and can't insure that 0.9.0 is fully compatible at the moment. If we want to support more version we'd need more sophisticated mocking in the unit tests that would represent things that the REST API for different versions of Druid may return.

mistercrunch avatar May 08 '16 14:05 mistercrunch

@vinjadhav did u ever go thru this ? https://github.com/airbnb/caravel/issues/409

bohemia420 avatar May 20 '16 06:05 bohemia420

@bohemia420 yes i had gone though #409 .. my problem is not about the datasource.. but I am not able to see dimension and metric data in Caravel. @mistercrunch i do have 2 physical segment in my druid datasource

vinjadhav avatar May 20 '16 08:05 vinjadhav

Hi, I am facing the same issue with druid-0.9.0, from #409 , will waiting for 24hours solve the issue? That is kind of not an acceptable solution for my case.

deyani27 avatar May 26 '16 22:05 deyani27

Ghanta solve the issue :-)..I switched to metaphase.i have been online night and day on gitter channel for caravel...found a lot of hue and cry all over. On 27 May 2016 04:03, "Anindita Dey" [email protected] wrote:

Hi, I am facing the same issue with druid-0.9.0, from #409 https://github.com/airbnb/caravel/issues/409 , will waiting for 24hours solve the issue? That is kind of not an acceptable solution for my case.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/airbnb/caravel/issues/445#issuecomment-222014267, or mute the thread https://github.com/notifications/unsubscribe/AC_4dxGR6_hMm-AfsfsBp9XGyS9n3CbKks5qFh_HgaJpZM4IZXXF .

bohemia420 avatar May 27 '16 04:05 bohemia420

Hi,

Caravel is a beautiful tool, but i got the same problem with druid-0.9.0, i can't show metrics. Any patch is coming ? Bohemia420 what was the issue ?

Thanks FH

F-hertz avatar May 29 '16 09:05 F-hertz

This should have been fixed in #526, closing.

xrmx avatar Aug 09 '16 07:08 xrmx