You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/08/12 02:22:20 UTC

[GitHub] [arrow] kou opened a new pull request, #13863: ARROW-17394: [C++][Parquet] Fix parquet_static dependencies

kou opened a new pull request, #13863:
URL: https://github.com/apache/arrow/pull/13863

   parquet_static needs Thrift because cpp/src/parquet/thrift_internal.h
   uses Thrift.
   
   See also:
   https://github.com/microsoft/vcpkg/issues/22552#issuecomment-1211341648
   
   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] ursabot commented on pull request #13863: ARROW-17394: [C++][Parquet] Fix parquet_static dependencies

Posted by GitBox <gi...@apache.org>.
ursabot commented on PR #13863:
URL: https://github.com/apache/arrow/pull/13863#issuecomment-1214775465

   ['Python', 'R'] benchmarks have high level of regressions.
   [ursa-i9-9960x](https://conbench.ursa.dev/compare/runs/e5828100a97844dfa438c6accb55e2c7...1d30eaa7a0884bebb347ec94abe587d6/)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] github-actions[bot] commented on pull request #13863: ARROW-17394: [C++][Parquet] Fix parquet_static dependencies

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #13863:
URL: https://github.com/apache/arrow/pull/13863#issuecomment-1212668144

   https://issues.apache.org/jira/browse/ARROW-17394


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] github-actions[bot] commented on pull request #13863: ARROW-17394: [C++][Parquet] Fix parquet_static dependencies

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #13863:
URL: https://github.com/apache/arrow/pull/13863#issuecomment-1212668153

   :warning: Ticket **has not been started in JIRA**, please click 'Start Progress'.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ARROW-17394: [C++][Parquet] Fix parquet_static dependencies [arrow]

Posted by "wgtmac (via GitHub)" <gi...@apache.org>.
wgtmac commented on code in PR #13863:
URL: https://github.com/apache/arrow/pull/13863#discussion_r2061151324


##########
cpp/src/parquet/CMakeLists.txt:
##########
@@ -218,8 +220,9 @@ if(NOT PARQUET_MINIMAL_DEPENDENCY)
 
   # Link publicly with parquet_static (because internal users need to
   # transitively link all dependencies)
-  set(PARQUET_STATIC_LINK_LIBS ${PARQUET_STATIC_LINK_LIBS} thrift::thrift)
-endif(NOT PARQUET_MINIMAL_DEPENDENCY)
+  list(APPEND PARQUET_STATIC_LINK_LIBS thrift::thrift)
+  list(APPEND PARQUET_STATIC_INTERFACE_INSTALL_LIBS thrift::thrift)

Review Comment:
   Oh my bad! I didn't correctly set the `ARROW_DEPENDENCY_SOURCE` so actually thrift was found from my laptop.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] kou merged pull request #13863: ARROW-17394: [C++][Parquet] Fix parquet_static dependencies

Posted by GitBox <gi...@apache.org>.
kou merged PR #13863:
URL: https://github.com/apache/arrow/pull/13863


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] ursabot commented on pull request #13863: ARROW-17394: [C++][Parquet] Fix parquet_static dependencies

Posted by GitBox <gi...@apache.org>.
ursabot commented on PR #13863:
URL: https://github.com/apache/arrow/pull/13863#issuecomment-1214775272

   Benchmark runs are scheduled for baseline = 4e48110cf4e90a4402bd0f608a4d2963015f175d and contender = 77263352843c5b44f7b59b9562e4dcd1c30cb19b. 77263352843c5b44f7b59b9562e4dcd1c30cb19b is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
   Conbench compare runs links:
   [Finished :arrow_down:0.0% :arrow_up:0.0%] [ec2-t3-xlarge-us-east-2](https://conbench.ursa.dev/compare/runs/c074df2ee7694294b3866f7fc717338e...c974915e665c494386c893fdac931665/)
   [Failed :arrow_down:0.31% :arrow_up:0.0%] [test-mac-arm](https://conbench.ursa.dev/compare/runs/d29bebb49fd349d6b890ec19f43eaa78...23bf2fd7e9e145f9bbb76e019cf6a344/)
   [Failed :arrow_down:0.0% :arrow_up:0.0%] [ursa-i9-9960x](https://conbench.ursa.dev/compare/runs/e5828100a97844dfa438c6accb55e2c7...1d30eaa7a0884bebb347ec94abe587d6/)
   [Finished :arrow_down:0.25% :arrow_up:0.07%] [ursa-thinkcentre-m75q](https://conbench.ursa.dev/compare/runs/0431da3ba6de43ed99083ed1e075b530...fed338790f0442b2b5bf7232c522f922/)
   Buildkite builds:
   [Finished] [`77263352` ec2-t3-xlarge-us-east-2](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ec2-t3-xlarge-us-east-2/builds/1306)
   [Failed] [`77263352` test-mac-arm](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-test-mac-arm/builds/1322)
   [Failed] [`77263352` ursa-i9-9960x](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-i9-9960x/builds/1304)
   [Finished] [`77263352` ursa-thinkcentre-m75q](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-thinkcentre-m75q/builds/1321)
   [Finished] [`4e48110c` ec2-t3-xlarge-us-east-2](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ec2-t3-xlarge-us-east-2/builds/1305)
   [Failed] [`4e48110c` test-mac-arm](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-test-mac-arm/builds/1321)
   [Failed] [`4e48110c` ursa-i9-9960x](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-i9-9960x/builds/1303)
   [Finished] [`4e48110c` ursa-thinkcentre-m75q](https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-thinkcentre-m75q/builds/1320)
   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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ARROW-17394: [C++][Parquet] Fix parquet_static dependencies [arrow]

Posted by "wgtmac (via GitHub)" <gi...@apache.org>.
wgtmac commented on code in PR #13863:
URL: https://github.com/apache/arrow/pull/13863#discussion_r2060531101


##########
cpp/src/parquet/CMakeLists.txt:
##########
@@ -218,8 +220,9 @@ if(NOT PARQUET_MINIMAL_DEPENDENCY)
 
   # Link publicly with parquet_static (because internal users need to
   # transitively link all dependencies)
-  set(PARQUET_STATIC_LINK_LIBS ${PARQUET_STATIC_LINK_LIBS} thrift::thrift)
-endif(NOT PARQUET_MINIMAL_DEPENDENCY)
+  list(APPEND PARQUET_STATIC_LINK_LIBS thrift::thrift)
+  list(APPEND PARQUET_STATIC_INTERFACE_INSTALL_LIBS thrift::thrift)

Review Comment:
   @kou Why do we need this line? `thrift::thrift` is already included in the `arrow_bundled_dependencies`. I ran into `thrift::thrift target was not found` while linking parquet_static to iceberg_static.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org