You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2021/08/31 23:00:09 UTC

[orc] branch branch-1.6 updated: ORC-965: Fix ZSTD 'Overflow detected' failure (#890)

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-1.6
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-1.6 by this push:
     new fed2b93  ORC-965: Fix ZSTD 'Overflow detected' failure (#890)
fed2b93 is described below

commit fed2b930809a5d13e28a6a6895d777c10e0514bc
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Tue Aug 31 15:52:18 2021 -0700

    ORC-965: Fix ZSTD 'Overflow detected' failure (#890)
    
    (cherry picked from commit 4ff61150033d90c6ac815c8ca5b9239f0c2bd236)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
    (cherry picked from commit 0c218adda17f1bde4fbd4ecc28a9e74e4c1a3ae0)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 java/core/src/test/org/apache/orc/TestVectorOrcFile.java | 2 +-
 java/pom.xml                                             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/core/src/test/org/apache/orc/TestVectorOrcFile.java b/java/core/src/test/org/apache/orc/TestVectorOrcFile.java
index dc012a0..cd92264 100644
--- a/java/core/src/test/org/apache/orc/TestVectorOrcFile.java
+++ b/java/core/src/test/org/apache/orc/TestVectorOrcFile.java
@@ -2167,7 +2167,7 @@ public class TestVectorOrcFile {
         OrcFile.writerOptions(conf)
             .setSchema(schema)
             .compress(CompressionKind.ZSTD)
-            .bufferSize(2000)
+            .bufferSize(1000)
             .version(fileFormat))) {
       VectorizedRowBatch batch = schema.createRowBatch();
       Random rand = new Random(3);
diff --git a/java/pom.xml b/java/pom.xml
index 373f47d..15bf7d3 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -497,7 +497,7 @@
       <dependency>
         <groupId>io.airlift</groupId>
         <artifactId>aircompressor</artifactId>
-        <version>0.19</version>
+        <version>0.21</version>
       </dependency>
       <dependency>
         <groupId>org.apache.commons</groupId>