-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(browse): Fixing browse path to remove requirement for simple name suffix #5634
fix(browse): Fixing browse path to remove requirement for simple name suffix #5634
Conversation
…j--fix-browse-name-split
…j--fix-browse-name-split
…j--fix-browse-name-split
…j--fix-browse-name-split
…j--fix-browse-name-split
…j--fix-browse-name-split
…j--fix-browse-name-split
…j--fix-browse-name-split
…j--fix-browse-name-split
…j--fix-browse-name-split
…j--fix-browse-name-split
## Support | ||
|
||
The Acryl team will be on standby to assist you in your migration. Please | ||
join [#release-0_8_0](https://datahubspace.slack.com/archives/C0244FHMHJQ) channel and reach out to us if you find |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like this channel has been deleted. should we just pick one that already exists?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol yes
case Constants.CHART_ENTITY_NAME: | ||
ChartKey chartKey = (ChartKey) EntityKeyUtils.convertUrnToEntityKey(urn, getKeySchema(urn.getEntityType(), entityRegistry)); | ||
return ("/" + chartKey.getDashboardTool()); | ||
case Constants.DASHBOARD_ENTITY_NAME: // TODO -> Improve the quality of our browse path here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think the answer here might lie in providing a container to dashboards, data flows and datajobs rather than improve the urn-based browse path generation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah absolutely - we need containers for these.
Summary
For historical reasons, browse paths have always required to end with a "simple name". For example,
/my/custom/path/SimpleName
.In the UI, we've been hiding the final path component, and instead redirecting users directly to the entity which is associated with the SimpleName.
We've recently classified this legacy behavior as a bug in DataHub which needs to be addressed in order for browse to work as users expect. Users expect to be able to provide a simple path which omits the final "simple name", for example:
/my/custom/path
and simply be able to view the entity under that path. This PR adds exactly that capability, while also solving a longstanding known issue where a single entity cannot have > 1 browse path.The implications are that existing browse paths will no longer behave as the previously have, requiring a single additional click to navigate to any given entity. In order to address this, we've included an optional upgrade which can be configured using a runtime environment variable on the
datahub-gms
pod:UPGRADE_DEFAULT_BROWSE_PATHS_ENABLED=true
A more detailed description is coming in a dedicated doc that will describe the issue and our solving of the issue.
Status
Ready for review.
Checklist