bigrquery icon indicating copy to clipboard operation
bigrquery copied to clipboard

Fix dbReadTable() returning 0 rows for BigQuery views (#633)

Open byapparov opened this issue 9 months ago • 0 comments

Fixes #633

BigQuery views don't have numRows metadata populated, causing bq_table_download() to calculate n_max=0 and return empty results.

This change detects views using bq_table_meta() and handles them differently by using the user-specified n_max instead of relying on numRows. Regular tables continue to work as before.

🤖 Generated with Claude Code

byapparov avatar Jul 13 '25 21:07 byapparov