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

upgrade clickhouse jdbc driver 0.3.2-patch10 #24424

Merged
merged 6 commits into from
Jan 18, 2023
Merged

Conversation

mzitnik
Copy link
Contributor

@mzitnik mzitnik commented Nov 30, 2022

Upgrade clickhouse jdbc driver to 0.3.2-patch10
@methodmissing

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI.

@github-actions
Copy link
Contributor

Assigning reviewers. If you would like to opt out of this review, comment assign to next reviewer:

R: @apilloud for label java.
R: @Abacn for label build.
R: @johnjcasey for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

@codecov
Copy link

codecov bot commented Nov 30, 2022

Codecov Report

Merging #24424 (db0c348) into master (c4cad83) will decrease coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #24424      +/-   ##
==========================================
- Coverage   73.46%   73.28%   -0.19%     
==========================================
  Files         714      723       +9     
  Lines       96497    98227    +1730     
==========================================
+ Hits        70896    71981    +1085     
- Misses      24279    24924     +645     
  Partials     1322     1322              
Flag Coverage Δ
python 82.66% <ø> (-0.52%) ⬇️

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

Impacted Files Coverage Δ
...s/python/apache_beam/io/gcp/bigquery_file_loads.py 79.37% <0.00%> (-8.05%) ⬇️
...l/job_management/v1/beam_expansion_api_pb2_grpc.py 51.85% <0.00%> (-6.05%) ⬇️
sdks/python/apache_beam/typehints/schemas.py 84.55% <0.00%> (-4.40%) ⬇️
...n/apache_beam/examples/complete/game/user_score.py 59.70% <0.00%> (-3.09%) ⬇️
sdks/python/apache_beam/utils/python_callable.py 96.77% <0.00%> (-1.27%) ⬇️
.../python/apache_beam/typehints/trivial_inference.py 95.01% <0.00%> (-1.15%) ⬇️
...on/apache_beam/runners/dataflow/dataflow_runner.py 81.88% <0.00%> (-1.02%) ⬇️
...dks/python/apache_beam/options/pipeline_options.py 93.95% <0.00%> (-0.96%) ⬇️
sdks/python/apache_beam/typehints/row_type.py 99.11% <0.00%> (-0.89%) ⬇️
sdks/python/apache_beam/transforms/external.py 78.88% <0.00%> (-0.86%) ⬇️
... and 39 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -499,6 +499,7 @@ class BeamModulePlugin implements Plugin<Project> {
def spark3_version = "3.1.2"
def spotbugs_version = "4.0.6"
def testcontainers_version = "1.16.3"
def testcontainers_version_clickhouse = "1.17.3"
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the reason to not just update the testcontainers version globally?

Copy link
Contributor Author

@mzitnik mzitnik Dec 5, 2022

Choose a reason for hiding this comment

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

@johnjcasey Yes i can, just was not sure that it is OK i will do that and push the change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@johnjcasey I have pushed the change testcontainers version

@@ -49,7 +49,7 @@ idea {
}
}

def clickhouse_jdbc_version = "0.2.6"
def clickhouse_jdbc_version = "0.3.2-patch10"
Copy link

Choose a reason for hiding this comment

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

Why not to the latest version (0.3.2-patch11)?

Copy link
Contributor Author

@mzitnik mzitnik Dec 5, 2022

Choose a reason for hiding this comment

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

Cause some conflict with testcontainers_version need to have deeper look on that,but for now lets continue with 0.3.2-patch10

Copy link

Choose a reason for hiding this comment

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

Sounds good

// try {
String value = str;
/*
String value =
Copy link

Choose a reason for hiding this comment

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

can be removed?

}
}
}
new ClickHouseContainer("clickhouse/clickhouse-server:22.5")
Copy link

Choose a reason for hiding this comment

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

Why don't we test against the latest CH version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Change to 22.9

}

@AfterClass
public static void tearDown() {
clickHouse.close();
zookeeper.close();
Copy link

Choose a reason for hiding this comment

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

Shouldn't we close it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@mzitnik
Copy link
Contributor Author

mzitnik commented Dec 6, 2022

@johnjcasey can you help with the PR

@mzitnik mzitnik requested a review from johnjcasey December 10, 2022 15:48
@github-actions
Copy link
Contributor

Reminder, please take a look at this pr: @apilloud @Abacn @johnjcasey

@github-actions
Copy link
Contributor

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @kileys for label java.
R: @damccorm for label build.
R: @pabloem for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

@damccorm
Copy link
Contributor

stop reviewer notifications

@damccorm
Copy link
Contributor

@johnjcasey has started this review and probably is the right person to complete it. I imagine responses may be slower since we are in the midst of the holiday season

@github-actions
Copy link
Contributor

Stopping reviewer notifications for this pull request: requested by reviewer

@johnjcasey
Copy link
Contributor

run java precommit

@johnjcasey
Copy link
Contributor

run java_pulsar_io_direct precommit

@mzitnik
Copy link
Contributor Author

mzitnik commented Jan 2, 2023

@johnjcasey do we know on what Apache Beam version it will be merged?

@johnjcasey johnjcasey merged commit aba1752 into apache:master Jan 18, 2023
@johnjcasey
Copy link
Contributor

it will be 2.45

@mshustov
Copy link

mshustov commented Jan 18, 2023

@johnjcasey is there ETA for v2.45 release to communicate to our customers?

@johnjcasey
Copy link
Contributor

The cut was last week, and we are closing out release blockers now. It could be as far away as 5 weeks from now, but more likely sooner

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

Successfully merging this pull request may close these issues.

4 participants