You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this expected behavior? Because we in fact can't create a TableDefinition with null schema as it's null-checked in com.google.cloud.bigquery.TableDefinition.Builder.
/**
* Sets the table schema.
*/
public B setSchema(Schema schema) {
this.schema = checkNotNull(schema);
return self();
}
I think BigQuery.getTable on a table with empty schema should return a Schema instance with no field within its TableDefinition.
To reproduce,
Is this expected behavior? Because we in fact can't create a TableDefinition with null schema as it's null-checked in
com.google.cloud.bigquery.TableDefinition.Builder.I think
BigQuery.getTableon a table with empty schema should return a Schema instance with no field within its TableDefinition.