Skip to content
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

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

Closed
vinjadhav opened this issue May 7, 2016 · 8 comments
Closed

Comments

@vinjadhav
Copy link

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
Copy link
Author

Just an update, I am using Druid 0.9.0..

@mistercrunch
Copy link
Member

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.

@bohemia420
Copy link

@vinjadhav did u ever go thru this ?
#409

@vinjadhav
Copy link
Author

@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

@deyani27
Copy link

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.

@bohemia420
Copy link

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" notifications@github.com wrote:

Hi, I am facing the same issue with druid-0.9.0, from #409
#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
#445 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AC_4dxGR6_hMm-AfsfsBp9XGyS9n3CbKks5qFh_HgaJpZM4IZXXF
.

@F-hertz
Copy link

F-hertz commented May 29, 2016

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

@xrmx xrmx added the druid label Aug 9, 2016
@xrmx
Copy link
Contributor

xrmx commented Aug 9, 2016

This should have been fixed in #526, closing.

@xrmx xrmx closed this as completed Aug 9, 2016
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
* Add force to QueryContext

* fix tests

* fix test
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
* Add force to QueryContext

* fix tests

* fix test
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
* Add force to QueryContext

* fix tests

* fix test
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
* Add force to QueryContext

* fix tests

* fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants