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

Java BigQuery client by default uses POST over PATCH for updates, emulator cannot handle that #362

Open
KasperJanssens opened this issue Oct 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@KasperJanssens
Copy link

What happened?

The java bigquery client by default will not use PATCH methods to perform updates. Instead, it will use a POST with a header x-http-method-override=PATCH to indicate a PATCH method. This likely has something to do with certain proxies not allowing PATCH, but the end result is that updates do not succeed with the error message unexpected request path as described in issue #81 as well. This call works successfully on big query itself, likely some kind of interceptor installed on google's side or so.

What did you expect to happen?

I expected the update to happen.

How can we reproduce it (as minimally and precisely as possible)?

Any update call with the java big query library will trigger the issue. I can see if I can provide a small sample project if this would help/be necessary.

Anything else we need to know?

No response

@KasperJanssens KasperJanssens added the bug Something isn't working label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant