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 2022/06/29 12:00:16 UTC

[GitHub] [shardingsphere] natehuangting opened a new issue, #18705: Add hint disableAuditNames

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

   ## Feature Request
   
   ### Describe the feature you would like.
   
   The shardingsphere proxy already supports the auditing function, but in some cases the auditing function needs to be turned off. For example, the auditing function is to prohibit queries without sharding keys, but the business needs to perform batch operation. I am going to add the disableAuditNames hint by adding the hint in the SQL Auditing can be avoided. If the proxy wants to allow users to use the hint, the variable allowHintDisable needs to be set to true in the audit policy.
   
   The specific hint usage is as follows.
   ```sql
   /* ShardingSphere hint: disableAuditNames=auditname1, auditname2 */ SELECT * FROM t_order;
   ```


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

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


[GitHub] [shardingsphere] strongduanmu closed issue #18705: Add hint disableAuditNames

Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #18705: Add hint disableAuditNames
URL: https://github.com/apache/shardingsphere/issues/18705


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