hyparquet/test/files/duckdb5533.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

49 lines
813 B
JSON

[
[
{
"page_locations": [
{
"offset": 4,
"compressed_page_size": 73,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 132,
"compressed_page_size": 65,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 242,
"compressed_page_size": 37,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 315,
"compressed_page_size": 68,
"first_row_index": 0
}
]
},
{
"page_locations": [
{
"offset": 435,
"compressed_page_size": 57,
"first_row_index": 0
}
]
}
]
]