Skip to content

Commit

Permalink
delete unnecessary data model files
Browse files Browse the repository at this point in the history
  • Loading branch information
Xu Wang committed Mar 4, 2022
1 parent 7c25d3c commit f220c2a
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ record CommonCellAttributes {
/**
* Captures information about who created/last modified/deleted this DataDoc cell and when
*/
lastModified: ChangeAuditStamps
changeAuditStamps: ChangeAuditStamps
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ record DataDocContent {
/**
* The content of a DataDoc which is composed by a list of DataDocCell
*/
content: array[DataDocCell] = []
cells: array[DataDocCell] = []
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,5 @@ record DataDocInfo includes CustomProperties, ExternalReference {
/**
* Captures information about who created/last modified/deleted this DataDoc and when
*/
lastModified: ChangeAuditStamps

/**
* URL for the DataDoc. This could be used as an external link on DataHub to allow users access/view the DataDoc
*/
dataDocUrl: optional Url
changeAuditStamps: ChangeAuditStamps
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
namespace com.linkedin.datadoc

import com.linkedin.common.ChangeAuditStamps
import com.linkedin.common.AuditStamp

/**
* Chart cell in a DataDoc, which will present content in query format
* Query cell in a DataDoc, which will present content in query format
*/
record QueryCell includes CommonCellAttributes {

Expand All @@ -15,5 +15,5 @@ record QueryCell includes CommonCellAttributes {
/**
* Captures information about who last executed this query cell and when
*/
lastExecuted: ChangeAuditStamps
lastExecuted: optional AuditStamp
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace com.linkedin.datadoc

/**
* Chart cell in a DataDoc, which will present content in text format
* Text cell in a DataDoc, which will present content in text format
*/
record TextCell includes CommonCellAttributes {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ import com.linkedin.identity.CorpUserInfo
import com.linkedin.identity.CorpUserStatus
import com.linkedin.identity.GroupMembership
import com.linkedin.metadata.key.DashboardKey
import com.linkedin.metadata.key.DataDocKey
import com.linkedin.dashboard.DashboardInfo
import com.linkedin.datadoc.DataDocContent
import com.linkedin.datadoc.DataDocInfo
import com.linkedin.datadoc.EditableDataDocProperties
import com.linkedin.metadata.key.DataFlowKey
import com.linkedin.datajob.DataFlowInfo
import com.linkedin.metadata.key.DataJobKey
Expand Down Expand Up @@ -104,9 +100,5 @@ typeref Aspect = union[
Status,
GlobalTags,
BrowsePaths,
DataPlatformInstance,
DataDocContent,
DataDocInfo,
EditableDataDocProperties,
DataDocKey
DataPlatformInstance
]

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ typeref Snapshot = union[
GlossaryNodeSnapshot,
DataHubPolicySnapshot,
SchemaFieldSnapshot,
DataHubRetentionSnapshot,
DataDocSnapshot
DataHubRetentionSnapshot
]

0 comments on commit f220c2a

Please sign in to comment.