diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/contract/DataContract.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/contract/DataContract.java index 81f5c24da5..2f60817cba 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/contract/DataContract.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/contract/DataContract.java @@ -45,12 +45,12 @@ public class DataContract { public String dataset; public DatasetType type; public String description; - public List owners; + public Object owners; public List tags; public String certificate; @Valid public List columns; - private final Map unknownFields = new HashMap<>(); + private final Map unknownFields = new HashMap<>(); public enum Status { @JsonProperty("DRAFT") DRAFT, @@ -146,7 +146,7 @@ public void setType(String type) throws AtlasBaseException { } } - public void setOwners(List owners) { + public void setOwners(Object owners) { this.owners = owners; }