1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853
|
.. 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.
.. _statistics-schema:
=================
Statistics schema
=================
.. warning:: This specification should be considered experimental.
Rationale
=========
Statistics are useful for fast query processing. Many query engines
use statistics to optimize their query plan.
Apache Arrow format doesn't have statistics but other formats that can
be read as Apache Arrow data may have statistics. For example, the
Apache Parquet C++ implementation can read an Apache Parquet file as
Apache Arrow data and the Apache Parquet file may have statistics.
We standardize the representation of statistics as an Apache Arrow
array for ease of exchange.
Use case
--------
One of :ref:`c-stream-interface` use cases is the following:
1. Module A reads Apache Parquet file as Apache Arrow data.
2. Module A passes the read Apache Arrow data to module B through the
Arrow C stream interface.
3. Module B processes the passed Apache Arrow data.
If module A can pass the statistics associated with the Apache Parquet
file to module B, module B can use the statistics to optimize its
query plan.
For example, DuckDB uses this approach but DuckDB couldn't use
statistics because there wasn't a standardized way to represent
statistics for the Apache Arrow data.
.. seealso::
`duckdb::ArrowTableFunction::ArrowScanBind() in DuckDB 1.1.3
<https://github.com/duckdb/duckdb/blob/v1.1.3/src/function/table/arrow.cpp#L373-L403>`_
Goals
-----
* Establish a standard way to represent statistics as an Apache Arrow
array.
Non-goals
---------
* Establish a standard way to pass an Apache Arrow array that
represents statistics.
* Establish a standard way to embed statistics into an Apache Arrow
array itself.
Schema
======
This specification provides only the schema for statistics. This is
the canonical schema to represent statistics about an Apache Arrow
dataset as Apache Arrow data.
Here is the outline of the schema for statistics::
struct<
column: int32,
statistics: map<
key: dictionary<values: utf8, indices: int32>,
items: dense_union<...all needed types...>
>
>
Here is the details of top-level ``struct``:
.. list-table::
:header-rows: 1
* - Name
- Data type
- Nullable
- Notes
* - ``column``
- ``int32``
- ``true``
- The zero-based column index, or null if the statistics
describe the whole table or record batch.
The column index is computed as the same rule used by
:ref:`ipc-recordbatch-message`.
* - ``statistics``
- ``map``
- ``false``
- Statistics for the target column, table or record batch. See
the separate table below for details.
Here is the details of the ``map`` of the ``statistics``:
.. list-table::
:header-rows: 1
* - Key or items
- Data type
- Nullable
- Notes
* - key
- ``dictionary<values: utf8, indices: int32>``
- ``false``
- The string key is the name of the
statistic. Dictionary-encoding is used for efficiency as the
same statistic may be repeated for different columns.
Different keys are assigned for exact and approximate statistic
values. Each statistic has their own description below.
* - items
- ``dense_union``
- ``false``
- Statistics value is dense union. It has at least all needed
types based on statistics kinds in the keys. For example, you
need at least ``int64`` and ``float64`` types when you have a
``int64`` distinct count statistic and a ``float64`` average
byte width statistic. See the description of each statistic below.
Dense union arrays have names for each field but we don't standardize
field names for these because we can access the proper
field by type code instead. So we can use any valid name for
the fields.
.. _statistics-schema-name:
Standard statistics
-------------------
Each statistic kind has a name that appears as a key in the statistics
map for each column or entire table. ``dictionary<values: utf8,
indices: int32>`` is used to encode the name for space-efficiency.
We assign different names for variations of the same statistic instead
of using flags. For example, we assign different statistic names for
exact and approximate values of the "distinct count" statistic.
The colon symbol ``:`` is to be used as a namespace separator like
:ref:`format_metadata`. It can be used multiple times in a name.
The ``ARROW`` prefix is a reserved namespace for pre-defined statistic
names in current and future versions of this specification.
User-defined statistics must not use it. For example, you can use your
product name as namespace such as ``MY_PRODUCT:my_statistics:exact``.
Here are pre-defined statistics names:
.. list-table::
:header-rows: 1
* - Name
- Data type
- Notes
* - ``ARROW:average_byte_width:exact``
- ``float64``
- The average size in bytes of a row in the target
column. (exact)
* - ``ARROW:average_byte_width:approximate``
- ``float64``
- The average size in bytes of a row in the target
column. (approximate)
* - ``ARROW:distinct_count:exact``
- ``int64``
- The number of distinct values in the target column. (exact)
* - ``ARROW:distinct_count:approximate``
- ``float64``
- The number of distinct values in the target
column. (approximate)
* - ``ARROW:max_byte_width:exact``
- ``int64``
- The maximum size in bytes of a row in the target
column. (exact)
* - ``ARROW:max_byte_width:approximate``
- ``float64``
- The maximum size in bytes of a row in the target
column. (approximate)
* - ``ARROW:max_value:exact``
- Target dependent
- The maximum value in the target column. (exact)
* - ``ARROW:max_value:approximate``
- Target dependent
- The maximum value in the target column. (approximate)
* - ``ARROW:min_value:exact``
- Target dependent
- The minimum value in the target column. (exact)
* - ``ARROW:min_value:approximate``
- Target dependent
- The minimum value in the target column. (approximate)
* - ``ARROW:null_count:exact``
- ``int64``
- The number of nulls in the target column. (exact)
* - ``ARROW:null_count:approximate``
- ``float64``
- The number of nulls in the target column. (approximate)
* - ``ARROW:row_count:exact``
- ``int64``
- The number of rows in the target table, record batch or
array. (exact)
* - ``ARROW:row_count:approximate``
- ``float64``
- The number of rows in the target table, record batch or
array. (approximate)
If you find a statistic that might be useful to multiple systems,
please propose it on the `Apache Arrow development mailing-list
<https://arrow.apache.org/community/>`__.
Interoperability improves when producers and consumers of statistics
follow a previously agreed upon statistic specification.
.. _statistics-schema-examples:
Examples
========
Here are some examples to help you understand.
Simple record batch
-------------------
Schema::
vendor_id: int32
passenger_count: int64
Data::
vendor_id: [5, 1, 5, 1, 5]
passenger_count: [1, 1, 2, 0, null]
Statistics:
.. flat-table::
:header-rows: 1
* - Target
- Name
- Value
* - Record batch
- The number of rows
- ``5``
* - :rspan:`3` ``vendor_id``
- The number of nulls
- ``0``
* - The number of distinct values
- ``2``
* - The max value
- ``5``
* - The min value
- ``1``
* - :rspan:`4` ``passenger_count``
- The number of nulls
- ``1``
* - The number of distinct values
- ``3``
* - The max value
- ``2``
* - The min value
- ``0``
Column indexes:
.. list-table::
:header-rows: 1
* - Index
- Target
* - ``0``
- ``vendor_id``
* - ``1``
- ``passenger_count``
Statistics schema::
struct<
column: int32,
statistics: map<
key: dictionary<values: utf8, indices: int32>,
items: dense_union<0: int64>
>
>
Statistics array::
column: [
null, # record batch
0, # vendor_id
1, # passenger_count
]
statistics:
offsets: [
0,
1, # record batch: 1 value: [0]
5, # vendor_id: 4 values: [1, 2, 3, 4]
9, # passenger_count: 4 values: [5, 6, 7, 8]
]
key:
values: [
"ARROW:row_count:exact",
"ARROW:null_count:exact",
"ARROW:distinct_count:exact",
"ARROW:max_value:exact",
"ARROW:min_value:exact",
]
indices: [
0, # "ARROW:row_count:exact"
1, # "ARROW:null_count:exact"
2, # "ARROW:distinct_count:exact"
3, # "ARROW:max_value:exact"
4, # "ARROW:min_value:exact"
1, # "ARROW:null_count:exact"
2, # "ARROW:distinct_count:exact"
3, # "ARROW:max_value:exact"
4, # "ARROW:min_value:exact"
]
items:
children:
0: [ # int64
5, # record batch: "ARROW:row_count:exact"
0, # vendor_id: "ARROW:null_count:exact"
2, # vendor_id: "ARROW:distinct_count:exact"
5, # vendor_id: "ARROW:max_value:exact"
1, # vendor_id: "ARROW:min_value:exact"
1, # passenger_count: "ARROW:null_count:exact"
3, # passenger_count: "ARROW:distinct_count:exact"
2, # passenger_count: "ARROW:max_value:exact"
0, # passenger_count: "ARROW:min_value:exact"
]
types: [ # all values are int64
0,
0,
0,
0,
0,
0,
0,
0,
0,
]
offsets: [
0,
1,
2,
3,
4,
5,
6,
7,
8,
]
Complex record batch
--------------------
This uses nested types.
Schema::
col1: struct<a: int32, b: list<item: int64>, c: float64>
col2: utf8
Data::
col1: [
{a: 1, b: [20, 30, 40], c: 2.9},
{a: 2, b: null, c: -2.9},
{a: 3, b: [99], c: null},
]
col2: ["x", null, "z"]
Statistics:
.. flat-table::
:header-rows: 1
* - Target
- Name
- Value
* - Record batch
- The number of rows
- ``3``
* - ``col1``
- The number of nulls
- ``0``
* - :rspan:`3` ``col1.a``
- The number of nulls
- ``0``
* - The number of distinct values
- ``3``
* - The approximate max value
- ``5``
* - The approximate min value
- ``0``
* - ``col1.b``
- The number of nulls
- ``1``
* - :rspan:`1` ``col1.b.item``
- The max value
- ``99``
* - The min value
- ``20``
* - :rspan:`2` ``col1.c``
- The number of nulls
- ``1``
* - The approximate max value
- ``3.0``
* - The approximate min value
- ``-3.0``
* - :rspan:`1` ``col2``
- The number of nulls
- ``1``
* - The number of distinct values
- ``2``
Column indexes:
.. list-table::
:header-rows: 1
* - Index
- Target
* - ``0``
- ``col1``
* - ``1``
- ``col1.a``
* - ``2``
- ``col1.b``
* - ``3``
- ``col1.b.item``
* - ``4``
- ``col1.c``
* - ``5``
- ``col2``
See also :ref:`ipc-recordbatch-message` how to compute column indexes.
Statistics schema::
struct<
column: int32,
statistics: map<
key: dictionary<values: utf8, indices: int32>,
items: dense_union<
# For the number of rows, the number of nulls and so on.
0: int64,
# For the max/min values of col1.c.
1: float64
>
>
>
Statistics array::
column: [
null, # record batch
0, # col1
1, # col1.a
2, # col1.b
3, # col1.b.item
4, # col1.c
5, # col2
]
statistics:
offsets: [
0,
1, # record batch: 1 value: [0]
2, # col1: 1 value: [1]
6, # col1.a: 4 values: [2, 3, 4, 5]
7, # col1.b: 1 value: [6]
9, # col1.b.item: 2 values: [7, 8]
12, # col1.c: 3 values: [9, 10, 11]
14, # col2: 2 values: [12, 13]
]
key:
values: [
"ARROW:row_count:exact",
"ARROW:null_count:exact",
"ARROW:distinct_count:exact",
"ARROW:max_value:approximate",
"ARROW:min_value:approximate",
"ARROW:max_value:exact",
"ARROW:min_value:exact",
]
indices: [
0, # "ARROW:row_count:exact"
1, # "ARROW:null_count:exact"
1, # "ARROW:null_count:exact"
2, # "ARROW:distinct_count:exact"
3, # "ARROW:max_value:approximate"
4, # "ARROW:min_value:approximate"
1, # "ARROW:null_count:exact"
5, # "ARROW:max_value:exact"
6, # "ARROW:min_value:exact"
1, # "ARROW:null_count:exact"
3, # "ARROW:max_value:approximate"
4, # "ARROW:min_value:approximate"
1, # "ARROW:null_count:exact"
2, # "ARROW:distinct_count:exact"
]
items:
children:
0: [ # int64
3, # record batch: "ARROW:row_count:exact"
0, # col1: "ARROW:null_count:exact"
0, # col1.a: "ARROW:null_count:exact"
3, # col1.a: "ARROW:distinct_count:exact"
5, # col1.a: "ARROW:max_value:approximate"
0, # col1.a: "ARROW:min_value:approximate"
1, # col1.b: "ARROW:null_count:exact"
99, # col1.b.item: "ARROW:max_value:exact"
20, # col1.b.item: "ARROW:min_value:exact"
1, # col1.c: "ARROW:null_count:exact"
1, # col2: "ARROW:null_count:exact"
2, # col2: "ARROW:distinct_count:exact"
]
1: [ # float64
3.0, # col1.c: "ARROW:max_value:approximate"
-3.0, # col1.c: "ARROW:min_value:approximate"
]
types: [
0, # int64: record batch: "ARROW:row_count:exact"
0, # int64: col1: "ARROW:null_count:exact"
0, # int64: col1.a: "ARROW:null_count:exact"
0, # int64: col1.a: "ARROW:distinct_count:exact"
0, # int64: col1.a: "ARROW:max_value:approximate"
0, # int64: col1.a: "ARROW:min_value:approximate"
0, # int64: col1.b: "ARROW:null_count:exact"
0, # int64: col1.b.item: "ARROW:max_value:exact"
0, # int64: col1.b.item: "ARROW:min_value:exact"
0, # int64: col1.c: "ARROW:null_count:exact"
1, # float64: col1.c: "ARROW:max_value:approximate"
1, # float64: col1.c: "ARROW:min_value:approximate"
0, # int64: col2: "ARROW:null_count:exact"
0, # int64: col2: "ARROW:distinct_count:exact"
]
offsets: [
0, # int64: record batch: "ARROW:row_count:exact"
1, # int64: col1: "ARROW:null_count:exact"
2, # int64: col1.a: "ARROW:null_count:exact"
3, # int64: col1.a: "ARROW:distinct_count:exact"
4, # int64: col1.a: "ARROW:max_value:approximate"
5, # int64: col1.a: "ARROW:min_value:approximate"
6, # int64: col1.b: "ARROW:null_count:exact"
7, # int64: col1.b.item: "ARROW:max_value:exact"
8, # int64: col1.b.item: "ARROW:min_value:exact"
9, # int64: col1.c: "ARROW:null_count:exact"
0, # float64: col1.c: "ARROW:max_value:approximate"
1, # float64: col1.c: "ARROW:min_value:approximate"
10, # int64: col2: "ARROW:null_count:exact"
11, # int64: col2: "ARROW:distinct_count:exact"
]
Simple array
------------
Schema::
int64
Data::
[1, 1, 2, 0, null]
Statistics:
.. flat-table::
:header-rows: 1
* - Target
- Name
- Value
* - :rspan:`4` Array
- The number of rows
- ``5``
* - The number of nulls
- ``1``
* - The number of distinct values
- ``3``
* - The max value
- ``2``
* - The min value
- ``0``
Column indexes:
.. list-table::
:header-rows: 1
* - Index
- Target
* - ``0``
- Array
Statistics schema::
struct<
column: int32,
statistics: map<
key: dictionary<values: utf8, indices: int32>,
items: dense_union<0: int64>
>
>
Statistics array::
column: [
0, # array
]
statistics:
offsets: [
0,
5, # array: 5 values: [0, 1, 2, 3, 4]
]
key:
values: [
"ARROW:row_count:exact",
"ARROW:null_count:exact",
"ARROW:distinct_count:exact",
"ARROW:max_value:exact",
"ARROW:min_value:exact",
]
indices: [
0, # "ARROW:row_count:exact"
1, # "ARROW:null_count:exact"
2, # "ARROW:distinct_count:exact"
3, # "ARROW:max_value:exact"
4, # "ARROW:min_value:exact"
]
items:
children:
0: [ # int64
5, # array: "ARROW:row_count:exact"
1, # array: "ARROW:null_count:exact"
3, # array: "ARROW:distinct_count:exact"
2, # array: "ARROW:max_value:exact"
0, # array: "ARROW:min_value:exact"
]
types: [ # all values are int64
0,
0,
0,
0,
0,
]
offsets: [
0,
1,
2,
3,
4,
]
Complex array
-------------
This uses nested types.
Schema::
struct<a: int32, b: list<item: int64>, c: float64>
Data::
[
{a: 1, b: [20, 30, 40], c: 2.9},
{a: 2, b: null, c: -2.9},
{a: 3, b: [99], c: null},
]
Statistics:
.. flat-table::
:header-rows: 1
* - Target
- Name
- Value
* - :rspan:`1` Array
- The number of rows
- ``3``
* - The number of nulls
- ``0``
* - :rspan:`3` ``a``
- The number of nulls
- ``0``
* - The number of distinct values
- ``3``
* - The approximate max value
- ``5``
* - The approximate min value
- ``0``
* - ``b``
- The number of nulls
- ``1``
* - :rspan:`1` ``b.item``
- The max value
- ``99``
* - The min value
- ``20``
* - :rspan:`2` ``c``
- The number of nulls
- ``1``
* - The approximate max value
- ``3.0``
* - The approximate min value
- ``-3.0``
Column indexes:
.. list-table::
:header-rows: 1
* - Index
- Target
* - ``0``
- Array
* - ``1``
- ``a``
* - ``2``
- ``b``
* - ``3``
- ``b.item``
* - ``4``
- ``c``
See also :ref:`ipc-recordbatch-message` how to compute column indexes.
Statistics schema::
struct<
column: int32,
statistics: map<
key: dictionary<values: utf8, indices: int32>,
items: dense_union<
# For the number of rows, the number of nulls and so on.
0: int64,
# For the max/min values of c.
1: float64
>
>
>
Statistics array::
column: [
0, # array
1, # a
2, # b
3, # b.item
4, # c
]
statistics:
offsets: [
0,
2, # array: 2 values: [0, 1]
6, # a: 4 values: [2, 3, 4, 5]
7, # b: 1 value: [6]
9, # b.item: 2 values: [7, 8]
12, # c: 3 values: [9, 10, 11]
]
key:
values: [
"ARROW:row_count:exact",
"ARROW:null_count:exact",
"ARROW:distinct_count:exact",
"ARROW:max_value:approximate",
"ARROW:min_value:approximate",
"ARROW:max_value:exact",
"ARROW:min_value:exact",
]
indices: [
0, # "ARROW:row_count:exact"
1, # "ARROW:null_count:exact"
1, # "ARROW:null_count:exact"
2, # "ARROW:distinct_count:exact"
3, # "ARROW:max_value:approximate"
4, # "ARROW:min_value:approximate"
1, # "ARROW:null_count:exact"
5, # "ARROW:max_value:exact"
6, # "ARROW:min_value:exact"
1, # "ARROW:null_count:exact"
3, # "ARROW:max_value:approximate"
4, # "ARROW:min_value:approximate"
]
items:
children:
0: [ # int64
3, # array: "ARROW:row_count:exact"
0, # array: "ARROW:null_count:exact"
0, # a: "ARROW:null_count:exact"
3, # a: "ARROW:distinct_count:exact"
5, # a: "ARROW:max_value:approximate"
0, # a: "ARROW:min_value:approximate"
1, # b: "ARROW:null_count:exact"
99, # b.item: "ARROW:max_value:exact"
20, # b.item: "ARROW:min_value:exact"
1, # c: "ARROW:null_count:exact"
]
1: [ # float64
3.0, # c: "ARROW:max_value:approximate"
-3.0, # c: "ARROW:min_value:approximate"
]
types: [
0, # int64: array: "ARROW:row_count:exact"
0, # int64: array: "ARROW:null_count:exact"
0, # int64: a: "ARROW:null_count:exact"
0, # int64: a: "ARROW:distinct_count:exact"
0, # int64: a: "ARROW:max_value:approximate"
0, # int64: a: "ARROW:min_value:approximate"
0, # int64: b: "ARROW:null_count:exact"
0, # int64: b.item: "ARROW:max_value:exact"
0, # int64: b.item: "ARROW:min_value:exact"
0, # int64: c: "ARROW:null_count:exact"
1, # float64: c: "ARROW:max_value:approximate"
1, # float64: c: "ARROW:min_value:approximate"
]
offsets: [
0, # int64: array: "ARROW:row_count:exact"
1, # int64: array: "ARROW:null_count:exact"
2, # int64: a: "ARROW:null_count:exact"
3, # int64: a: "ARROW:distinct_count:exact"
4, # int64: a: "ARROW:max_value:approximate"
5, # int64: a: "ARROW:min_value:approximate"
6, # int64: b: "ARROW:null_count:exact"
7, # int64: b.item: "ARROW:max_value:exact"
8, # int64: b.item: "ARROW:min_value:exact"
9, # int64: c: "ARROW:null_count:exact"
0, # float64: c: "ARROW:max_value:approximate"
1, # float64: c: "ARROW:min_value:approximate"
]
|