You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check column_encryption_policy once per result message
Per review feedback, simplified the optimization to check the policy
existence only once per result message, not per column.
Changes:
- Check 'if column_encryption_policy:' once at function entry
- Within the encryption path, decode_val checks contains_column() without
redundant policy existence check
- Updated tests to reflect this optimization approach
- Updated comments and documentation
The key optimization is avoiding the repeated 'column_encryption_policy and ...'
check for every value (N×M times), checking policy existence just once instead.
Co-authored-by: mykaul <[email protected]>
0 commit comments