-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[INFRA] Add structured logging linter script to github workflow #3840
[INFRA] Add structured logging linter script to github workflow #3840
Conversation
.github/workflows/spark_test.yaml
Outdated
@@ -80,6 +80,11 @@ jobs: | |||
pipenv run pip install pyarrow==8.0.0 | |||
pipenv run pip install numpy==1.20.3 | |||
if: steps.git-diff.outputs.diff | |||
- name: Scala structured logging check |
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.
"check" is ambiguous. "style check"?
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.
updated
dev/structured_logging_style.py
Outdated
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.
Rename to spark_structured_logging_style.py
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.
done
ecd1b89
to
db6cd7e
Compare
Which Delta project/connector is this regarding?
Description
Add a python linter script to enforce new code to adhere to structured logging. There is a similar effort in Spark: apache/spark#47239.
How was this patch tested?
github workflow passed.
Does this PR introduce any user-facing changes?
No