GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bindings docs and tests: known issues and tripwires for upstream #9277, #9278, and #9281 by tae898 · Pull Request #198 · humemai/arcadedb-embedded-python

This repository was archived by the owner on Nov 21, 2026. It is now read-only.

Conversation

@tae898

@tae898 tae898 commented Oct 5, 2026

Copy link
Copy Markdown

Summary

Three engine bugs found while verifying upstream fixes reach Python users, each with a known-issues entry, a verified workaround, and tests.

  • openCypher: the COUNT ANTI-JOIN CHAIN push-down counts the wrong vertices when the far end of the chain has another label than the first hop's target (0 instead of 1), and the change for #9203 lets id(a) <> id(b) reach it ArcadeData/arcadedb#9277: the openCypher COUNT ANTI-JOIN CHAIN push-down counts 0 where the answer is 1 when the far end of a chain has another label than the first hop's target. Upstream Fix Gremlin fractional index bound, MATCH WHERE evaluated twice, anti-join push-down and filter placement (#9206 #9203 #9202 #9167) ArcadeData/arcadedb#9271 lets id(a) <> id(b) reach it, so that spelling, right before, is wrong now.
  • openCypher: the COUNT ANTI-JOIN CHAIN push-down ignores the property map of the negated pattern's relationship (NOT (x)-[:K {w: 1}]->(z) is counted as NOT (x)-[:K]->(z)) ArcadeData/arcadedb#9278: the same push-down drops the property map of the negated pattern's relationship, so NOT (x)-[:K {w: 1}]->(z) is counted as NOT (x)-[:K]->(z).
  • sum() and avg() over a BYTE property throw IllegalArgumentException (Cannot increment value ... class java.lang.Byte) in SQL and openCypher ArcadeData/arcadedb#9281: sum() and avg() over a BYTE property raise IllegalArgumentException in SQL and openCypher.

The workarounds are plain tests (a WITH before the WHERE, which keeps the query off the push-down, and b.asInteger() or toInteger(n.b) before the aggregate), with tests of the cases that are not affected; the wrong answers are strict xfail tests that start failing the suite when the engine fixes them. The plan check calls pytest.fail, so a tripwire cannot pass by comparing the row pipeline with itself.

Verification

Through the bindings on the CI jar of upstream d36b4ca (the wheel's bundled JDK 25): 15 passed and 9 xfailed in tests/test_count_pushdown_known_issues.py. With the 26.9.1 engine jars only the two id() cases fail, because that engine does not push them down, which is what the plan check is for. In Java, byte-identical repros on Temurin 25 with compact object headers and on Temurin 21 give the same answers on 26.9.1, 5a90b0f, and d36b4ca.

Closes #197.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ubz3m6QXHESerCkehC1qgi

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tae898 @claude
bindings docs and tests: known issues and strict xfail tripwires for …
8ca1cfd
…upstream ArcadeData#9277, ArcadeData#9278, and ArcadeData#9281

The openCypher COUNT ANTI-JOIN CHAIN push-down counts wrong when the far end of the chain has another label than the first hop's target (ArcadeData#9277; upstream ArcadeData#9271 lets id(a) <> id(b) reach it) and when the negated pattern's relationship has a property map (ArcadeData#9278), and sum() and avg() over a BYTE property raise IllegalArgumentException (ArcadeData#9281). Each entry has a workaround that is a plain test (a WITH before the WHERE, a conversion before the aggregate), tests of the cases that are not affected, and strict xfail tests of the wrong answers that start failing the suite when the engine fixes them. The plan check calls pytest.fail so a tripwire cannot pass by comparing the row pipeline with itself.

Closes #197.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Ubz3m6QXHESerCkehC1qgi
@tae898
tae898 force-pushed the bindings-known-9277 branch from d37db01 to 8ca1cfd Compare October 6, 2026 00:39
@tae898
tae898 merged commit 41fcbbd into main Oct 6, 2026
48 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@tae898
tae898 deleted the bindings-known-9277 branch October 6, 2026 01:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

docs and tests: known-issues entries and tripwires for upstream #9277, #9278, and #9281

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@tae898
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.