druid
druid copied to clipboard
Documentation improvement of the "Segment" document
The section of this document which describes the 3 data structures needed for a segment list them in this order
- A dictionary that maps values (which are always treated as strings) to integer IDs,
- For each distinct value in the column, a bitmap that indicates which rows contain that value, and
- A list of the column’s values, encoded using the dictionary in 1.
Whereas the example list them in this order: 1)Dictionary that encodes column values 2)Column data 3)Bitmaps
Hence in the paragraph following the example its is hard to understand which data structure is being referred when they are referenced using the "serial number".
Pull request for the same: https://github.com/druid-io/druid/pull/1904