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 2019/10/11 10:15:32 UTC
[GitHub] [incubator-shardingsphere] terrymanu opened a new issue #3230:
Adjust INSERT VALUES's encrypt derived columns sequence same as
INSERT/UPDATE SET
terrymanu opened a new issue #3230: Adjust INSERT VALUES's encrypt derived columns sequence same as INSERT/UPDATE SET
URL: https://github.com/apache/incubator-shardingsphere/issues/3230
If the original SQL is:
```sql
INSERT INTO xxx (logic_encrypt_column1, regular_column, logic_encrypt_column2) VALUES (?, ?, ?)
```
After rewrite, the SQL is:
```sql
INSERT INTO xxx (cipher_column1, regular_column, cipher_column2, assist_query_column1, plain_column1, assist_query_column2, , plain_column2) VALUES (?, ?, ?, ?, ?, ?, ?)
```
We should keep consist with `INSERT/UPDATE SET`. After rewrite, the SQL should be:
```sql
INSERT INTO xxx (cipher_column1, assist_query_column1, plain_column1, regular_column, cipher_column2, assist_query_column2, plain_column2) VALUES (?, ?, ?, ?, ?, ?, ?)
```
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services