GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: backend now supports optimizer version for DML by olavloite · Pull Request #252 · googleapis/java-spanner

This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Conversation

@olavloite

@olavloite olavloite commented Jun 9, 2020

Copy link
Copy Markdown
Contributor

Fixes #249 ☕️

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@olavloite
fix: backend now supports optimizer version for DML
57c9d3c
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 9, 2020
@olavloite
olavloite requested a review from skuruppu June 9, 2020 15:24
@olavloite

olavloite commented Jun 9, 2020

Copy link
Copy Markdown
Contributor Author

@skuruppu
The build error for the code format seems to be caused by a non-related problem. The failing integration test that is fixed by this PR is however breaking all other PRs, so I think we should consider merging this PR even without a successful Code Format check.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@olavloite olavloite mentioned this pull request Jun 9, 2020
deps: include test-jar in bom #253
Merged
skuruppu
skuruppu approved these changes Jun 10, 2020
View reviewed changes
@skuruppu

skuruppu commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

Oooh I have no idea what this error means:

java.lang.UnsupportedClassVersionError: com/google/googlejavaformat/java/FormatterException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Unfortunately, I don't have the permissions to force-merge PRs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chingor13

chingor13 commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

This will be fixed by google-cloud-shared-config 0.7.0 which is releasing now.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@olavloite
fix: update shared config to prevent build failures
3a78cdc
@olavloite olavloite added the automerge Merge the pull request once unit tests and other checks pass. label Jun 10, 2020
@olavloite
fix: update shared config in samples
b461467
@gcf-merge-on-green

gcf-merge-on-green Bot commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

Your PR has attempted to merge for 3 hours. Please check that all required checks have passed, you have an automerge label, and that all your reviewers have approved the PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

1 similar comment
@gcf-merge-on-green

gcf-merge-on-green Bot commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

Your PR has attempted to merge for 3 hours. Please check that all required checks have passed, you have an automerge label, and that all your reviewers have approved the PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@olavloite
fix: upgrade spanner version in install-without-bom
55c410f
@olavloite olavloite removed the automerge Merge the pull request once unit tests and other checks pass. label Jun 10, 2020
olavloite added 3 commits June 10, 2020 15:32
@olavloite
fix: try with java11
9236786
@olavloite
deps: ignore autovalue
2fbd51f
@olavloite
deps: add auto-value dependency
36186a1
@chingor13

chingor13 commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

@stephaniewang526 are these extra auto value changes expected from shared-config 0.7.0?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@olavloite

olavloite commented Jun 10, 2020

Copy link
Copy Markdown
Contributor Author

@chingor13 Any idea why it seems like Java11 needs to be used for the Code Format build for it to succeed? Or am I missing something there?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gcf-merge-on-green

gcf-merge-on-green Bot commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, or one of your required reviews was not approved. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chingor13

chingor13 commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

So the lint error after updating the shared config was because we also need to update .kokoro/build.sh from https://github.com/googleapis/java-spanner/pull/251/files#diff-ce0d2ea7b6085e6c4bd286d0a15a3971

The auto value changes don't seem to be necessary unless you use auto value

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@olavloite

olavloite commented Jun 10, 2020

Copy link
Copy Markdown
Contributor Author

So the lint error after updating the shared config was because we also need to update .kokoro/build.sh from https://github.com/googleapis/java-spanner/pull/251/files#diff-ce0d2ea7b6085e6c4bd286d0a15a3971

The auto value changes don't seem to be necessary unless you use auto value

Great, thanks for looking into that. I'll include that change here and try to walk back as many of the other changes as possible while still keeping the build green. Once that's done, I'll try to fix the other PR's that are failing because of the integration test that is fixed by this PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@olavloite
fix: fix linting error and revert to Java8
4f8cc97
@stephaniewang526

stephaniewang526 commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

@olavloite is the autovalue change in shared-config affecting you somehow?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@skuruppu

skuruppu commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

I'm going to merge this in while the build is green. Then I'll get the presubmits running on the other PRs that are blocked.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@skuruppu
skuruppu merged commit 24b986b into master Jun 10, 2020
@skuruppu
skuruppu deleted the issue-249 branch June 10, 2020 23:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@skuruppu skuruppu skuruppu approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

com.google.cloud.spanner.it.ITQueryOptionsTest.executeUpdate Fails for 100000

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@olavloite @skuruppu @chingor13 @stephaniewang526 @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.