Skip to content

Conversation

tobyhede
Copy link
Contributor

Changes:

Cast NULLencrypted values asNULL The previous behaviour would wrap theNULLvalue into the ROW/Composite type. This meant records would be created as empty tuples()` rather than NULL.

Additional handling of NULL in the comparison function to explicitly return.

@tobyhede tobyhede force-pushed the encrypted-columns-with-explicit-null-values branch from 8842dbc to e63cb56 Compare May 29, 2025 05:17
Copy link
Contributor

@freshtonic freshtonic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's good but I suspect returning 0 in the ORE compare for NULL is probably wrong - see comment.

@freshtonic freshtonic self-requested a review May 29, 2025 06:07
Copy link
Contributor

@freshtonic freshtonic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for clarifying, @tobyhede :)

@tobyhede tobyhede merged commit e9f3df1 into main May 29, 2025
0 of 4 checks passed
@tobyhede tobyhede deleted the encrypted-columns-with-explicit-null-values branch May 29, 2025 06:08
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