codefairy08 opened a new issue #2134: MySQL sharding encrypt test
URL: https://github.com/apache/incubator-shardingsphere/issues/2134
 
 
   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:  
   1 add encrypt rule for test, take column 'status' of table 't_order' as 
encrypt column
   2 parse DML statement fill EncryptColumnToken and encrypt Conditions into 
DMLStatement
   3 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
   4 add EncryptColumnTokenAssert check EncryptColumnToken in DMLStatement 
   5 add check for encrypt Conditions
     
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to