Title: [BigQuery] TableId.setProjectId ignored if non-null value exists · Issue #3283 · googleapis/google-cloud-java · GitHub
Open Graph Title: [BigQuery] TableId.setProjectId ignored if non-null value exists · Issue #3283 · googleapis/google-cloud-java
X Title: [BigQuery] TableId.setProjectId ignored if non-null value exists · Issue #3283 · googleapis/google-cloud-java
Description: As per the title, calling setProjectId to an existing tableId instance is ignored if the existing projectId is not null. Suggested changing this to: TableId setProjectId(String projectId) { Preconditions.checkArgument(!Strings.isNullOrEm...
Open Graph Description: As per the title, calling setProjectId to an existing tableId instance is ignored if the existing projectId is not null. Suggested changing this to: TableId setProjectId(String projectId) { Precond...
X Description: As per the title, calling setProjectId to an existing tableId instance is ignored if the existing projectId is not null. Suggested changing this to: TableId setProjectId(String projectId) { Precond...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/3283
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BigQuery] TableId.setProjectId ignored if non-null value exists","articleBody":"As per the title, calling [setProjectId](https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/TableId.java#L113) to an existing tableId instance is ignored if the existing projectId is not null.\r\n\r\nSuggested changing this to:\r\n```java\r\n TableId setProjectId(String projectId) {\r\n Preconditions.checkArgument(!Strings.isNullOrEmpty(projectId), \"ErrorMSG\");\r\n return TableId.of(projectId, getDataset(), getTable());\r\n }\r\n```","author":{"url":"https://github.com/MMMarcy","@type":"Person","name":"MMMarcy"},"datePublished":"2018-05-17T10:20:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/3283/google-cloud-java/issues/3283"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7e7b8285-43f7-069f-4f6c-21d2499420fd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9AA8:228A12:A8BCB2:E59824:6A4C8FCE |
| html-safe-nonce | 0ab92c31e789ecd3d12c24023dd70221472ba666d04334b6df250edca4aabd97 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUE4OjIyOEExMjpBOEJDQjI6RTU5ODI0OjZBNEM4RkNFIiwidmlzaXRvcl9pZCI6Ijc1NzY4ODMyOTA0OTA4MzQ4OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8f0439da6227a40c5689182a5eb17dff68ab0931518d5e58685ada0917add1d4 |
| hovercard-subject-tag | issue:323960968 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-java/3283/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d0bb0bb167ef9830cde291e1180cd69c1c000d2fa6915680b1bce141a1f6f3f1/googleapis/google-cloud-java/issues/3283 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d0bb0bb167ef9830cde291e1180cd69c1c000d2fa6915680b1bce141a1f6f3f1/googleapis/google-cloud-java/issues/3283 |
| og:image:alt | As per the title, calling setProjectId to an existing tableId instance is ignored if the existing projectId is not null. Suggested changing this to: TableId setProjectId(String projectId) { Precond... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MMMarcy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-java git https://github.com/googleapis/google-cloud-java.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 26181278 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26181278 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7a2dede45637df6b92ddcfe2a557e67d4b5854ae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width