Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14468

[Python] Resolve parquet version deprecation warnings when compiling pyarrow

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Python
    • None

    Description

      /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 "
             |     ^~~~~~~~~~~
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kszucs Krisztian Szucs
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: