mapleFU commented on issue #15052:
URL: https://github.com/apache/arrow/issues/15052#issuecomment-1367089044

   Hi, Anieway, I submit a fixing for encoder before: 
https://github.com/apache/arrow/pull/14959
   
   And I cannot reproduce this bug now, my code is running on master, and my 
fixing is:
   
   ```diff
   index 09af32289..19a96dc40 100644
   --- a/cpp/examples/parquet/low_level_api/reader_writer.cc
   +++ b/cpp/examples/parquet/low_level_api/reader_writer.cc
   @@ -64,6 +64,8 @@ int main(int argc, char** argv) {
        // Add writer properties
        parquet::WriterProperties::Builder builder;
        builder.compression(parquet::Compression::SNAPPY);
   +    builder.disable_dictionary();
   +    builder.encoding("int32_field", parquet::Encoding::DELTA_BINARY_PACKED);
        std::shared_ptr<parquet::WriterProperties> props = builder.build();
   ```
   
   Can you pull the lastest code to check if the problem still here? If still a 
bug, can you provide the minimal code to reproduce this bug?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to