-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[BEAM-9379] Update calcite to 1.26 #14729
Conversation
Codecov Report
@@ Coverage Diff @@
## master #14729 +/- ##
=======================================
Coverage 83.74% 83.75%
=======================================
Files 442 442
Lines 60050 60050
=======================================
+ Hits 50290 50295 +5
+ Misses 9760 9755 -5
Continue to review full report at Codecov.
|
522c3f6
to
ea51944
Compare
run sql postcommit |
94d3bf0
to
ab7c78d
Compare
Seems to be because of this commit: apache/calcite@dae53ef#diff-2095e662d66d6c1b2851915fa0d73934c3a847550545396835e02d88a9f5e2daR2858-R2871 Calcite 1.24+ casts UDF return values to their expected Java types. Calcite's default By the way, I committed fixes for these issues to my branch: https://github.com/ibzib/beam/commits/updatecalcite-udf-types |
3b5a1f5
to
c93f18c
Compare
f3e85e4
to
41d714c
Compare
f29da0a
to
a42956e
Compare
run java precommit |
This is finally ready for review! @ibzib @nielsbasjes |
Sorry for the massive size. You might have better luck reviewing if you drop the first (generated) commit: 303c959...54881ce You'll still have to comment on the PR directly. |
Run Java_Examples_Dataflow PreCommit |
Run Java PreCommit |
…r typechecking in Calcite 1.24+.
664d0fb
to
965154a
Compare
🥳 |
Please, don't forget to squash the commits before merge or just use GitHub's "Squash and Merge" button. |
These commits include valuable information. I am -1 on squashing commits. |
Do you mean all these 23 commits merged with this PR? Then, every commit requires Jira Id prefix to make it easier to track commits history. Tbh, I doubt that commits like "Update CHANGES.md" and "Up spotbug stack size" can't be squashed with main PR's commit(s). It should make reading commits history easier. |
I'm not sure what tools you are using to view history, but many of them have ways to give your preferred view. For example I squashed fixup commits and put effort into keeping the commits clean, if I hadn't it would easily be 100 commits. I could have been more aggressive on squashing in a few cases (I thought about squashing "Make it functional For the two specific examples you've given: The "Update CHANGES.md" doesn't represent any single commit in the PR so I left it separate. The "Up spotbug stack size" is an issue exposed by this change that is mostly unrelated, it could have been a separate PR (like #15362). Perhaps I should have broken more of this out into separate PRs. This PR has been in the works for over a year, and resulted in many split off changes: #13930 #14146 #14518 possibly others I'm not remembering. (Also some of the commits in this change are being reverted in #15457.) I don't think we are going to agree on the proper curation of git history, I don't like small "fixup" changes but I also think there are many cases where a PR can benefit from more than a single commit. I proposed banning the "Squash and Merge" button in 2018: https://lists.apache.org/thread.html/8d29e474e681ab9123280164d95075bb8b0b91486b66d3fa25ed20c2%40%3Cdev.beam.apache.org%3E |
I see your reasons but I still don't see why it can't be squashed into several atomic and independent commits that reflect every major change of this PR and can be rolled back independently if required? What kind of additional value the tiny commits can bring? Personally, taking into account that it was a long work on this feature and it required more changes than expected initially, I think it had to be split into several PRs or maybe even Jiras. In ideal world, every feature should have one Jira issue, one PR and one independent commit. If it requires more then it had to be split into more granular parts. Of course, there always can be some exceptions, but the goal is to keep a clear commit history and independent rollback. In our "Commiter guide" we have the requirements for granularity of changes that we discussed before and we have to follow. So my initial point was mostly about that that should help us to make a git history clear. Now I don't see that it's always a case but we can easily make it better. PS: Regarding the tools. I usually use |
This replaces #12962.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username
).[BEAM-XXX] Fixes bug in ApproximateQuantiles
, where you replaceBEAM-XXX
with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.CHANGES.md
with noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
ValidatesRunner
compliance status (on master branch)Examples testing status on various runners
Post-Commit SDK/Transform Integration Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.