How do i get size occupied by each dimension

Hi ,

is there a way to get metadata of number of dimensions , size and rows for each dimension in druid 0.14.2

SegmentMetadata query gives size as 0 , as i save segments in JSON format https://druid.apache.org/docs/latest/querying/segmentmetadataquery.html#sizehow to get the dimensions size when the file is json formatAlso when i unzip - meta.smoosh file has dimensions and offset - which can i treat as size ?

Thanks,

Shilpa S

Have you checked the segment metadata API documentation?

https://druid.apache.org/docs/latest/querying/segmentmetadataquery.html

Yeah , but its mentioned that size can be calculated only if i store in text format - whereas i store as json format
how to get the dimensions size when the file is json format