You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/09/03 07:15:52 UTC

[GitHub] [shardingsphere] sandynz opened a new pull request #12192: Fix create encrypt rule PROPERTIES doc

sandynz opened a new pull request #12192:
URL: https://github.com/apache/shardingsphere/pull/12192


   
   Changes proposed in this pull request:
   - Update create encrypt rule PROPERTIES doc
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] menghaoranss merged pull request #12192: Fix create encrypt rule PROPERTIES doc

Posted by GitBox <gi...@apache.org>.
menghaoranss merged pull request #12192:
URL: https://github.com/apache/shardingsphere/pull/12192


   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] sandynz commented on pull request #12192: Fix create encrypt rule PROPERTIES doc

Posted by GitBox <gi...@apache.org>.
sandynz commented on pull request #12192:
URL: https://github.com/apache/shardingsphere/pull/12192#issuecomment-912316441


   Test result:
   ```
   shard1=> CREATE ENCRYPT RULE t_encrypt (
   COLUMNS(
   (NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'=123456abc))),
   (NAME=order_id,CIPHER=order_cipher,TYPE(NAME=MD5))
   ));
   
   ERROR:  You have an error in your SQL syntax
   ```
   
   From `RDLStatement.g4`
   ```
   algorithmProperty
       : key=(IDENTIFIER | STRING) EQ value=(NUMBER | INT | STRING)
       ;
   ```
   `value=(NUMBER | INT | STRING)`, `123456abc` does not match. Update it to `'123456abc'` solve it.
   
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org