Skip to content
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

[AMORO-3352]Add mysql-connector-j dependency by maven profile #3380

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zhangwl9
Copy link
Contributor

Why are the changes needed?

Close #3352.

Brief change log

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 21.62%. Comparing base (243d289) to head (fe94914).
Report is 19 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3380      +/-   ##
============================================
+ Coverage     21.59%   21.62%   +0.03%     
- Complexity     2309     2313       +4     
============================================
  Files           426      426              
  Lines         39719    39724       +5     
  Branches       5624     5623       -1     
============================================
+ Hits           8577     8591      +14     
+ Misses        30414    30406       -8     
+ Partials        728      727       -1     
Flag Coverage Δ
trino 21.62% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pom.xml Outdated
@@ -151,10 +151,12 @@
<guava.version>32.1.1-jre</guava.version>
<hudi.version>0.14.1</hudi.version>
<pagehelper.version>6.1.0</pagehelper.version>
<mysql-connector-j.version>8.1.0</mysql-connector-j.version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bump to latest version to fix CVE

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your advice, I have already fixed it, and I also wish you a happy New Year.

@zhangwl9 zhangwl9 force-pushed the AMORO-add-mysql-dependency branch from fe94914 to b84ab00 Compare December 31, 2024 04:39
Copy link
Member

@klion26 klion26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, We will not include MySQL dependency when releasing amoro, so there is no Lincese problem here.

In addition, this will have some other benefits, such as by turning on the profile to include MySQL dependency when developing and testing locally, and when releasing the version within the company

Lets see if there is any comments from the community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improvement]: Add mysql dependency by maven profile
5 participants