-
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
Fixes #7858: Moved ingestion related make commands into Makefile in ingestion directory #13677
Conversation
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
scripts/datamodel_generation.py
Outdated
ingestion_path = "./" if current_directory.endswith("OpenMetadata/ingestion") else "ingestion/" | ||
directory_root = "../" if current_directory.endswith("OpenMetadata/ingestion") else "./" |
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.
@TomBushell chances are the directory would be named as something else for different users, we could keep endswith("/ingestion")
to determine the ingestion directory, what do you think about that?
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.
Yep, this will work.
The Python checkstyle failed. Please run You can install the pre-commit hooks with |
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.
@TomBushell also, the PR has formatting issues, if you can run the commands given in the comment above and fix it, Thanks
The Python checkstyle failed. Please run You can install the pre-commit hooks with |
@@ -21,10 +21,10 @@ class FqnSplitListener(FqnListener): | |||
def __init__(self): | |||
self._list = [] | |||
|
|||
def enterQuotedName(self, ctx: FqnParser.QuotedNameContext): | |||
def enter_quoted_name(self, ctx: FqnParser.QuotedNameContext): |
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'll need to double-check why the server is unable to start. I am not sure if we might be overlooking anything by updating this method names since those are related to ANTLR.
I'd suggest to revert this changes and see if the py-tests pass properly, since the major topic in the github issue was about cleaning up the Makefile (which is beautifully done here already).
Thanks
The Python checkstyle failed. Please run You can install the pre-commit hooks with |
hi @TomBushell have you been able to identify why the sample data ingestion is not working? Looks like the "Sample Data DAG is not reachable". Let us know if you have any questions on how to identify this. Running Thanks |
@pmbrull I'm not sure yet why this is happening. I have run |
…back into root directory Makefile
[open-metadata-ingestion] Kudos, SonarCloud Quality Gate passed! |
Ci looks good after merging |
Describe your changes:
Targets #7858.
I moved ingestion specific make commands in the root project Makefile into a new Makefile in the ingestion/ directory. These recipes can be run in either directory now. To do this I also modified some file paths in scripts/datamodel_code_generator.py.
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>