Skip to content

Compiler: Forwarding calls to PGCompiler.visit_on_conflict_do_update#276

Closed
amotl wants to merge 1 commit into
crate:mainfrom
zerotired:visit_on_conflict_do_update-ng
Closed

Compiler: Forwarding calls to PGCompiler.visit_on_conflict_do_update#276
amotl wants to merge 1 commit into
crate:mainfrom
zerotired:visit_on_conflict_do_update-ng

Conversation

@amotl

@amotl amotl commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

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

/cc @bgunebakan, @kneth

Fixes `AttributeError: 'CrateCompilerSA20' object has no attribute
'visit_on_conflict_do_update'`.
@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0ac2cfc1-c0c7-4b13-a504-bee4ba4a2c1e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@amotl

amotl commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

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?

@amotl amotl mentioned this pull request Jun 18, 2026
@kneth kneth requested a review from bgunebakan June 19, 2026 06:23

@bgunebakan bgunebakan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

@bgunebakan bgunebakan added the bug Something isn't working label Jun 19, 2026
@amotl

amotl commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

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?

@bgunebakan

Copy link
Copy Markdown
Contributor

Superseed by #278

@amotl

amotl commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

Thank you very much!

@amotl amotl closed this Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants