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

lesun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-gobblin.git


The following commit(s) were added to refs/heads/master by this push:
     new 76700f1  [GOBBLIN-1283] Fix schema redefine from adding field 
properties into field schema
76700f1 is described below

commit 76700f1d2221e3848f8133faa378f82e6179ddba
Author: zhchen <[email protected]>
AuthorDate: Mon Oct 12 10:34:03 2020 -0700

    [GOBBLIN-1283] Fix schema redefine from adding field properties into field 
schema
    
    Closes #3122 from zxcware/orc
---
 .../management/conversion/hive/query/HiveAvroORCQueryGenerator.java     | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/gobblin-data-management/src/main/java/org/apache/gobblin/data/management/conversion/hive/query/HiveAvroORCQueryGenerator.java
 
b/gobblin-data-management/src/main/java/org/apache/gobblin/data/management/conversion/hive/query/HiveAvroORCQueryGenerator.java
index 012863d..d760100 100644
--- 
a/gobblin-data-management/src/main/java/org/apache/gobblin/data/management/conversion/hive/query/HiveAvroORCQueryGenerator.java
+++ 
b/gobblin-data-management/src/main/java/org/apache/gobblin/data/management/conversion/hive/query/HiveAvroORCQueryGenerator.java
@@ -399,7 +399,6 @@ public class HiveAvroORCQueryGenerator {
             } else {
               columns.append(", \n");
             }
-            convertFieldToSchemaWithProps(field.getJsonProps(), 
field.schema());
             String type = generateAvroToHiveColumnMapping(field.schema(), 
hiveColumns, false, datasetName);
             if (hiveColumns.isPresent()) {
               hiveColumns.get().put(field.name(), type);
@@ -419,7 +418,6 @@ public class HiveAvroORCQueryGenerator {
             } else {
               columns.append(",");
             }
-            convertFieldToSchemaWithProps(field.getJsonProps(), 
field.schema());
             String type = generateAvroToHiveColumnMapping(field.schema(), 
hiveColumns, false, datasetName);
             
columns.append("`").append(field.name()).append("`").append(":").append(type);
           }

Reply via email to