Visitar URL original
bindings docs: GraphBatch edges with declared properties skip conversion and constraints (upstream #9018, #9019) by tae898 · Pull Request #105 · humemai/arcadedb-embedded-python · GitHub
Skip to content

bindings docs: GraphBatch edges with declared properties skip conversion and constraints (upstream #9018, #9019) - #105

Merged
tae898 merged 2 commits into
mainfrom
docs-graphbatch-declared-edge-props
Oct 3, 2026
Merged

tae898 merged 2 commits into
mainfrom
docs-graphbatch-declared-edge-props

Conversation

@tae898

@tae898 tae898 commented Oct 3, 2026

Copy link
Copy Markdown

Closes #104.

GraphBatch edges written with properties skip the engine's conversion and constraint checks (ArcadeData#9018 and ArcadeData#9019, filed today with Java reproductions). Through the bindings, on a 26.10.1 snapshot, new_edge and new_edges store weight=None, note="hello" as weight = -1 in a declared INTEGER and 40000 in a SHORT as -25536, where Vertex.new_edge keeps the null and refuses 40000.

  • known-issues.md: a new entry with what was measured, the workaround (write edges with declared properties through Vertex.new_edge, in a transaction), and the two cases measured through the bindings that qualify it: a null written last reads back as null but logs Possible corrupted record, and a batch that also holds a second edge type stores the null correctly.
  • graph_batch.md: a caution under new_edge linking to the entry.
  • test_graph_batch.py: a test of the workaround, and three strict xfail tests (null with a following property through new_edge and through new_edges, and the SHORT) that fail the suite when an engine fix reaches the wheel, as test_restore_sql.py did for RESTORE DOCUMENT in the same transaction as the DELETE: count(*) reports 1, a full scan returns 0 ArcadeData/arcadedb#6096. I ran them with --runxfail to confirm each fails on the intended assertion (-1 instead of None, not refused).

Full suite on a wheel built from the cecb369 engine: 500 passed, 3 skipped, 3 xfailed. bandit (--severity-level low --confidence-level low) is clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DeKEhHXJTy1H1GgbfBZ8mL

tae898 and others added 2 commits October 3, 2026 18:40
…ion and constraints (upstream ArcadeData#9018, ArcadeData#9019) (#104)

Known-issues entry with a workaround checked through the bindings, a caution on the GraphBatch API page, a test of the workaround, and strict xfail tests that fail the suite when an engine fix reaches the wheel.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DeKEhHXJTy1H1GgbfBZ8mL
…ere black leaves it (#104)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DeKEhHXJTy1H1GgbfBZ8mL
@tae898
tae898 merged commit 80ac5cb into main Oct 3, 2026
48 checks passed
@tae898
tae898 deleted the docs-graphbatch-declared-edge-props branch October 3, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bindings docs: known issue for upstream #9018 and #9019, GraphBatch edges with declared properties

1 participant