From 5ff077384bb28cc1ad6c0a6af4bcdb5c727ee237 Mon Sep 17 00:00:00 2001 From: Bichitra Kumar Sahoo <32828151+bichitra95@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:53:19 +0530 Subject: [PATCH] DQ-343 Datatype change for owners attr in Contracts --- .../store/graph/v2/preprocessor/contract/DataContract.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }