The following methods of the API ALWAYS return null value. Please have a look. Thanks!
DatasetInfo.getLocation()
DatasetInfo.getCreationTime()
DatasetInfo.getDefaultTableLifetime()
DatasetInfo.getDescription()
DatasetInfo.getLastModified()
This is also related to an initial issue I created: #2482
I created a sample dataset through the UI and added a table to it. I'm able query this relevant information using the gcloud API. On using the Java Library to query information about the dataset using the above methods, I get a null value. However dataset.getDatasetId().getDataset() gives the name of the expected dataset.
Code:
BigQuery bigquery = BigQueryOptions.getDefaultInstance().getService();
Page<Dataset> datasets = bigquery.listDatasets();
for (Dataset dataset : datasets.iterateAll()) {
Map<String, String> props = new HashMap<>();
String datasetId = dataset.getDatasetId().getDataset();
dataset.getCreationTime() // This gives null
The following methods of the API ALWAYS return null value. Please have a look. Thanks!
DatasetInfo.getLocation()DatasetInfo.getCreationTime()DatasetInfo.getDefaultTableLifetime()DatasetInfo.getDescription()DatasetInfo.getLastModified()This is also related to an initial issue I created: #2482
I created a sample dataset through the UI and added a table to it. I'm able query this relevant information using the gcloud API. On using the Java Library to query information about the dataset using the above methods, I get a null value. However
dataset.getDatasetId().getDataset()gives the name of the expected dataset.Code: