Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARROW-17394: [C++][Parquet] Fix parquet_static dependencies #13863

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

kou
Copy link
Member

@kou kou commented Aug 12, 2022

parquet_static needs Thrift because cpp/src/parquet/thrift_internal.h
uses Thrift.

See also:
microsoft/vcpkg#22552 (comment)

We can test this by the following command lines:

$ cd cpp/examples/parquet/parquet_arrow
$ export Arrow_DIR=${ARROW_INSTALL_PREFIX}/lib/cmake/arrow
$ export Parquet_DIR=${ARROW_INSTALL_PREFIX}/lib/cmake/arrow
$ cmake -S . -B build -DPARQUET_LINK_SHARED=OFF
$ cmake --build build --verbose

I also noticed that OpenTelemetry related dependencies are also missed
because I usually use -DARROW_WITH_OPENTELEMETRY=ON option for Apache
Arrow development. The problem is also fixed in this.

@github-actions
Copy link

@github-actions
Copy link

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

parquet_static needs Thrift because cpp/src/parquet/thrift_internal.h
uses Thrift.

See also:
microsoft/vcpkg#22552 (comment)

We can test this by the following command lines:

    $ cd cpp/examples/parquet/parquet_arrow
    $ export Arrow_DIR=${ARROW_INSTALL_PREFIX}/lib/cmake/arrow
    $ export Parquet_DIR=${ARROW_INSTALL_PREFIX}/lib/cmake/arrow
    $ cmake -S . -B build -DPARQUET_LINK_SHARED=OFF
    $ cmake --build build --verbose

I also noticed that OpenTelemetry related dependencies are also missed
because I usually use -DARROW_WITH_OPENTELEMETRY=ON option for Apache
Arrow development. The problem is also fixed in this.
@kou kou force-pushed the cpp-parquet-static-missing-depdenency branch from 9b23141 to d6c578a Compare August 12, 2022 05:18
Copy link
Member Author

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

@kou kou merged commit 7726335 into apache:master Aug 15, 2022
@kou kou deleted the cpp-parquet-static-missing-depdenency branch August 15, 2022 06:47
@ursabot
Copy link

ursabot commented Aug 15, 2022

Benchmark runs are scheduled for baseline = 4e48110 and contender = 7726335. 7726335 is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Finished ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2
[Failed ⬇️0.31% ⬆️0.0%] test-mac-arm
[Failed ⬇️0.0% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.25% ⬆️0.07%] ursa-thinkcentre-m75q
Buildkite builds:
[Finished] 77263352 ec2-t3-xlarge-us-east-2
[Failed] 77263352 test-mac-arm
[Failed] 77263352 ursa-i9-9960x
[Finished] 77263352 ursa-thinkcentre-m75q
[Finished] 4e48110c ec2-t3-xlarge-us-east-2
[Failed] 4e48110c test-mac-arm
[Failed] 4e48110c ursa-i9-9960x
[Finished] 4e48110c ursa-thinkcentre-m75q
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

@ursabot
Copy link

ursabot commented Aug 15, 2022

['Python', 'R'] benchmarks have high level of regressions.
ursa-i9-9960x

ksuarez1423 pushed a commit to ksuarez1423/arrow that referenced this pull request Aug 15, 2022
…3863)

parquet_static needs Thrift because cpp/src/parquet/thrift_internal.h
uses Thrift.

See also:
microsoft/vcpkg#22552 (comment)

We can test this by the following command lines:

    $ cd cpp/examples/parquet/parquet_arrow
    $ export Arrow_DIR=${ARROW_INSTALL_PREFIX}/lib/cmake/arrow
    $ export Parquet_DIR=${ARROW_INSTALL_PREFIX}/lib/cmake/arrow
    $ cmake -S . -B build -DPARQUET_LINK_SHARED=OFF
    $ cmake --build build --verbose

I also noticed that OpenTelemetry related dependencies are also missed
because I usually use -DARROW_WITH_OPENTELEMETRY=ON option for Apache
Arrow development. The problem is also fixed in this.

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
ksuarez1423 pushed a commit to ksuarez1423/arrow that referenced this pull request Aug 15, 2022
…3863)

parquet_static needs Thrift because cpp/src/parquet/thrift_internal.h
uses Thrift.

See also:
microsoft/vcpkg#22552 (comment)

We can test this by the following command lines:

    $ cd cpp/examples/parquet/parquet_arrow
    $ export Arrow_DIR=${ARROW_INSTALL_PREFIX}/lib/cmake/arrow
    $ export Parquet_DIR=${ARROW_INSTALL_PREFIX}/lib/cmake/arrow
    $ cmake -S . -B build -DPARQUET_LINK_SHARED=OFF
    $ cmake --build build --verbose

I also noticed that OpenTelemetry related dependencies are also missed
because I usually use -DARROW_WITH_OPENTELEMETRY=ON option for Apache
Arrow development. The problem is also fixed in this.

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.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.

None yet

2 participants