Skip to content

Conversation

tobyhede
Copy link
Contributor

@tobyhede tobyhede commented Jul 9, 2025

An encrypted JSONB value contains an array of nested encrypted values for each indexed field path.

Where an SteVec has a single element, it can be treated as an eql_v2_encrypted when compared in the various equality operators.

This adds a check to the core compare function that will "promote" the encrypted element of a single-element SteVec to an encrypted with meta data.

@tobyhede tobyhede force-pushed the ste-vec-item-as-encrypted branch from 84a83c6 to 7fdcf3c Compare July 9, 2025 05:12
@tobyhede tobyhede force-pushed the ste-vec-item-as-encrypted branch from 7fdcf3c to d595344 Compare July 9, 2025 05:21
@tobyhede tobyhede merged commit e04f366 into main Jul 21, 2025
4 checks passed
@tobyhede tobyhede deleted the ste-vec-item-as-encrypted branch July 21, 2025 01:33
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.

2 participants