scio icon indicating copy to clipboard operation
scio copied to clipboard

BQ Write with Schema fails with NPE

Open anish749 opened this issue 4 years ago • 2 comments

Trying to write a SCollection[T: Schema] using .saveAsBigQuery(..) I get a NPE because Beam doesn't know the TableSchema

This originates from here

anish749 avatar Mar 20 '20 14:03 anish749

Hi @anish749 can you provide the full stack trace? This sounds s bit fishy since TableSchema should be derived from the underlying PCollection Schema which is set in the line below?

regadas avatar Mar 20 '20 14:03 regadas

You are right, it is not the one from where I thought it originates. I am not having the stack trace in a parseable format to paste here, and it is in google log viewer. Let me share it privately.

anish749 avatar Mar 20 '20 14:03 anish749

BQ based on beam schema has been dropped in 0.12. Closing the issue

RustedBones avatar Jul 20 '23 12:07 RustedBones