feat(parity): bind TJSONB temporal JSONB type#201
Open
estebanzimanyi wants to merge 1 commit into
Open
Conversation
estebanzimanyi
force-pushed
the
feat/parity-tjsonb
branch
from
June 12, 2026 09:17
55412f5 to
685f7b1
Compare
estebanzimanyi
force-pushed
the
feat/parity-pin-11c
branch
from
June 12, 2026 09:19
c593381 to
2ee105a
Compare
estebanzimanyi
force-pushed
the
feat/parity-tjsonb
branch
from
June 12, 2026 09:20
e6d4632 to
685f7b1
Compare
estebanzimanyi
force-pushed
the
feat/parity-pin-11c
branch
from
June 12, 2026 09:49
2ee105a to
762fd7c
Compare
estebanzimanyi
force-pushed
the
feat/parity-tjsonb
branch
7 times, most recently
from
June 12, 2026 12:42
9f7c151 to
9f04ddc
Compare
Adds the TJSONB type backed by MEOS's tjsonb family. The type is stored as a BLOB alias. Constructors accept a JSON string, a (JSON, timestamptz) pair, or a (JSON, tstzspan) pair. The sequence constructor takes a LIST(TJSONB). Value accessors startValue/endValue/valueAtTimestamp return VARCHAR. Generic temporal operations (timeSpan, tempSubtype, interp, memSize, merge, setInterp, tjsonbInst) are wired via the shared TemporalFunctions helpers. Round-trip I/O covers tjsonbFromHexWKB / tjsonbFromHexEWKB / tjsonbFromBinary / tjsonbFromMFJSON and asHexWKB / asHexEWKB output. A shared TemporalToBlob / BlobToTemporal utility in src/temporal/temporal_blob consolidates the blob round-trip idiom used across all type bindings. Smoke tests cover instant round-trip, two-argument construction, start/end value, step sequence, tempSubtype, and HexWKB round-trip.
estebanzimanyi
force-pushed
the
feat/parity-tjsonb
branch
from
June 12, 2026 13:07
9f04ddc to
2a1ddcb
Compare
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.
Adds TJSONB as a temporal JSONB type backed by the MEOS tjsonb family. The type is stored as a BLOB alias. Constructors accept a JSON string, a (JSON, timestamptz) pair, or a (JSON, tstzspan) pair. The sequence constructor takes a LIST(TJSONB). Value accessors startValue/endValue/valueAtTimestamp return VARCHAR. Generic temporal operations (timeSpan, tempSubtype, interp, memSize, merge, setInterp, tjsonbInst) are wired via the shared TemporalFunctions helpers. Round-trip I/O covers tjsonbFromHexWKB/tjsonbFromHexEWKB/tjsonbFromBinary/tjsonbFromMFJSON and asHexWKB/asHexEWKB output. A shared TemporalToBlob/BlobToTemporal utility in src/temporal/temporal_blob consolidates the blob round-trip idiom used across all type bindings. Smoke tests cover instant round-trip, two-argument construction, start/end value, step sequence, tempSubtype, and HexWKB round-trip.