dump-segment tool

    To run the tool, point it at a segment directory and provide a file for writing output:

    Data dumps

    For example, one line might look like this when pretty-printed:

    Metadata dumps

    Bitmap dumps

    With --dump bitmaps, this tool dump bitmap indexes instead of rows. Bitmap dumps generated by this tool include dictionary-encoded string columns only. The output contains a field “bitmapSerdeFactory” describing the type of bitmaps used in the segment, and a field “bitmaps” containing the bitmaps for each value of each column. These are base64 encoded by default, but you can also dump them as lists of row numbers with .

    Sample output:

    Command line arguments