bigrquery
bigrquery copied to clipboard
Fix dbReadTable() returning 0 rows for BigQuery views (#633)
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