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: ordered reads need MANDATORY with NOTNULL, and Cypher reads the index in order only ascending (#26) by tae898 · Pull Request #27 · 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 Sep 30, 2026

Copy link
Copy Markdown

Closes #26.

docs/guide/core/queries.md, "Ordered reads over an optional property":

  • The skip condition names MANDATORY and NOTNULL together. NOTNULL alone rejects an explicit null but not a record that leaves the property out, which has no index key either (Regression: the new NOTNULL fast path for an index-ordered ORDER BY drops every record that simply does not have the property, because NOTNULL does not make a property mandatory ArcadeData/arcadedb#8701); the example now declares (mandatory true, notnull true).
  • "Descending reads are not affected" is scoped to SQL.
  • A new paragraph gives the openCypher behavior measured on the 26.10.1 snapshot 2fa02b3dde (openCypher: ORDER BY an indexed property LIMIT k scans the whole label when descending on a MANDATORY NOTNULL property, under WHERE x IS NOT NULL, and with a NULL_STRATEGY INDEX index in either direction (850-1,130 ms against 0.5-1.7 ms at 1M vertices) ArcadeData/arcadedb#8724): index order over a whole label only for an ascending ORDER BY n.p LIMIT k with no WHERE on a default-null-strategy index; a descending read, WHERE n.p IS NOT NULL, or a NULL_STRATEGY INDEX index scans the label; a range predicate is served in either direction.

Checked: mkdocs build --strict passes. Docs only; no code, test, or example changes (the only other NOTNULL declaration in the docs, api/schema.md, already pairs it with mandatory).

🤖 Generated with Claude Code

https://claude.ai/code/session_01WWcDr7TwvcfMsQkeYQVHZr

Sorry, something went wrong.

Uh oh!

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

All reactions
@tae898 @claude
bindings docs: ordered reads need MANDATORY with NOTNULL, and Cypher …
43ad076
…reads the index in order only ascending (#26)

NOTNULL rejects an explicit null but not a record that leaves the property
out, which has no index key either (ArcadeData#8701), so the
ordered-reads advice names MANDATORY and NOTNULL together. The descending
sentence is scoped to SQL, and a paragraph gives the openCypher behavior
measured on the 26.10.1 snapshot (ArcadeData#8724) with the range
workaround.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01WWcDr7TwvcfMsQkeYQVHZr
@tae898
tae898 merged commit 1e0d82a into main Sep 30, 2026
48 checks passed

Uh oh!

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

@tae898
tae898 deleted the docs-ordered-reads-mandatory-cypher branch September 30, 2026 13:58
This was referenced Sep 30, 2026
bindings docs: ordered reads need MANDATORY with NOTNULL (ArcadeDB #8701), and Cypher reads the index in order only ascending (ArcadeDB #8724) #26
Closed
bindings docs: Cypher ordered reads, OR, and parallel scans in 26.10.1 (ArcadeDB #8723, #8724, #8725), and run analytical reads outside a transaction #32
Closed
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.

bindings docs: ordered reads need MANDATORY with NOTNULL (ArcadeDB #8701), and Cypher reads the index in order only ascending (ArcadeDB #8724)

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.