Skip to content

Conversation

byapparov
Copy link
Contributor

@byapparov byapparov commented Jul 13, 2025

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

bulatyapparov and others added 2 commits July 13, 2025 22:00
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](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Fix deprecation warning for upload-artifact action in test-coverage workflow.
v3 was deprecated on 2024-04-16, updating to v4 for compatibility.
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.

dbReadTable() returns 0 rows when used on views

2 participants