How to specify specific segment granularity

The documentation just shows an example of ‘segmentGranularity’ value as “Day”.
But it doesnt mention what kind of values are allowed there.

How do you specify a value of say 8hr? is PT8H a valid value?

I think the link(http://druid.io/docs/latest/querying/granularities.html) can help you.

在 2018年8月11日星期六 UTC+8上午9:50:49,Prashant Deva写道: