Skip to content

[C++][Flight] Expose ipc::ReadStats in FlightStreamReader #47422

Closed

Description

@raulcd

Describe the enhancement requested

Now that Dictionary delta/replacement has been implemented on Arrow Flight via:

as discussed on:

And:

We can expose the existing:

struct ReadStats {
/// Number of IPC messages read.
int64_t num_messages = 0;
/// Number of record batches read.
int64_t num_record_batches = 0;
/// Number of dictionary batches read.
///
/// Note: num_dictionary_batches >= num_dictionary_deltas + num_replaced_dictionaries
int64_t num_dictionary_batches = 0;
/// Number of dictionary deltas read.
int64_t num_dictionary_deltas = 0;
/// Number of replaced dictionaries (i.e. where a dictionary batch replaces
/// an existing dictionary with an unrelated new dictionary).
int64_t num_replaced_dictionaries = 0;
};

to FlightStreamReader in order to be able to better test/debug and expose the number of messages/dictionary replacements/deltas received on the streams.

Component(s)

C++, FlightRPC

Activity

  1. self-assigned this
    on Aug 25, 2025
  2. added 5 commits that reference this issue on Aug 25, 2025
  3. added this to the 22.0.0 milestone on Sep 4, 2025
  4. raulcd commented on Sep 4, 2025

    @raulcd
    MemberAuthor

    Issue resolved by pull request 47432
    #47432

  5. added a commit that references this issue on May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions