-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Getting labels of Datasets (BigQuery) using the getLabels() in DatasetInfo #2482
Copy link
Copy link
Closed
Labels
api: bigqueryIssues related to the BigQuery API.Issues related to the BigQuery API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
I tried retrieving the labels I set on a Dataset through the UI and gcloud API using the getLabels() method in this class: https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/DatasetInfo.java. I always a null value. I tried filtering on the same labels using the gcloud API and that works. Could you please look into the issue. Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: bigqueryIssues related to the BigQuery API.Issues related to the BigQuery API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.