kota-yata commented on issue #27616:
URL: https://github.com/apache/beam/issues/27616#issuecomment-1785199534
The project id and the dataset name should be joined together with colon,
not with period. `myproject:testing.test_new` instead of
`myproject.testing.test_new`.
The code above should be as follows:
```
rows.apply(BigQueryIO.applyRowMutations()
.to("myproject:testing.test_new")
.withJsonSchema(tableSchemaJson)
.withMethod(BigQueryIO.Write.Method.STORAGE_API_AT_LEAST_ONCE)
.withCreateDisposition(BigQueryIO.Write.CreateDisposition.CREATE_NEVER))
```
I've actually posted my answer to the stack overflow question.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]