GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Support Authorized Dataset · Issue #1064 · googleapis/python-bigquery

This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Support Authorized Dataset #1064

Copy link
Copy link
Closed
#1075
Closed
Support Authorized Dataset#1064
#1075
Copy link
Assignees
steffnay
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@yongjiaw
yongjiaw
opened on Nov 16, 2021
Issue body actions

python-bigquery/google/cloud/bigquery/dataset.py

Lines 134 to 144 in 7052054

ENTITY_TYPES = frozenset(
[
"userByEmail",
"groupByEmail",
"domain",
"specialGroup",
"view",
"iamMember",
"routine",
]
)

Not sure about the reason to have restricted entities here.
We need to use authorized dataset, and got ValueError.
image

Activity

  1. product-auto-label
    added
    api: bigqueryIssues related to the googleapis/python-bigquery API.
    on Nov 16, 2021
  2. tswast
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Nov 16, 2021
  3. tswast commented on Nov 16, 2021

    @tswast
    tswast
    on Nov 16, 2021
    Contributor
    More actions

    Not sure about the reason to have restricted entities here.

    I agree that the client-side validation may be more trouble than its worth.

  4. tswast commented on Nov 16, 2021

    @tswast
    tswast
    on Nov 16, 2021
    Contributor
    More actions

    @yongjiaw I'm not seeing "dataset" listed here: https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#Dataset.FIELDS.access Is this a new / preview feature?

  5. tswast
    added
    status: awaiting information
    on Nov 16, 2021
  6. yongjiaw commented on Nov 17, 2021

    @yongjiaw
    yongjiaw
    on Nov 17, 2021
    Author
    More actions

    Not sure about the status of this feature, it's probably relatively new.
    This is the only workaround to solve the problem of hitting the limit of 2500 authorized views per dataset.
    https://cloud.google.com/bigquery/docs/authorized-datasets
    https://cloud.google.com/bigquery/quotas#dataset_limits

  7. tswast
    removed
    status: awaiting information
    on Nov 17, 2021
  8. tswast
    assigned
    steffnay
    on Nov 17, 2021
  9. tswast commented on Nov 17, 2021

    @tswast
    tswast
    on Nov 17, 2021
    Contributor
    More actions

    Thanks @yongjiaw I've filed an issue 206825216 to our docs team to address the missing REST API docs.

    @steffnay I think we want to remove the client-side validation of entity types and replace them with some enum values in https://github.com/googleapis/python-bigquery/blob/main/google/cloud/bigquery/enums.py for the folks that want some helpers to avoid typos.

  10. tswast
    closed this as completedin #1075on Dec 14, 2021
  11. tswast commented on Dec 14, 2021

    @tswast
    tswast
    on Dec 14, 2021
    Contributor
    More actions

    This will be included in the next release, which is planned for January 4. We've paused releases in the meantime out of caution towards introducing changes around the holidays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @steffnay
    steffnay

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.