Skip to content

Conversation

@RobbeDeWaele
Copy link

The current implementation of the preview functionality uses a query along the lines of SELECT * FROM <table> {LIMIT <num_of_rows>} to visualize (a subset of) the rows of a table. Querying the entire table can be pretty costly however and the LIMIT clause does not necessarily reduce the cost for non-clustered tables (see BigQuery API documentation).

This pull request uses the getRows() alternative which doesn't incur any costs. It supports the current functionality to specify the number of rows returned but removes the job information as that is no longer applicable

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant