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 22:56:53 UTC

[orc] branch branch-1.7 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.7
in repository https://gitbox.apache.org/repos/asf/orc.git


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

commit 0c218adda17f1bde4fbd4ecc28a9e74e4c1a3ae0
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>
---
 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 e838b79..109667c 100644
--- a/java/core/src/test/org/apache/orc/TestVectorOrcFile.java
+++ b/java/core/src/test/org/apache/orc/TestVectorOrcFile.java
@@ -2281,7 +2281,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 7b7af10..040499c 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -567,7 +567,7 @@
       <dependency>
         <groupId>io.airlift</groupId>
         <artifactId>aircompressor</artifactId>
-        <version>0.20</version>
+        <version>0.21</version>
       </dependency>
       <dependency>
         <groupId>org.apache.commons</groupId>