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: the queries guide's 26.10.1 paragraphs on Cypher aggregates, SELECT DISTINCT, and aliased ORDER BY are out of date (fixed upstream for 26.10.1) · Issue #50 · humemai/arcadedb-embedded-python

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

bindings docs: the queries guide's 26.10.1 paragraphs on Cypher aggregates, SELECT DISTINCT, and aliased ORDER BY are out of date (fixed upstream for 26.10.1) #50

Copy link
Copy link
Closed
#51
Closed
bindings docs: the queries guide's 26.10.1 paragraphs on Cypher aggregates, SELECT DISTINCT, and aliased ORDER BY are out of date (fixed upstream for 26.10.1)#50
#51
Copy link

Description

@tae898
tae898
opened on Oct 1, 2026
Issue body actions

Upstream fixed three behaviors for 26.10.1 that the queries guide still describes as limits, each verified on its merge with its repro on Temurin 25 and 21:

  • openCypher: an aggregate over a label runs on one core, 4-8x behind the same SQL aggregate since #8524 (sum over 2M vertices: 680 ms against 127 ms) ArcadeData/arcadedb#8797 (PR perf: parallel DISTINCT, Cypher parallel aggregation, TRAVERSE depth check (#8799 #8797 #8795) ArcadeData/arcadedb#8824, merged 4be91b5): openCypher count, sum, avg, min, and max over a label now run on all cores; DISTINCT aggregates, collect(), and aggregates over function calls still run on one thread. The guide says to write whole-type aggregates in SQL.
  • SQL SELECT DISTINCT projects and dedups on the consumer thread: 13x slower than GROUP BY over the same column (1,185 ms against 92 ms at 2M records) ArcadeData/arcadedb#8799 (same PR): a plain SELECT DISTINCT field FROM Type over at least 10,000 records now runs like the GROUP BY; not with LIMIT, ORDER BY, computed expressions, *, or inside a transaction. The guide says GROUP BY, not SELECT DISTINCT; example 05's docstring says DISTINCT runs on one thread in 26.10.1.
  • SQL ORDER BY ... LIMIT stops reading the index in order when the sort property is aliased or not projected: SELECT b FROM V ORDER BY a LIMIT 5 scans 1M records (758 ms) where SELECT a ... takes 0.9 ms ArcadeData/arcadedb#8811 (PR fix: #8806 unique prefix lookup, #8811 ORDER BY index via aliases, #8802 top-K ArcadeData/arcadedb#8821, merged 45004cd): ORDER BY ... LIMIT is served from the index also when the sort property is aliased or not projected. The guide says it is not.

Rewrite the three paragraphs to describe 26.10.1 as released, with the measured numbers and the remaining limits from upstream's notes, and fix example 05's docstring. The ranged min()/max() paragraph (ArcadeData#8812, still open) stays.

Activity

  1. tae898
    added a commit that references this issue on Oct 1, 2026

    bindings docs: queries guide describes 26.10.1 as fixed, Cypher aggre…

    1035dce
  2. tae898
    closed this as completedin #51on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      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.