-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[1.1.1] - Bump size for FQN #12092
Merged
Merged
[1.1.1] - Bump size for FQN #12092
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
backend
Ingestion
safe to test
Add this label to run secure Github workflows on PRs
labels
Jun 22, 2023
1 failed tests on run #25852 ↗︎
Details:
cypress/e2e/Flow/TagsAddRemove.spec.js • 1 failed test • Tests with database mysql
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
[open-metadata-ingestion] Kudos, SonarCloud Quality Gate passed! |
[OpenMetadata-Platform] Kudos, SonarCloud Quality Gate passed! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe your changes:
Since we landed the FQN hash PR #11960, we can now support longer FQNs in the API.
Background
The process here between API <> Storage is as follows:
service.db.schema.table
, orparent1.parent2.container
).service.db.schema.table
->service
,db
,schema
,table
.hash1.hash2.hash3.hash4
.Changes
Where we have variable / long sizes in FQNs is:
tableFQN.ColumnName
tableFQN.TestSuite
parent.children
together.Container
For containers, we are setting the FQN size to 1024. This is why:
We will then just support up to 8 parent <> children levels.
Table
We can follow a similar logic for table names. However, here it also makes sense to bump the
EntityName
since it will give us more room to ingest Datalake paths:Column FQN will be 1024 -> table FQN + column name (128)
Test Suite
Test Suites FQN will be 1024 -> Table FQN +
.testSuite
and to keep round numbersType of change:
Checklist:
Fixes <issue-number>: <short explanation>