Month segment granularity in Tranquility

Hi all,
is it please possible to set segment granularity to MONTH using Tranquility? I tried it and it didn’t create the beam even though the enum Granularity contains property “MONTH”. I think it’s because of this piece of code: https://github.com/druid-io/tranquility/blob/4bfce10bf0e328b543ff0584ba3e9dcc95b7fa09/src/main/scala/com/metamx/tranquility/druid/DruidBeamMaker.scala#L213

Is there some workaround?

Lukáš

Hi Lukáš, this patch should help: https://github.com/druid-io/tranquility/pull/24.

Hi Gian!

Thank you!