hyparquet/test/files/delta_encoding_required_column.offset_indexes.json
Kenny a2024a781c
Parse column and offset indexes (#29)
* Parse indicies

* Add parsed offset indices

* Add parsed column indices

* Test readColumnIndex and readOffsetIndex

* Add more parsed offset indices

* Remove unnecessary toJson when loading expected results

* Add length checks to convertMetadata

* Rename indicies.js to indexes.js

* Rename indices.test.js to indexes.test.js

* Rename *_indices.json to *_indexes.json

* Use asyncBufferFromFile in indexes.test.js

---------

Co-authored-by: Brian Park <park-brian@users.noreply.github.com>
2024-08-18 18:23:54 -07:00

157 lines
2.7 KiB
JSON

[
[
{
"page_locations": [
{
"offset": 4,
"compressed_page_size": 50,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 54,
"compressed_page_size": 388,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 442,
"compressed_page_size": 261,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 703,
"compressed_page_size": 307,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 1010,
"compressed_page_size": 247,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 1257,
"compressed_page_size": 247,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 1504,
"compressed_page_size": 131,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 1635,
"compressed_page_size": 115,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 1750,
"compressed_page_size": 144,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 1894,
"compressed_page_size": 933,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 2827,
"compressed_page_size": 378,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 3205,
"compressed_page_size": 707,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 3912,
"compressed_page_size": 751,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 4663,
"compressed_page_size": 154,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 4817,
"compressed_page_size": 1154,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 5971,
"compressed_page_size": 2857,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 8828,
"compressed_page_size": 405,
"first_row_index": 0
}
]
}
]
]