mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-30 20:06:19 +00:00
Fix Get Parent (#17567)
This commit is contained in:
parent
66f06fd5c6
commit
bb52bc779e
@ -186,7 +186,7 @@ public class DashboardDataModelRepository extends EntityRepository<DashboardData
|
||||
|
||||
@Override
|
||||
public EntityInterface getParentEntity(DashboardDataModel entity, String fields) {
|
||||
return Entity.getEntity(entity.getService(), fields, Include.NON_DELETED);
|
||||
return Entity.getEntity(entity.getService(), fields, ALL);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -162,7 +162,7 @@ public class DatabaseSchemaRepository extends EntityRepository<DatabaseSchema> {
|
||||
|
||||
@Override
|
||||
public EntityInterface getParentEntity(DatabaseSchema entity, String fields) {
|
||||
return Entity.getEntity(entity.getDatabase(), fields, Include.NON_DELETED);
|
||||
return Entity.getEntity(entity.getDatabase(), fields, ALL);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -168,7 +168,7 @@ public class IngestionPipelineRepository extends EntityRepository<IngestionPipel
|
||||
|
||||
@Override
|
||||
public EntityInterface getParentEntity(IngestionPipeline entity, String fields) {
|
||||
return Entity.getEntity(entity.getService(), fields, Include.NON_DELETED);
|
||||
return Entity.getEntity(entity.getService(), fields, Include.ALL);
|
||||
}
|
||||
|
||||
private ChangeEvent getChangeEvent(
|
||||
|
@ -72,7 +72,6 @@ import org.openmetadata.schema.type.ColumnProfilerConfig;
|
||||
import org.openmetadata.schema.type.DailyCount;
|
||||
import org.openmetadata.schema.type.DataModel;
|
||||
import org.openmetadata.schema.type.EntityReference;
|
||||
import org.openmetadata.schema.type.Include;
|
||||
import org.openmetadata.schema.type.JoinedWith;
|
||||
import org.openmetadata.schema.type.Relationship;
|
||||
import org.openmetadata.schema.type.SuggestionType;
|
||||
@ -697,7 +696,7 @@ public class TableRepository extends EntityRepository<Table> {
|
||||
|
||||
@Override
|
||||
public EntityInterface getParentEntity(Table entity, String fields) {
|
||||
return Entity.getEntity(entity.getDatabaseSchema(), fields, Include.NON_DELETED);
|
||||
return Entity.getEntity(entity.getDatabaseSchema(), fields, ALL);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -136,7 +136,7 @@ public class TestCaseRepository extends EntityRepository<TestCase> {
|
||||
|
||||
@Override
|
||||
public EntityInterface getParentEntity(TestCase entity, String fields) {
|
||||
return Entity.getEntity(entity.getTestSuite(), fields, Include.NON_DELETED);
|
||||
return Entity.getEntity(entity.getTestSuite(), fields, ALL);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user