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/07/18 15:52:12 UTC

[GitHub] [shardingsphere] zjcnb opened a new issue, #19333: Add new DistSQL RAL syntax `SHOW SQL_TRANSLATOR RULE`

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

   ### Configuration
   
   ` server.yaml`
   
   ```
   mode:
     type: Cluster
     repository:
       type: ZooKeeper
       props:
         namespace: governance_ds
         server-lists: localhost:2181
         retryIntervalMilliseconds: 500
         timeToLiveSeconds: 60
         maxRetries: 3
         operationTimeoutMilliseconds: 500
     overwrite: false
   
   rules:
     - !AUTHORITY
       users:
         - root@%:root
         - sharding@:sharding
       provider:
         type: ALL_PERMITTED
   #  - !TRANSACTION
   #    defaultType: XA
   #    providerType: Atomikos
     - !SQL_PARSER
       sqlCommentParseEnabled: true
       sqlStatementCache:
         initialCapacity: 2000
         maximumSize: 65535
       parseTreeCache:
         initialCapacity: 128
         maximumSize: 1024
     - !SQL_TRANSLATOR
       type: MySQL
       useOriginalSQLWhenTranslatingFailed: true
   ```
   
   ### Expected behavior
   
   `SHOW SQL_TRANSLATOR RULE` success.
   
   ### Actual behavior
   
   mysql> SHOW SQL_TRANSLATOR RULE;
   ERROR 1235 (42000): This version of ShardingSphere-Proxy doesn't yet support this SQL. 'You have an error in your SQL syntax'


-- 
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] terrymanu closed issue #19333: Add new DistSQL RAL syntax `SHOW SQL_TRANSLATOR RULE`

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #19333: Add new DistSQL RAL syntax `SHOW SQL_TRANSLATOR RULE`
URL: https://github.com/apache/shardingsphere/issues/19333


-- 
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] yx9o commented on issue #19333: Add new DistSQL RAL syntax `SHOW SQL_TRANSLATOR RULE`

Posted by GitBox <gi...@apache.org>.
yx9o commented on issue #19333:
URL: https://github.com/apache/shardingsphere/issues/19333#issuecomment-1188415013

   Let me try.


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