Skip to Content
Learning Google BigQuery
book

Learning Google BigQuery

by Thirukkumaran Haridass, Eric Brown
December 2017
Beginner to intermediate
264 pages
5h 38m
English
Packt Publishing
Content preview from Learning Google BigQuery

Creating a new dataset in the project

The following code creates a sample dataset in the project if it does not exist, and if it exists, it gets its details and returns those to the calling method:

Call the preceding method in the main method and store the returned object as shown in the following code. If the dataset and the tables in it have to be refreshed everyday, then specify the default expiration period for the tables using the property CreateDatasetOptions.DefaultTableExpiration when creating a dataset. This setting is applied to all tables in the dataset, so use it with caution. The properties of the dataset can be updated using ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Google BigQuery: The Definitive Guide

Google BigQuery: The Definitive Guide

Valliappa Lakshmanan, Jordan Tigani
Google BigQuery Analytics

Google BigQuery Analytics

Siddartha Naidu, Jordan Tigani

Publisher Resources

ISBN: 9781787288591Supplemental Content