feat(logical): Add feature flag and models (#14097)

This commit is contained in:
Andrew Sikowitz 2025-07-16 11:56:25 -07:00 committed by GitHub
parent 010da3c480
commit e35daf9ce4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 43 additions and 0 deletions

View File

@ -283,6 +283,7 @@ public class AppConfigResolver implements DataFetcher<CompletableFuture<AppConfi
.setShowHomePageRedesign(_featureFlags.isShowHomePageRedesign())
.setShowProductUpdates(_featureFlags.isShowProductUpdates())
.setLineageGraphV3(_featureFlags.isLineageGraphV3())
.setLogicalModelsEnabled(_featureFlags.isLogicalModelsEnabled())
.build();
appConfig.setFeatureFlags(featureFlagsConfig);

View File

@ -757,6 +757,11 @@ type FeatureFlagsConfig {
Enables the redesign of the lineage v2 graph
"""
lineageGraphV3: Boolean!
"""
Enables logical models feature
"""
logicalModelsEnabled: Boolean!
}
"""

View File

@ -83,6 +83,7 @@ export const DEFAULT_APP_CONFIG = {
showHomePageRedesign: false,
showProductUpdates: false,
lineageGraphV3: false,
logicalModelsEnabled: false,
},
chromeExtensionConfig: {
enabled: false,

View File

@ -105,6 +105,7 @@ query appConfig {
showHomePageRedesign
showProductUpdates
lineageGraphV3
logicalModelsEnabled
}
chromeExtensionConfig {
enabled

View File

@ -0,0 +1,31 @@
namespace com.linkedin.logical
import com.linkedin.common.Edge
@Aspect = {
"name": "logicalParent"
}
record LogicalParent {
@Relationship = {
"/destinationUrn": {
"name": "PhysicalInstanceOf",
"entityTypes": [ "dataset", "schemaField" ],
"createdOn": "parent/created/time",
"createdActor": "parent/created/actor",
"updatedOn": "parent/lastModified/time",
"updatedActor": "parent/lastModified/actor",
"properties": "parent/properties"
}
}
@Searchable = {
"/destinationUrn": {
"fieldName": "logicalParent",
"fieldType": "URN",
"queryByDefault": false,
"addToFilters": true,
"hasValuesFieldName": "hasLogicalParent",
"filterNameOverride": "Physical Instance Of"
}
}
parent: Edge
}

View File

@ -49,6 +49,7 @@ entities:
- partitionsSummary
- versionProperties
- icebergCatalogInfo
- logicalParent
- name: dataHubPolicy
doc: DataHub Policies represent access policies granted to users or groups on metadata operations like edit, view etc.
category: internal
@ -524,6 +525,7 @@ entities:
- testResults
- deprecation
- subTypes
- logicalParent
- name: globalSettings
doc: Global settings for an the platform
category: internal

View File

@ -45,4 +45,5 @@ public class FeatureFlags {
private boolean showHomePageRedesign = false;
private boolean lineageGraphV3 = true;
private boolean showProductUpdates = false;
private boolean logicalModelsEnabled = false;
}

View File

@ -641,6 +641,7 @@ featureFlags:
showHomePageRedesign: ${SHOW_HOME_PAGE_REDESIGN:false} # If turned on, show the re-designed home page
lineageGraphV3: ${LINEAGE_GRAPH_V3:false} # Enables the redesign of the lineage v2 graph
showProductUpdates: ${SHOW_PRODUCT_UPDATES:true} # Whether to show in-product update popover on new updates.
logicalModelsEnabled: ${LOGICAL_MODELS_ENABLED:false} # Enables logical models feature
entityChangeEvents:
enabled: ${ENABLE_ENTITY_CHANGE_EVENTS_HOOK:true}