Fix BigQuery parquet dump exports#13
Conversation
|
Caution Review failedFailed to post review comments. GitHub was unavailable or timed out while CodeRabbit was posting the review. Please request a new review later if the pull request still needs one. This happened while posting 1 inline comment. Use ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (7)datastore/api/endpoints/**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
tests/**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
datastore/{services,infrastructure,core,auth}/**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
datastore/{services,infrastructure,auth}/**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
datastore/infrastructure/engines/**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
datastore/infrastructure/engines/**/backend.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
datastore/infrastructure/engines/bigquery/backend.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
📝 WalkthroughWalkthroughParquet exports now use wildcard GCS URIs, convert JSON columns to strings, and reject multi-shard downloads with ChangesParquet export handling
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant DumpEndpoint
participant BigQueryBackend
participant BigQuery
participant GCS
DumpEndpoint->>BigQueryBackend: Request Parquet dump
BigQueryBackend->>BigQuery: Export to wildcard Parquet URI
BigQuery->>GCS: Write Parquet shards
BigQueryBackend->>GCS: List exported blobs
GCS-->>BigQueryBackend: Return shard list
BigQueryBackend-->>DumpEndpoint: Return export or raise PayloadTooLargeError
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Hi @luccasmmg Thanks for the PR. Do you have any idea how we can allow users to download large Parquet files? |
Summary
Tests
Summary by CodeRabbit
Bug Fixes
Documentation