[jira] [Commented] (ARROW-15780) missing header file parquet/parquet_version.h

2022-02-24 Thread Sifang Li (Jira)


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

Sifang Li commented on ARROW-15780:
---

Thanks - I will close this.

> missing header file parquet/parquet_version.h
> -
>
> Key: ARROW-15780
> URL: https://issues.apache.org/jira/browse/ARROW-15780
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
>Affects Versions: 7.0.0
> Environment: Ubuntu 20.04
>Reporter: Sifang Li
>Priority: Blocker
>
> I am following instructions of writing a table into parquet file:
> [https://arrow.apache.org/docs/cpp/parquet.html]
> Need to include #include "parquet/arrow/writer.h"
> Apparently one header file is missing in the src - cannot find it anywhere:
> In file included from ../3rd_party/arrow/cpp/src/parquet/arrow/writer.h:24,
> ...
> ../3rd_party/arrow/cpp/src/parquet/properties.h:31:10: fatal error: 
> parquet/parquet_version.h: No such file or directory
>    31 | #include "parquet/parquet_version.h"



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (ARROW-15780) missing header file parquet/parquet_version.h

2022-02-24 Thread David Li (Jira)


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

David Li commented on ARROW-15780:
--

The header is not generated until install time

> missing header file parquet/parquet_version.h
> -
>
> Key: ARROW-15780
> URL: https://issues.apache.org/jira/browse/ARROW-15780
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
>Affects Versions: 7.0.0
> Environment: Ubuntu 20.04
>Reporter: Sifang Li
>Priority: Blocker
>
> I am following instructions of writing a table into parquet file:
> [https://arrow.apache.org/docs/cpp/parquet.html]
> Need to include #include "parquet/arrow/writer.h"
> Apparently one header file is missing in the src - cannot find it anywhere:
> In file included from ../3rd_party/arrow/cpp/src/parquet/arrow/writer.h:24,
> ...
> ../3rd_party/arrow/cpp/src/parquet/properties.h:31:10: fatal error: 
> parquet/parquet_version.h: No such file or directory
>    31 | #include "parquet/parquet_version.h"



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (ARROW-15780) missing header file parquet/parquet_version.h

2022-02-24 Thread David Li (Jira)


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

David Li commented on ARROW-15780:
--

Try this

{noformat}
cmake .. -DARROW_PARQUET=ON -DCMAKE_INSTALL_PREFIX=(path to where you want 
Arrow to be installed)
make -j8 install
{noformat}

Then point your compiler to the install prefix

> missing header file parquet/parquet_version.h
> -
>
> Key: ARROW-15780
> URL: https://issues.apache.org/jira/browse/ARROW-15780
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
>Affects Versions: 7.0.0
> Environment: Ubuntu 20.04
>Reporter: Sifang Li
>Priority: Blocker
>
> I am following instructions of writing a table into parquet file:
> [https://arrow.apache.org/docs/cpp/parquet.html]
> Need to include #include "parquet/arrow/writer.h"
> Apparently one header file is missing in the src - cannot find it anywhere:
> In file included from ../3rd_party/arrow/cpp/src/parquet/arrow/writer.h:24,
> ...
> ../3rd_party/arrow/cpp/src/parquet/properties.h:31:10: fatal error: 
> parquet/parquet_version.h: No such file or directory
>    31 | #include "parquet/parquet_version.h"



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (ARROW-15780) missing header file parquet/parquet_version.h

2022-02-24 Thread Sifang Li (Jira)


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

Sifang Li commented on ARROW-15780:
---

I just ran below: (from the manual config instructions)

$ mkdir build-release
$ cd build-release
$ cmake ..
$ make -j8       # if you have 8 CPU cores, otherwise adjust

> missing header file parquet/parquet_version.h
> -
>
> Key: ARROW-15780
> URL: https://issues.apache.org/jira/browse/ARROW-15780
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
>Affects Versions: 7.0.0
> Environment: Ubuntu 20.04
>Reporter: Sifang Li
>Priority: Blocker
>
> I am following instructions of writing a table into parquet file:
> [https://arrow.apache.org/docs/cpp/parquet.html]
> Need to include #include "parquet/arrow/writer.h"
> Apparently one header file is missing in the src - cannot find it anywhere:
> In file included from ../3rd_party/arrow/cpp/src/parquet/arrow/writer.h:24,
> ...
> ../3rd_party/arrow/cpp/src/parquet/properties.h:31:10: fatal error: 
> parquet/parquet_version.h: No such file or directory
>    31 | #include "parquet/parquet_version.h"



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (ARROW-15780) missing header file parquet/parquet_version.h

2022-02-24 Thread David Li (Jira)


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

David Li commented on ARROW-15780:
--

What commands exactly did you run? When I {{ninja install}} I do see 
{{parquet_version.h}} in the install prefix.

> missing header file parquet/parquet_version.h
> -
>
> Key: ARROW-15780
> URL: https://issues.apache.org/jira/browse/ARROW-15780
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
>Affects Versions: 7.0.0
> Environment: Ubuntu 20.04
>Reporter: Sifang Li
>Priority: Blocker
>
> I am following instructions of writing a table into parquet file:
> [https://arrow.apache.org/docs/cpp/parquet.html]
> Need to include #include "parquet/arrow/writer.h"
> Apparently one header file is missing in the src - cannot find it anywhere:
> In file included from ../3rd_party/arrow/cpp/src/parquet/arrow/writer.h:24,
> ...
> ../3rd_party/arrow/cpp/src/parquet/properties.h:31:10: fatal error: 
> parquet/parquet_version.h: No such file or directory
>    31 | #include "parquet/parquet_version.h"



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (ARROW-15780) missing header file parquet/parquet_version.h

2022-02-24 Thread Sifang Li (Jira)


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

Sifang Li commented on ARROW-15780:
---

It looks like an installation issue - I followed directly to the manual 
instruction at:
[https://github.com/apache/arrow/blob/master/docs/source/developers/cpp/building.rst]

The libs are built fine in the out source dir - but the parquet_vrsion.h is 
missing - see it has a .in file apparently the process did not convert it to .h

My cmake is 3.16.3 - is that why?

> missing header file parquet/parquet_version.h
> -
>
> Key: ARROW-15780
> URL: https://issues.apache.org/jira/browse/ARROW-15780
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
>Affects Versions: 7.0.0
> Environment: Ubuntu 20.04
>Reporter: Sifang Li
>Priority: Blocker
>
> I am following instructions of writing a table into parquet file:
> [https://arrow.apache.org/docs/cpp/parquet.html]
> Need to include #include "parquet/arrow/writer.h"
> Apparently one header file is missing in the src - cannot find it anywhere:
> In file included from ../3rd_party/arrow/cpp/src/parquet/arrow/writer.h:24,
> ...
> ../3rd_party/arrow/cpp/src/parquet/properties.h:31:10: fatal error: 
> parquet/parquet_version.h: No such file or directory
>    31 | #include "parquet/parquet_version.h"



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (ARROW-15780) missing header file parquet/parquet_version.h

2022-02-24 Thread David Li (Jira)


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

David Li commented on ARROW-15780:
--

How did you install Arrow?

> missing header file parquet/parquet_version.h
> -
>
> Key: ARROW-15780
> URL: https://issues.apache.org/jira/browse/ARROW-15780
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: C++
>Affects Versions: 7.0.0
> Environment: Ubuntu 20.04
>Reporter: Sifang Li
>Priority: Blocker
>
> I am following instructions of writing a table into parquet file:
> [https://arrow.apache.org/docs/cpp/parquet.html]
> Need to include #include "parquet/arrow/writer.h"
> Apparently one header file is missing in the src - cannot find it anywhere:
> In file included from ../3rd_party/arrow/cpp/src/parquet/arrow/writer.h:24,
> ...
> ../3rd_party/arrow/cpp/src/parquet/properties.h:31:10: fatal error: 
> parquet/parquet_version.h: No such file or directory
>    31 | #include "parquet/parquet_version.h"



--
This message was sent by Atlassian Jira
(v8.20.1#820001)