Improve API for configuring the schema for a BigQuery Table #217
Labels
api: bigquery
Issues related to the BigQuery API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Milestone
The current JSON-as-hash mechanism for setting a Table schema is needlessly verbose and exposes the all-caps convention of the underlying Rest API. Here is the example from the docs.
I believe it would improve the API to use something more structured and native to Ruby, such as a builder inside a block:
Both Dataset#create_table and Table#schema= would need to be updated for the new approach.
The text was updated successfully, but these errors were encountered: