Skip to content

GH-49541: [C++] ARROW_FLIGHT_SQL=ON and ARROW_BUILD_EXAMPLES=ON need gflags#49542

Merged
raulcd merged 1 commit into
apache:mainfrom
kou:cpp-flight-sql-example-gflags
Mar 18, 2026
Merged

GH-49541: [C++] ARROW_FLIGHT_SQL=ON and ARROW_BUILD_EXAMPLES=ON need gflags#49542
raulcd merged 1 commit into
apache:mainfrom
kou:cpp-flight-sql-example-gflags

Conversation

@kou

@kou kou commented Mar 18, 2026

Copy link
Copy Markdown
Member

Rationale for this change

flight-sql-test-server needs gflags:

target_link_libraries(flight-sql-test-server
PRIVATE ${ARROW_FLIGHT_SQL_TEST_LINK_LIBS}
${ARROW_FLIGHT_SQL_TEST_LIBS} ${GFLAGS_LIBRARIES})

What changes are included in this PR?

Require gflags with ARROW_FLIGHT_SQL=ON and ARROW_BUILD_EXAMPLES=ON.

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #49541 has been automatically assigned in GitHub to PR creator.

@raulcd raulcd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kou .

This is not tested on CI, right? Was tested locally?

@raulcd
raulcd merged commit ccd0051 into apache:main Mar 18, 2026
59 of 60 checks passed
@raulcd raulcd removed the awaiting committer review Awaiting committer review label Mar 18, 2026
@github-actions github-actions Bot added the awaiting merge Awaiting merge label Mar 18, 2026
@kou
kou deleted the cpp-flight-sql-example-gflags branch March 18, 2026 11:36
@kou

kou commented Mar 18, 2026

Copy link
Copy Markdown
Member Author

Right. We don't have a CI for this case. I hit this with cmake --preset=ninja-release-maximal and have confirmed that this fixes cmake --preset=ninja-release-maximal. (Sorry for not mentioning how to reproduce this.)

@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit ccd0051.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 6 possible false positives for unstable benchmarks that are known to sometimes produce them.

thisisnic pushed a commit to thisisnic/arrow that referenced this pull request Apr 6, 2026
…=ON` need gflags (apache#49542)

### Rationale for this change

`flight-sql-test-server` needs gflags: https://github.com/apache/arrow/blob/6dfef94283d02c6a584640ed7098a73d385814a4/cpp/src/arrow/flight/sql/CMakeLists.txt#L166-L168

### What changes are included in this PR?

Require gflags with `ARROW_FLIGHT_SQL=ON` and `ARROW_BUILD_EXAMPLES=ON`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* GitHub Issue: apache#49541

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…=ON` need gflags (apache#49542)

### Rationale for this change

`flight-sql-test-server` needs gflags: https://github.com/apache/arrow/blob/6dfef94283d02c6a584640ed7098a73d385814a4/cpp/src/arrow/flight/sql/CMakeLists.txt#L166-L168

### What changes are included in this PR?

Require gflags with `ARROW_FLIGHT_SQL=ON` and `ARROW_BUILD_EXAMPLES=ON`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* GitHub Issue: apache#49541

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants