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
This issue is for sharding encrypt parsing test. when using encryption for sharding,
it needs SQL parser doing something for encryption, SQL parser need genereate EncryptColumnToken and encrypt Conditions.
the test just check both of them which are expected.
The following is the specific design:
add encrypt rule for test, take column 'status' of table 't_order' as encrypt column
parse DML statement fill EncryptColumnToken and encrypt Conditions into DMLStatement
add ExpectedEncryptColumnToken hold expect value in files ex: delete.xml,update.xml, EncryptColumnToken startIndex and stopIndex are different between placeholder and literal, so there are two couple fields one for placeholder, the other for placeholder
add EncryptColumnTokenAssert check EncryptColumnToken in DMLStatement
add check for encrypt Conditions
The text was updated successfully, but these errors were encountered:
This issue is for sharding encrypt parsing test. when using encryption for sharding,
it needs SQL parser doing something for encryption, SQL parser need genereate EncryptColumnToken and encrypt Conditions.
the test just check both of them which are expected.
The following is the specific design:
The text was updated successfully, but these errors were encountered: