Skip to content

Getting labels of Datasets (BigQuery) using the getLabels() in DatasetInfo #2482

@asuresh4

Description

@asuresh4

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!

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the BigQuery API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions