Repository navigation
docs: say how Result.to_json() writes dates and times on each build - #545
Merged
Merged
Conversation
… 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
1 of 3 tasks
This was referenced Nov 30, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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 whatarcadedb-jvmandarcadedbwrite today for aDATE, aDATETIME, and aDATETIME_MICROS, in a SQL record row, a SQL projection, and an openCypherRETURN. 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_batchesback under its own list item. #469 had put theto_json()item between the two.Related issues
Refs #453
Docs
docs/modules/ROOT/pages/how-to/databases-and-queries.adoconly. Theto_json()docstring ofarcadedb-jvmis in the code and stays as it is.How I checked it: the values come from CI wheels built from
mainat0d4b99e6a2(arcadedb-jvmon engine 26.12.1-SNAPSHOT,arcadedbon 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
uvx pre-commit run --files <changed files>passes