tuichenchuxin opened a new issue, #26063:
URL: https://github.com/apache/shardingsphere/issues/26063

   ## Bug Report
   
   ```sql
   select TEMP.* from (select user_id from T_ENCRYPT) TEMP
   ```
   when config T_ENCRYPT with encrypt rule.
   then sql will be
   ```sql
   select TEMP."user_id" from (select "user_cipher" as "user_id" from 
T_ENCRYPT) TEMP
   ```
   but ORACLE will translate user_id to USER_ID if not quoted by `""`
   So, we should keep origin quote as user's sql.
   If SQL has quoted, then quoted, else not.
   
   We expected sql will be 
   ```sql
   select TEMP.user_id from (select user_cipher as user_id from T_ENCRYPT) TEMP
   ```
   


-- 
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: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to