[druid-user] [Query] Geo Spatial Dimension

I want to us spatial dimension in Druid, have couple of question with respect to it:

  1. Wanted to check whether spatial dimension affects rollup in any way?2. Does spatial dimension allow aggregations?
  1. Wanted to check whether spatial dimension affects rollup in any way?

Nothing in the docs or public posts seem to indicate “no,” provided your spatial dimensions are supported. If you have the time, would you please follow up with your results?

  1. Does spatial dimension allow aggregations?

This is a very old discussion, but it looks like the answer might be “yes.” Again, if you have the time, would you please follow up with your results?

I wanted to add to what Mark said -

I think the main idea is that these are dimensions, not metrics. Dimensions don’t roll up, metrics do. If you add any new dimension to your data, that might affect the rollup of the existing metrics.
And we don’t normally aggregate dimensions, but as noted in the thread Mark found, you can group by, and even use a custom extraction function to kind of group likes together.