You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2021/10/13 21:07:00 UTC

[jira] [Commented] (ARROW-12175) [C++] CMake's find_package(Parquet) does not find Parquet with Arrow 3.0.0

    [ https://issues.apache.org/jira/browse/ARROW-12175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428495#comment-17428495 ] 

Krisztian Szucs commented on ARROW-12175:
-----------------------------------------

[~kou] is this still valid? Nonetheless I'm postponing it to 7.0

> [C++] CMake's find_package(Parquet) does not find Parquet with Arrow 3.0.0
> --------------------------------------------------------------------------
>
>                 Key: ARROW-12175
>                 URL: https://issues.apache.org/jira/browse/ARROW-12175
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 3.0.0
>         Environment: RHEL 7.6
> Spack environment with CMake 3.15.7
>            Reporter: Matthias Wolf
>            Assignee: Kouhei Sutou
>            Priority: Major
>             Fix For: 6.0.0
>
>
> Hello,
> I just updated a small utility that converts binary data to Parquet from Arrow 0.15 to 3.0, and noticed that CMake could not resolve {{find_package(Parquet REQUIRED)}}, as my installation tree of Arrow contained {{…/share/cmake/arrow/ParquetConfig.cmake}}, but CMake seems to be expecting {{…/share/cmake/*parquet*/ParquetConfig.cmake.}}
> Creating a symbolic link from the {{arrow}} directory to a {{parquet}} directory solved CMake's find procedure. Alternatively, I ended up at this work-around that did not require me modifying my local install tree:
> {code:java}
> find_package(Arrow REQUIRED)
> get_filename_component(MY_SEARCH_DIR ${Arrow_CONFIG} DIRECTORY)
> find_package(Parquet REQUIRED HINTS ${MY_SEARCH_DIR})
> {code}
> Is this expected behavior? I went through the CMake code and found that there is only one installation directory for all CMake files: {{ARROW_CMAKE_INSTALL_DIR}} — I would expect this to be specific to the libraries exported.
> Thanks,
> Matthias



--
This message was sent by Atlassian Jira
(v8.3.4#803005)