-
Notifications
You must be signed in to change notification settings - Fork 229
Fix PSQL OperationalError on archive creation at QB level #6998
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
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6998 +/- ##
===========================================
- Coverage 79.05% 24.90% -54.15%
===========================================
Files 566 566
Lines 43675 43683 +8
===========================================
- Hits 34522 10873 -23649
- Misses 9153 32810 +23657 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Closing in favor of #6993. |
The most robust solution is (according to the internet and LLMs), a temporary table, and applying a join operation, rather than a massive SQL statement with many
IN
.For future reference:
and
Seems like batching inside the
get_filter_expr_*
methods does not resolve the issue. One could modify the function signature to return multiple, batched expressions, rather than one: