-
Notifications
You must be signed in to change notification settings - Fork 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
[ER Diagrams] Add ER diagram APIs and sample data #18021
base: main
Are you sure you want to change the base?
Conversation
The Java checkstyle failed. Please run You can install the pre-commit hooks with |
The Python checkstyle failed. Please run You can install the pre-commit hooks with |
if (depth <= 0) { | ||
return; | ||
} | ||
es.org.elasticsearch.action.search.SearchRequest searchRequest = |
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.
we need to put full package names here
String direction, | ||
boolean deleted) | ||
throws IOException { | ||
if (depth <= 0) { |
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.
how can be depth be below 0 here? we should throw an error not return
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.
This is a function that will be called recursively. The depth is there for handling that
E.g by default depth with start at 3 and then with each recursion it'll get decremented unless it reaches 0
openmetadata-service/src/main/java/org/openmetadata/service/search/indexes/SearchIndex.java
Outdated
Show resolved
Hide resolved
if (depth <= 0) { | ||
return; | ||
} | ||
os.org.opensearch.action.search.SearchRequest searchRequest = |
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.
avoid full package names like this here
1 similar comment
1 similar comment
1 similar comment
1 similar comment
Quality Gate passed for 'open-metadata-ingestion'Issues Measures |
Quality Gate passed for 'open-metadata-ui'Issues Measures |
Describe your changes:
Add ER diagram APIs and sample data
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>