I am trying to create an empty external BigQuery table using the java API.
In our flow there is a gap between the table creation and the arrival of the avro file, so I need to create the table without any underlying data. The ExternalTableDefinition allows specifying a sourceUri and a schema.
So I tried with a null sourceUri and a valid schema. I get this error: "Specifying a schema is disallowed for STORAGE_FORMAT_AVRO"
Why the limitation?
Is there any way to create an external avro table based on the schema only?
thanks in advance