atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shweth...@apache.org
Subject incubator-atlas git commit: ATLAS-409 Atlas will not import avro tables with schema read from a file (dossett@gmail.com via shwethags)
Date Tue, 19 Jan 2016 05:28:59 GMT
Repository: incubator-atlas
Updated Branches:
  refs/heads/master b77d7c7bc -> fd070cb80


ATLAS-409 Atlas will not import avro tables with schema read from a file (dossett@gmail.com
via shwethags)


Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/fd070cb8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/fd070cb8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/fd070cb8

Branch: refs/heads/master
Commit: fd070cb80dcf08582f1e02486b10b95d124f4039
Parents: b77d7c7
Author: Shwetha GS <sshivalingamurthy@hortonworks.com>
Authored: Tue Jan 19 10:58:52 2016 +0530
Committer: Shwetha GS <sshivalingamurthy@hortonworks.com>
Committed: Tue Jan 19 10:58:52 2016 +0530

----------------------------------------------------------------------
 .../java/org/apache/atlas/hive/model/HiveDataModelGenerator.java   | 2 +-
 release-log.txt                                                    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/fd070cb8/addons/hive-bridge/src/main/java/org/apache/atlas/hive/model/HiveDataModelGenerator.java
----------------------------------------------------------------------
diff --git a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/model/HiveDataModelGenerator.java
b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/model/HiveDataModelGenerator.java
index 1eb2acf..94ca7a4 100755
--- a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/model/HiveDataModelGenerator.java
+++ b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/model/HiveDataModelGenerator.java
@@ -177,7 +177,7 @@ public class HiveDataModelGenerator {
     private void createStorageDescClass() throws AtlasException {
         AttributeDefinition[] attributeDefinitions = new AttributeDefinition[]{
                 new AttributeDefinition("cols", String.format("array<%s>", HiveDataTypes.HIVE_COLUMN.getName()),
-                        Multiplicity.COLLECTION, true, null),
+                        Multiplicity.OPTIONAL, true, null),
                 new AttributeDefinition("location", DataTypes.STRING_TYPE.getName(), Multiplicity.OPTIONAL,
false,
                         null),
                 new AttributeDefinition("inputFormat", DataTypes.STRING_TYPE.getName(), Multiplicity.OPTIONAL,
false,

http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/fd070cb8/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index fe02058..a6c6bfc 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -3,6 +3,7 @@ Apache Atlas Release Notes
 
 --trunk - unreleased
 INCOMPATIBLE CHANGES:
+ATLAS-409 Atlas will not import avro tables with schema read from a file (dossett@gmail.com
via shwethags)
 ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via
shwethags)
 
 ALL CHANGES:


Mime
View raw message