Uh oh!
There was an error while loading. Please reload this page.
feat: add support for service account impersonation - #2001
Conversation
| "@bazel/rollup": "^3.0.0", | ||
| "@bazel/typescript": "^3.0.0", | ||
| "@google-cloud/bigquery": "^5.6.0", | ||
| "@google-cloud/bigquery": "7.1.1", |
There was a problem hiding this comment.
I think it shouldn't be pinned to a specific version similar to other dependencies
There was a problem hiding this comment.
Thanks @kolina for the review. Using ^7.1.1 results in the following error when doing bazel run @nodejs//:yarn add @google-cloud/bigquery@^7.1.1
error @google-cloud/promisify@4.1.0: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.16.0"However, we can use ~ to allow patch updates only (minor and major fixed). This installs without any issues. I have made this change in the lates commit.
Happy to change based on feedback. Trying a lower major version is another option.
Ceridan
left a comment
There was a problem hiding this comment.
Unfortunately, we need to put it on hold for a while. We cannot easily upgrade to @google-cloud/bigquery@7.1.1 because it is not available on our npm mirror at the moment.
Additionally, there is a an ongoing work to update the whole toolchain for Dataform which will make it possible to upgrade NodeJS version and other dependencies to up to date versions.
wintermi
commented
Sep 3, 2025
Any further updates on when this will be merged? |
Ceridan
commented
Sep 5, 2025
Unfortunately, we cannot merge this right now. It is required some additional work on build toolchain upgrade, which allows us to upgrade all the dependencies. This work will most likely be done in Q4'2025. |
kolina
commented
Jan 2, 2026
@ashish10alex, can you please sync this PR to the latest |
ashish10alex
commented
Jan 3, 2026
@kolina done |
kolina
commented
Jan 5, 2026
/gcbrun |
Uh oh!
There was an error while loading. Please reload this page.
@kolina thankyou for getting this in.. when can we expect a new release with this fix? |
kolina
commented
Jan 7, 2026
It's included into this release |
mganeshphani
commented
Jan 7, 2026
Thankyou @kolina .. we will try it.. appreciate getting this one out asap |
Fixes: #2000
Solution:
Update @google-cloud/bigquery to a newer version which supports service account impersonation. The version number (~7.1.1) was set from finding the maximum version of @google-cloud/bigquery such that current minimum Node JS version (16.6.0) does not need to be changed.
Tests
The incoming JSON object does not contain a client_email fieldbazel test //core/...&./scripts/lintpasses