Skip to content

[C++][FlightRPC] Add missing expiration_time arguments #40422

@llama90

Description

@llama90

Describe the bug, including details regarding any error messages, version, and platform.

It seems that a similar error occurred as before.

~/workspace/arrow/cpp/src/arrow/flight/integration_tests/test_integration.cc:2090:57: error: missing field 'expiration_time' initializer [-Werror,-Wmissing-field-initializers]
    auto endpoint = FlightEndpoint{{"reuse"}, {location}};

Adding std::nullopt as expiration_time and "" as app_metadata for all calls to the FlightEndpoint constructor resolves the issue.

This can be detected when -DARROW_BUILD_BENCHMARKS=ON. I use m1 macbook.

Component(s)

FlightRPC

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions