Skip to content

docs: say how Result.to_json() writes dates and times on each build - #545

Merged
tae898 merged 1 commit into
mainfrom
docs/453-to-json-dates
Nov 30, 2026
Merged

tae898 merged 1 commit into
mainfrom
docs/453-to-json-dates

Conversation

@tae898

@tae898 tae898 commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

The how-to page said that the values Result.to_json() writes are the same on both builds. That is not true for some dates and times. This PR corrects the sentence and adds a table of what arcadedb-jvm and arcadedb write today for a DATE, a DATETIME, and a DATETIME_MICROS, in a SQL record row, a SQL projection, and an openCypher RETURN. It changes no code and no output, and it does not choose between the options in #453.

It also moves the timing paragraph about iter_json_batches back under its own list item. #469 had put the to_json() item between the two.

Related issues

Refs #453

Docs

docs/modules/ROOT/pages/how-to/databases-and-queries.adoc only. The to_json() docstring of arcadedb-jvm is in the code and stays as it is.

How I checked it: the values come from CI wheels built from main at 0d4b99e6a2 (arcadedb-jvm on engine 26.12.1-SNAPSHOT, arcadedb on engine 26.11.1). I built the docs with Antora 3.2.1 (no warnings) and compared every cell of the rendered table with the output of those two wheels by script.

Checklist

  • A regression test fails on the old code and passes on the new (not applicable, documentation only)
  • The test suite that the change can affect passes (no test reads this page)
  • uvx pre-commit run --files <changed files> passes

… two builds

The how-to said the values of Result.to_json() are the same on both builds. They are not for the DATE and the DATETIME of a SQL projection, or for a DATETIME_MICROS column of a SQL row. A table now states what each build writes, as measured on the CI wheels of main. No code and no output changes; which form to keep stays open in #453.

The timing paragraph of iter_json_batches is back under its own list item.

Refs #453
@tae898 tae898 added documentation Improvements or additions to documentation native The arcadedb package (native library build) jvm The arcadedb-jvm package (JPype build) labels Nov 30, 2026
@tae898 tae898 self-assigned this Nov 30, 2026
@tae898 tae898 added this to the 26.12.1 milestone Nov 30, 2026
@tae898
tae898 merged commit 03659aa into main Nov 30, 2026
6 checks passed
@tae898
tae898 deleted the docs/453-to-json-dates branch November 30, 2026 00:17
tae898 added a commit that referenced this pull request Nov 30, 2026
…ed error subclass; to_json() text per build (#549)

#543 and #544 are held for the 26.12.1 decision, so the pages state the
behaviour without them, each with a REMOVE WHEN comment. The which-package
table gains the to_json() row of #545/#546 and points to to_json_list().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation jvm The arcadedb-jvm package (JPype build) native The arcadedb package (native library build)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant