I have a JSON payload like this that I’d like to stream insert into a table I’m managing:
{ “Field1”: “value1”, “Field2”: [“value1”, “value2”], }
Sometimes field2 is not present at all in the JSON. I thought repeated fields with type “STRING” could be null but I’m getting insert errors from the API saying it cannot be empty.
I’m doing the loading from python so can transform if necessary, I’m just not sure the best way to set the schema and JSON payload.