Skip to content

Commit

Permalink
Merge branch 'master' into peter/column-level-lineage
Browse files Browse the repository at this point in the history
  • Loading branch information
PeteMango authored Mar 5, 2025
2 parents 285bcb5 + dbf33db commit 64b12f7
Show file tree
Hide file tree
Showing 15 changed files with 288 additions and 206 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ public CompletableFuture<AppConfig> get(final DataFetchingEnvironment environmen
.setShowNavBarRedesign(_featureFlags.isShowNavBarRedesign())
.setShowAutoCompleteResults(_featureFlags.isShowAutoCompleteResults())
.setEntityVersioningEnabled(_featureFlags.isEntityVersioning())
.setShowSearchBarAutocompleteRedesign(
_featureFlags.isShowSearchBarAutocompleteRedesign())
.build();

appConfig.setFeatureFlags(featureFlagsConfig);
Expand Down
5 changes: 5 additions & 0 deletions datahub-graphql-core/src/main/resources/app.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,11 @@ type FeatureFlagsConfig {
If turned on, exposes the versioning feature by allowing users to link entities in the UI.
"""
entityVersioningEnabled: Boolean!

"""
If turned on, show the redesigned search bar's autocomplete
"""
showSearchBarAutocompleteRedesign: Boolean!
}

"""
Expand Down
1 change: 1 addition & 0 deletions datahub-web-react/src/appConfigContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export const DEFAULT_APP_CONFIG = {
showNavBarRedesign: false,
showAutoCompleteResults: false,
entityVersioningEnabled: false,
showSearchBarAutocompleteRedesign: false,
},
chromeExtensionConfig: {
enabled: false,
Expand Down
1 change: 1 addition & 0 deletions datahub-web-react/src/graphql/app.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ query appConfig {
showNavBarRedesign
showAutoCompleteResults
entityVersioningEnabled
showSearchBarAutocompleteRedesign
}
chromeExtensionConfig {
enabled
Expand Down
4 changes: 2 additions & 2 deletions docs/deploy/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ global:
password:
value: "${POSTGRES_ADMIN_PASSWORD}"
```
Run this command helm command to update datahub configuration
Run this helm command to update datahub configuration

```
helm upgrade --install datahub datahub/datahub --values values.yaml
```

And there you go! You have now installed DataHub on an Azure Kubernetes Cluster with an ingress controller set up to expose the frontend. Additionally you have utilized PostgreSQL as the storage layer of DataHub.
And there you go! You have now installed DataHub on an Azure Kubernetes Cluster with an ingress controller set up to expose the frontend. Additionally you have utilized PostgreSQL as the storage layer of DataHub.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,19 @@
# For SQL server, the default collation rules mean that all identifiers (schema, table, column names)
# are case preserving but case insensitive.
"mssql",
# Oracle automatically converts unquoted identifiers to uppercase.
# https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/Database-Object-Names-and-Qualifiers.html#GUID-3C59E44A-5140-4BCA-B9E1-3039C8050C49
# In our Oracle connector, we then normalize column names to lowercase. This behavior
# actually comes from the underlying Oracle sqlalchemy dialect.
# https://github.com/sqlalchemy/sqlalchemy/blob/d9b4d8ff3aae504402d324f3ebf0b8faff78f5dc/lib/sqlalchemy/dialects/oracle/base.py#L2579
"oracle",
}
DIALECTS_WITH_DEFAULT_UPPERCASE_COLS = {
# In some dialects, column identifiers are effectively case insensitive
# because they are automatically converted to uppercase. Most other systems
# automatically lowercase unquoted identifiers.
"snowflake",
"oracle",
}
assert DIALECTS_WITH_DEFAULT_UPPERCASE_COLS.issubset(
DIALECTS_WITH_CASE_INSENSITIVE_COLS
Expand Down
Loading

0 comments on commit 64b12f7

Please sign in to comment.