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 the BigQueryClient.UpdateDataset method:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.37.12