Title: Type: Bug Not Streaming Null Values · Issue #3424 · googleapis/google-cloud-java · GitHub
Open Graph Title: Type: Bug Not Streaming Null Values · Issue #3424 · googleapis/google-cloud-java
X Title: Type: Bug Not Streaming Null Values · Issue #3424 · googleapis/google-cloud-java
Description: Bigquery insertAll operation is checking for a field in the inserted Row which is not present in the schema. I have set setIgnoreUnknownValues to true and also set setSkipInvalidRows to true. Here is the exception Trace, java.lang.NullPo...
Open Graph Description: Bigquery insertAll operation is checking for a field in the inserted Row which is not present in the schema. I have set setIgnoreUnknownValues to true and also set setSkipInvalidRows to true. Here ...
X Description: Bigquery insertAll operation is checking for a field in the inserted Row which is not present in the schema. I have set setIgnoreUnknownValues to true and also set setSkipInvalidRows to true. Here ...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/3424
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Type: Bug Not Streaming Null Values","articleBody":"Bigquery insertAll operation is checking for a field in the inserted Row which is not present in the schema. I have set setIgnoreUnknownValues to true and also set setSkipInvalidRows to true.\r\n\r\nHere is the exception Trace, \r\n```java\r\njava.lang.NullPointerException: null value in entry: xyz=null\r\n at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:33) ~[bqstream.jar:?]\r\n at com.google.common.collect.RegularImmutableMap.fromEntryArray(RegularImmutableMap.java:69) ~[bqstream.jar:?]\r\n at com.google.common.collect.RegularImmutableMap.fromEntries(RegularImmutableMap.java:46) ~[bqstream.jar:?]\r\n at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:354) ~[bqstream.jar:?]\r\n at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:327) ~[bqstream.jar:?]\r\n at com.google.cloud.bigquery.InsertAllRequest$RowToInsert.\u003cinit\u003e(InsertAllRequest.java:81) ~[bqstream.jar:?]\r\n at com.google.cloud.bigquery.InsertAllRequest$RowToInsert.of(InsertAllRequest.java:141) ~[bqstream.jar:?]\r\n at com.XXXXXXXXXX.bqstream.data.Data.lambda$getData$0(Data.java:46) ~[bqstream.jar:?]\r\n at java.util.ArrayList.forEach(Unknown Source) ~[?:1.8.0_141]\r\n at com.XXXXXXXXXX.bqstream.data.Data.getData(Data.java:34) [bqstream.jar:?]\r\n at com.XXXXXXXXXX.bqstream.BatchProcessor.apply(BatchProcessor.java:22) [bqstream.jar:?]\r\n at com.XXXXXXXXXX.mdaolib.controller.BatchOutHandler.run(BatchOutHandler.java:35) [bqstream.jar:?]\r\n at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_141]\r\n at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_141]\r\n at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]\r\n```\r\n\r\nAfter looking at the code for InsertAll, it seems like some Preconditons call is performed on the row to be inserted. But why is the same performed on a data not provided in the Schema.","author":{"url":"https://github.com/surabhikannan","@type":"Person","name":"surabhikannan"},"datePublished":"2018-07-03T12:32:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/3424/google-cloud-java/issues/3424"}
| 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:176dd455-26b6-63a0-eb03-6d7f28fb9a1f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8CE2:2D5579:242545:33F0B0:6A4CCD83 |
| html-safe-nonce | b1232c7858983ebd41b6bf426964189f3a72276d8a34ae8223d5996c3d800a4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0UyOjJENTU3OToyNDI1NDU6MzNGMEIwOjZBNENDRDgzIiwidmlzaXRvcl9pZCI6IjM5MjU2OTY5MjMxODUyMzczNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b0b5740b7b8b48dbcfa50327b3e192e10ee1ab640adfecaaa41cec3e5e164fb7 |
| hovercard-subject-tag | issue:337878914 |
| 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/3424/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec03651dcc849ffe573cf2bfa06f7fd19d447359060b64a7a096406d9ff8c1bb/googleapis/google-cloud-java/issues/3424 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec03651dcc849ffe573cf2bfa06f7fd19d447359060b64a7a096406d9ff8c1bb/googleapis/google-cloud-java/issues/3424 |
| og:image:alt | Bigquery insertAll operation is checking for a field in the inserted Row which is not present in the schema. I have set setIgnoreUnknownValues to true and also set setSkipInvalidRows to true. Here ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | surabhikannan |
| hostname | github.com |
| expected-hostname | github.com |
| None | ee8a9d18044a05fe2d57b9ae797da38c8be34effb03f015f7c42e94770d28a1b |
| 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 | f84814acc6f036583fd43463f5847a846243d2a4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width