Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaner BigQuery structured fields in Preview #1423

Open
1 task
FloDevelops opened this issue Sep 18, 2024 · 2 comments
Open
1 task

Cleaner BigQuery structured fields in Preview #1423

FloDevelops opened this issue Sep 18, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@FloDevelops
Copy link

Describe the feature

In the BigQuery UI, structured fields are displayed like regular columns.

image

However in the dbt-power-user preview these fields are displayed a single less readable object with multiple keys, like:

privacy_info
{"analytics_storage": null, "ads_storage": null, "uses_transient_token": "No"}

Moreover, when we have larger objects the column gets truncated, and we cannot see all values.


Please note this is issue is not about repeated fields (aka arrays) which may require even more thinking and work to manage.

Describe alternatives you've considered

Using a different extension, but without much success yet.

Who will benefit?

Every dbt-power-user working with structured data in BigQuery.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@FloDevelops FloDevelops added the enhancement New feature or request label Sep 18, 2024
@mdesmet mdesmet assigned AdiGajbhiye and gaurpulkit and unassigned AdiGajbhiye Sep 18, 2024
@anandgupta42
Copy link
Contributor

@FloDevelops, can you upgrade to the latest version of the extension (0.45.0) and check if the issue still exists?

@FloDevelops
Copy link
Author

@anandgupta42 I am on the latest version (0.45.3) and this issue is not fixed, or at least not as intented.

image

For example in this preview I understand I can preview a single object on the side panel, however I cannot properly look at many rows at once, particularly when each record has values of varying lengths.

A better behaviour would be closer to the one in the BigQuery UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants