Bump avatica-core from 1.17.0 to 1.22.0#12872
Bump avatica-core from 1.17.0 to 1.22.0#12872dependabot[bot] wants to merge 3 commits intomasterfrom
Conversation
Bumps [avatica-core](https://github.com/apache/calcite-avatica) from 1.17.0 to 1.22.0. - [Release notes](https://github.com/apache/calcite-avatica/releases) - [Commits](apache/calcite-avatica@rel/avatica-1.17.0...rel/avatica-1.22.0) --- updated-dependencies: - dependency-name: org.apache.calcite.avatica:avatica-core dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
|
The upgrade is disabled, see #13160 |
|
Oh, I mistook avatica as calcite, ignored the comment above. |
|
Looks like it is failing code coverage, weird, no code was added / removed. Tried restarting those jobs, lets see. |
|
@dependabot rebase |
|
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry! If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request |
…g.apache.calcite.avatica-avatica-core-1.22.0
Ah, the coverage always runs, even when the tests fail, it looks like some of the tests are failing: https://app.travis-ci.com/github/apache/druid/jobs/584853001#L1978 |
|
Looked into the issues. There are several. Upshot: we cannot upgrade to this version: Avatica itself needs some fixes. We may have compatibility issues when older Avatica clients talk with newer Avatica servers. Version 1.22 appears to be a bit better at enforcing types. This has introduce multiple subtle failures in the tests, in part because Druid seems to be working around prior issues and those workarounds now seem to be causing problems. All of the issues are related to type propagation. Let's start with Protobuf. This protocol preserves the Java types we define in the server. Some tests fail because, before 1.22, the data sent across the wire would change type: Druid supports both the Prototbuf and JSON protocols. While Protobuf appears to preserve types, JSON does not: we're at the mercy of whatever Jackson chooses as the deserialized type. This is related to the fact that JSON has only a single number type: there is some fudging required to map to a Java type. The result is that we tell Avatica that the type is Avatica expects that the elements in an array match the defined type. But, with JSON, we create an array of Druid appearently tried to work around this by declaring the Java type of some numbers to be Thus, when doing this upgrade, we have four issues:
With the last item, a worry is compatibility. Some of the changes do suggest that newer servers may not work with older clients. We cannot expect users to upgrade their clients concurrently with Druid: some cross-version interoperation is necessary. Thus, we need testing, which is a bit hard to do as a unit test or integration test. Net review is -1 on this change until we resolve the above issues. |
|
A newer version of these dependencies exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged. |
|
looks like this has been closed as part of #14510, can you confirm @somu-imply ? |
|
When we upgraded to 1.23 we did not see any of the issues we saw in the Travis failure here. To reconfirm we are triggering a test with both the old and new versions of Avatica. I'll close this PR when we have the results. But so far everything looks good and the CI on #14510 did not see any issues |
|
We finished our runs, and things look good. Here is what we know about Druid upgrading to Avatica 1.23.0 : |
|
Thanks @somu-imply I will close the issue here. Do you mind adding a comment to the PR in #14510 to ensure we mention the compatibility requirements as part of the release notes? Thanks! |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps avatica-core from 1.17.0 to 1.22.0.
Commits
71fc0ab[CALCITE-5220] Release Avatica 1.220c097b6[CALCITE-5218] Verify HTTP client class before instantiating itaad227fCheckout release svn repository when promoting a release using the docker scriptbad14c7Update website for Avatica 1.21.0 release0883262[CALCITE-5097] Release Avatica 1.21.0360c0e7[CALCITE-5095] Support Java 18 and Guava 31.1-jre05658fe[CALCITE-5116] Upgrade vlsi-release-plugins to 1.781f0f0c1[CALCITE-4147] Rename "master" branch to "main"7f9844c[CALCITE-5108] Make website GDPR-compliant7e168f2[CALCITE-5106] Upgrade to Jekyll 4 and remove unnecessary dependencies from g...You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.