expose biglakeConfiguration properties on Table · Issue #2157 · googleapis/python-bigquery · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

expose biglakeConfiguration properties on Table #2157

Closed
@tswast

Description

@tswast

Is your feature request related to a problem? Please describe.

I'd like to lookup some info about my biglake tables with the Python client. Specifically, I'd like to check if the tableFormat is ICEBERG and if it is, then try to read the parquet files from the storageUri.

Describe the solution you'd like

A Table.biglake_configuration property that returns some BigLakeConfiguration object would make the most sense to me and align with the REST API for BigLakeConfiguration.

Describe alternatives you've considered

My workaround:

table_resource = table.to_api_repr()
if (data_config := table_resource.get("biglakeConfiguration", None)) is not None:
    if (
        (data_config.get("tableFormat", None) == "ICEBERG")
        and (data_config.get("fileFormat", None) == "PARQUET")
        and ((uri := data_config.get("storageUri")) is not None)
    ):
        print(uri)

Additional context

Release note: https://cloud.google.com/bigquery/docs/release-notes#July_25_2022

July 25, 2022

BigLake is now generally available (GA). You can now create BigQuery ML models using data in Cloud Storage by using BigLake and publish BigLake tables as Analytics Hub listings.

Metadata

Metadata

Assignees

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

    TMZ Celebrity News – Breaking Stories, Videos & Gossip

    Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

    Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

    🎥 Watch TMZ Live

    TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.