[ 
https://issues.apache.org/jira/browse/ARROW-14468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Farmer reassigned ARROW-14468:
-----------------------------------

    Assignee:     (was: Benson Muite)

This issue was last updated over 90 days ago, which may be an indication it is 
no longer being actively worked. To better reflect the current state, the issue 
is being unassigned. Please feel free to re-take assignment of the issue if it 
is being actively worked, or if you plan to start that work soon.

> [Python] Resolve parquet version deprecation warnings when compiling pyarrow
> ----------------------------------------------------------------------------
>
>                 Key: ARROW-14468
>                 URL: https://issues.apache.org/jira/browse/ARROW-14468
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Krisztian Szucs
>            Priority: Minor
>
> {code}
> /tmp/arrow-6.0.0.theE2/apache-arrow-6.0.0/python/build/temp.linux-x86_64-3.8/_parquet.cpp:
>  
> In function ‘PyObject* 
> __pyx_pf_7pyarrow_8_parquet_12FileMetaData_14format_version___get__(__pyx_obj_7pyarrow_8_parquet_FileMetaData*)’:
> /tmp/arrow-6.0.0.theE2/apache-arrow-6.0.0/python/build/temp.linux-x86_64-3.8/_parquet.cpp:14168:36:
>  
> warning: ‘parquet::ParquetVersion::PARQUET_2_0’ is deprecated: use 
> PARQUET_2_4 or PARQUET_2_6 for fine-grained feature selection 
> [-Wdeprecated-declarations]
> 14168 |     case  parquet::ParquetVersion::PARQUET_2_0:
>        |                                    ^~~~~~~~~~~
> In file included from 
> /tmp/arrow-6.0.0.theE2/install/include/parquet/types.h:30,
>                   from 
> /tmp/arrow-6.0.0.theE2/install/include/parquet/schema.h:32,
>                   from 
> /tmp/arrow-6.0.0.theE2/install/include/parquet/api/schema.h:21,
>                   from 
> /tmp/arrow-6.0.0.theE2/apache-arrow-6.0.0/python/build/temp.linux-x86_64-3.8/_parquet.cpp:734:
> /tmp/arrow-6.0.0.theE2/install/include/parquet/type_fwd.h:44:5: note: 
> declared here
>     44 |     PARQUET_2_0 ARROW_DEPRECATED_ENUM_VALUE("use PARQUET_2_4 or 
> PARQUET_2_6 "
>        |     ^~~~~~~~~~~
> /tmp/arrow-6.0.0.theE2/apache-arrow-6.0.0/python/build/temp.linux-x86_64-3.8/_parquet.cpp:14168:36:
>  
> warning: ‘parquet::ParquetVersion::PARQUET_2_0’ is deprecated: use 
> PARQUET_2_4 or PARQUET_2_6 for fine-grained feature selection 
> [-Wdeprecated-declarations]
> 14168 |     case  parquet::ParquetVersion::PARQUET_2_0:
>        |                                    ^~~~~~~~~~~
> In file included from 
> /tmp/arrow-6.0.0.theE2/install/include/parquet/types.h:30,
>                   from 
> /tmp/arrow-6.0.0.theE2/install/include/parquet/schema.h:32,
>                   from 
> /tmp/arrow-6.0.0.theE2/install/include/parquet/api/schema.h:21,
>                   from 
> /tmp/arrow-6.0.0.theE2/apache-arrow-6.0.0/python/build/temp.linux-x86_64-3.8/_parquet.cpp:734:
> /tmp/arrow-6.0.0.theE2/install/include/parquet/type_fwd.h:44:5: note: 
> declared here
>     44 |     PARQUET_2_0 ARROW_DEPRECATED_ENUM_VALUE("use PARQUET_2_4 or 
> PARQUET_2_6 "
>        |     ^~~~~~~~~~~
> /tmp/arrow-6.0.0.theE2/apache-arrow-6.0.0/python/build/temp.linux-x86_64-3.8/_parquet.cpp:
>  
> In function ‘std::shared_ptr<parquet::WriterProperties> 
> __pyx_f_7pyarrow_8_parquet__create_writer_properties(__pyx_opt_args_7pyarrow_8_parquet__create_writer_properties*)’:
> /tmp/arrow-6.0.0.theE2/apache-arrow-6.0.0/python/build/temp.linux-x86_64-3.8/_parquet.cpp:23800:62:
>  
> warning: ‘parquet::ParquetVersion::PARQUET_2_0’ is deprecated: use 
> PARQUET_2_4 or PARQUET_2_6 for fine-grained feature selection 
> [-Wdeprecated-declarations]
> 23800 |       (void)(__pyx_v_props.version( 
> parquet::ParquetVersion::PARQUET_2_0));
>        | 
> ^~~~~~~~~~~
> In file included from 
> /tmp/arrow-6.0.0.theE2/install/include/parquet/types.h:30,
>                   from 
> /tmp/arrow-6.0.0.theE2/install/include/parquet/schema.h:32,
>                   from 
> /tmp/arrow-6.0.0.theE2/install/include/parquet/api/schema.h:21,
>                   from 
> /tmp/arrow-6.0.0.theE2/apache-arrow-6.0.0/python/build/temp.linux-x86_64-3.8/_parquet.cpp:734:
> /tmp/arrow-6.0.0.theE2/install/include/parquet/type_fwd.h:44:5: note: 
> declared here
>     44 |     PARQUET_2_0 ARROW_DEPRECATED_ENUM_VALUE("use PARQUET_2_4 or 
> PARQUET_2_6 "
>        |     ^~~~~~~~~~~
> /tmp/arrow-6.0.0.theE2/apache-arrow-6.0.0/python/build/temp.linux-x86_64-3.8/_parquet.cpp:23800:62:
>  
> warning: ‘parquet::ParquetVersion::PARQUET_2_0’ is deprecated: use 
> PARQUET_2_4 or PARQUET_2_6 for fine-grained feature selection 
> [-Wdeprecated-declarations]
> 23800 |       (void)(__pyx_v_props.version( 
> parquet::ParquetVersion::PARQUET_2_0));
>        | 
> ^~~~~~~~~~~
> In file included from 
> /tmp/arrow-6.0.0.theE2/install/include/parquet/types.h:30,
>                   from 
> /tmp/arrow-6.0.0.theE2/install/include/parquet/schema.h:32,
>                   from 
> /tmp/arrow-6.0.0.theE2/install/include/parquet/api/schema.h:21,
>                   from 
> /tmp/arrow-6.0.0.theE2/apache-arrow-6.0.0/python/build/temp.linux-x86_64-3.8/_parquet.cpp:734:
> /tmp/arrow-6.0.0.theE2/install/include/parquet/type_fwd.h:44:5: note: 
> declared here
>     44 |     PARQUET_2_0 ARROW_DEPRECATED_ENUM_VALUE("use PARQUET_2_4 or 
> PARQUET_2_6 "
>        |     ^~~~~~~~~~~
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to