Visitar URL original
Guides: graph analytics (views and algo.*) and time series, in SQL and openCypher by tae898 · Pull Request #389 · humemai/arcadedb-embedded-python · GitHub
Skip to content

Guides: graph analytics (views and algo.*) and time series, in SQL and openCypher - #389

Merged
tae898 merged 1 commit into
mainfrom
guides-388
Oct 21, 2026
Merged

tae898 merged 1 commit into
mainfrom
guides-388

Conversation

@tae898

@tae898 tae898 commented Oct 21, 2026

Copy link
Copy Markdown

Closes #388.

Two engine areas that the bindings reach only through queries (DSL-first, docs/api-access-methods.md) now have guides, each example a db.query/db.command call checked by a test that sends the exact statement printed in the page.

  • docs/guide/graph-analytics.md: algo.* procedures without a view (PageRank with options, WCC and SCC, BFS, Dijkstra, degree and triangle count, Louvain, betweenness), Graph Analytical Views (CREATE, update modes, state polling, ALTER/REBUILD/DROP, IF NOT EXISTS), what a view serves and its caveats.
  • docs/guide/timeseries.md: CREATE TIMESERIES TYPE with shards, retention, compaction interval and a downsampling policy, three insert forms, the async append_samples path and COMPACT, ts.timeBucket (with a time zone), ts.first/last/delta/rate/percentile/movingAvg, to_arrow, continuous aggregates.
  • What the pages do not claim, because it was not verified: that a view serves a given count (the plan is the same with and without one), that retention and downsampling remove or roll up old samples (only the stored policy is checked), CCH shortest paths, and several ts.* functions beyond their syntax.
  • mkdocs.yml nav, a pointer from graphs.md, rows in bindings/python/AGENTS.md, java-api-coverage.md and testing.md.
  • Tests: test_guide_graph_analytics.py (13) and test_guide_timeseries.py (14); no skips.

Checked locally against the 26.10.2 engine: the 27 new tests, test_docs_examples.py and test_check_test_skips.py, bandit (low/low), pre-commit, the strict docs build.

🤖 Generated with Claude Code

Two DSL-first guides with runnable db.query/db.command examples, each
statement checked to appear in its page and asserted by a test on the
26.10.2 engine. Adds the mkdocs nav entries, the java-api-coverage rows,
the testing.md rows and the AGENTS.md rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tae898
tae898 merged commit aaa06ba into main Oct 21, 2026
42 of 44 checks passed
@tae898
tae898 deleted the guides-388 branch October 21, 2026 07:24
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.

Guides: graph analytics (views and algo.*) and time series, in SQL and openCypher

1 participant