| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one |
| ~ or more contributor license agreements. See the NOTICE file |
| ~ distributed with this work for additional information |
| ~ regarding copyright ownership. The ASF licenses this file |
| ~ to you under the Apache License, Version 2.0 (the |
| ~ "License"); you may not use this file except in compliance |
| ~ with the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, |
| ~ software distributed under the License is distributed on an |
| ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| ~ KIND, either express or implied. See the License for the |
| ~ specific language governing permissions and limitations |
| ~ under the License. |
| --> |
| |
| `fixed_length_byte_array.parquet` is generated by parquet-mr version 1.13.0-SNAPSHOT. |
| |
| It has a single column of fixed length byte array type with size 4. |
| |
| In total there are 1000 values written in the descending order with some random nulls. |
| |
| # File Metadata (from parquet-cli meta command) |
| ``` |
| File path: fixed_length_byte_array.parquet |
| Created by: parquet-mr version 1.13.0-SNAPSHOT (build d057b39d93014fe40f5067ee4a33621e65c91552) |
| Properties: |
| writer.model.name: example |
| Schema: |
| message schema { |
| optional fixed_len_byte_array(4) flba_field; |
| } |
| |
| |
| Row group 0: count: 1000 3,94 B records start: 4 total(compressed): 3,848 kB total(uncompressed):3,848 kB |
| -------------------------------------------------------------------------------- |
| type encodings count avg size nulls min / max |
| flba_field FIXED[4] _ _ 1000 3,94 B 105 "0x00000001" / "0x000003E8" |
| ``` |
| |
| # Column Index (from parquet-cli column-index command) |
| ``` |
| row-group 0: |
| column index for column flba_field: |
| Boundary order: DESCENDING |
| null count min max |
| page-0 9 0x00000385 0x000003E8 |
| page-1 9 0x00000321 0x00000384 |
| page-2 19 0x000002BD 0x00000320 |
| page-3 10 0x00000259 0x000002BC |
| page-4 13 0x000001F5 0x00000258 |
| page-5 11 0x00000191 0x000001F4 |
| page-6 11 0x0000012D 0x00000190 |
| page-7 8 0x000000C9 0x0000012C |
| page-8 9 0x00000065 0x000000C8 |
| page-9 6 0x00000001 0x00000064 |
| |
| offset index for column flba_field: |
| offset compressed size first row index unencoded bytes |
| page-0 4 400 0 - |
| page-1 404 400 100 - |
| page-2 804 361 200 - |
| page-3 1165 396 300 - |
| page-4 1561 384 400 - |
| page-5 1945 392 500 - |
| page-6 2337 392 600 - |
| page-7 2729 404 700 - |
| page-8 3133 400 800 - |
| page-9 3533 411 900 - |
| ``` |