-
Notifications
You must be signed in to change notification settings - Fork 0
[fix] Use indirect writemethod for BigQuery writes to actually output partitioned tables. #257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… partitioned tables.
WalkthroughThe pull request modifies the Changes
Possibly related PRs
Suggested Reviewers
Poem
Warning Review ran into problems🔥 ProblemsGitHub Actions: Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository. Please grant the required permissions to the CodeRabbit GitHub App under the organization or repository settings. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
cloud_gcp/src/main/scala/ai/chronon/integrations/cloud_gcp/GcpFormatProvider.scala (1)
51-52
: Consider tracking the TODO as a separate issue.The comment references PR #1320 which might eliminate the need for temporary GCS bucket config.
Want me to create an issue to track this TODO?
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro (Legacy)
📒 Files selected for processing (1)
cloud_gcp/src/main/scala/ai/chronon/integrations/cloud_gcp/GcpFormatProvider.scala
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: scala_compile_fmt_fix
🔇 Additional comments (1)
cloud_gcp/src/main/scala/ai/chronon/integrations/cloud_gcp/GcpFormatProvider.scala (1)
53-53
: LGTM! Fix for partitioned tables.The change from direct to indirect write method correctly addresses the partitioned tables issue.
Let's verify the impact:
✅ Verification successful
Verified: Single centralized writeMethod configuration
The indirect writeMethod setting is correctly configured in the centralized GcpFormatProvider and no other instances require updates.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Search for any other direct write method configurations that might need updating rg -i "writeMethod.*direct"Length of output: 223
Script:
#!/bin/bash # Search for BigQuery-related configurations rg -i "bigquery|writeformat" -A 2 -B 2Length of output: 44157
… partitioned tables. (#257) … partitioned tables. ## Summary ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved BigQuery data writing method to support partitioned tables by changing the write method from "direct" to "indirect". <!-- end of auto-generated comment: release notes by coderabbit.ai -->
… partitioned tables. (#257) … partitioned tables. ## Summary ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved BigQuery data writing method to support partitioned tables by changing the write method from "direct" to "indirect". <!-- end of auto-generated comment: release notes by coderabbit.ai -->
… partitioned tables. (#257) … partitioned tables. ## Summary ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved BigQuery data writing method to support partitioned tables by changing the write method from "direct" to "indirect". <!-- end of auto-generated comment: release notes by coderabbit.ai -->
… partitioned tables. (#257) … partitioned tables. ## Summary ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved BigQuery data writing method to support partitioned tables by changing the write method from "direct" to "indirect". <!-- end of auto-generated comment: release notes by coderabbit.ai -->
… partitioned tables. (#257) … partitioned tables. ## Summary ## Cheour clientslist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved BigQuery data writing method to support partitioned tables by changing the write method from "direct" to "indirect". <!-- end of auto-generated comment: release notes by coderabbit.ai -->
… partitioned tables.
Summary
Checklist
Summary by CodeRabbit