-
Notifications
You must be signed in to change notification settings - Fork 513
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
"No schema specified on job or table." Error when writing an empty table using .saveAsTypedBigQuery #884
Comments
@fallonchen IIRC you looked at a similar one? |
I think I might have made a mistake. I just ran into the same issue with saveAsBigQuery. |
I'm closing this issue because it seems to be a regression with Apache Beam. |
@Tomczik76 did you find a BEAM Jira ticket? |
Let's keep this open until it's resolved upstream and in Scio :) |
Upstream bug https://issues.apache.org/jira/browse/BEAM-3067 |
Just to be clear BEAM-3067 states this happens with DirectRunner. I encountered this bug using the DataFlowRunner. |
Verified that this has been resolved in Scio 0.4.6 / Beam 2.2.0. |
I repeatedly had a failed job with:
"errors" : [ { "message" : "No schema specified on job or table.", "reason" : "invalid" } ]
When writing using .saveAsTypedBigQuery on a @BigQueryType.toTable case class when writing an empty table.
@BigQueryType.toTable case class Usage(an: String)
Also, I didn't encounter a failure when using
.saveAsBigQuery
and giving aTableSchema
The text was updated successfully, but these errors were encountered: