Compiler: Forwarding calls to PGCompiler.visit_on_conflict_do_update#276
Compiler: Forwarding calls to PGCompiler.visit_on_conflict_do_update#276amotl wants to merge 1 commit into
PGCompiler.visit_on_conflict_do_update#276Conversation
Fixes `AttributeError: 'CrateCompilerSA20' object has no attribute 'visit_on_conflict_do_update'`.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 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 |
|
This other patch proofs integration works well. Errors on CI are unrelated. Can you please merge this PR and run a v0.43.1 bugfix release when possible? |
bgunebakan
left a comment
There was a problem hiding this comment.
Hi @amotl,
Thank you for your quick fix! It looks good, There is no test for this feature so we couldn't catch before. Could you add a test for your change?
|
Hi @bgunebakan. I only have been able to come up with a downstream patch crate/langchain-cratedb#115 to validate that the change is solid. I currently do not have the capacities to come up with a full-blown test case here, apologies. Maybe @florinutz or @kneth can help, with optional support by Claude? |
|
Superseed by #278 |
|
Thank you very much! |
About
Fixes
AttributeError: 'CrateCompilerSA20' object has no attribute 'visit_on_conflict_do_update'.GH-264 intended to do this already, but the patch added the dispatching to the wrong class.
References
AttributeError: 'CrateCompilerSA20' object has no attribute 'visit_on_conflict_do_update'#186/cc @bgunebakan, @kneth