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 2020/07/28 17:10:53 UTC

[orc] branch master updated: remove duplicate buildConversion invocation

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

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


The following commit(s) were added to refs/heads/master by this push:
     new fa20e32  remove duplicate buildConversion invocation
fa20e32 is described below

commit fa20e32a2c56635fe032c6e8d69fc56d37382abc
Author: Arvin Zheng <zm...@gmail.com>
AuthorDate: Mon Jul 27 17:50:49 2020 -0700

    remove duplicate buildConversion invocation
---
 java/core/src/java/org/apache/orc/impl/SchemaEvolution.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/java/core/src/java/org/apache/orc/impl/SchemaEvolution.java b/java/core/src/java/org/apache/orc/impl/SchemaEvolution.java
index 9d026f7..1e86f26 100644
--- a/java/core/src/java/org/apache/orc/impl/SchemaEvolution.java
+++ b/java/core/src/java/org/apache/orc/impl/SchemaEvolution.java
@@ -107,7 +107,6 @@ public class SchemaEvolution {
       int positionalLevels = 0;
       if (options.getForcePositionalEvolution()) {
         positionalLevels = isAcid ? 2 : 1;
-        buildConversion(fileSchema, this.readerSchema, positionalLevels);
       } else if (!hasColumnNames(isAcid? getBaseRow(fileSchema) : fileSchema)) {
         if (!this.fileSchema.equals(this.readerSchema)) {
           if (!allowMissingMetadata) {