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/01/11 03:51:19 UTC

[GitHub] [shardingsphere] tristaZero commented on issue #8936: Support "show replica_query rule"

tristaZero commented on issue #8936:
URL: https://github.com/apache/shardingsphere/issues/8936#issuecomment-757610516


   ```yaml
   -rules:
   - !REPLICA_QUERY
     dataSources:
       pr_ds:
         name: pr_ds
         primaryDataSourceName: primary_ds
         replicaDataSourceNames:
           - replica_ds_0
           - replica_ds_1
   
   ```
   **Convert to **
   ```sql
   name                         pr_ds
   primaryDataSourceName        primary_ds
   replicaDataSourceNames       replica_ds_0  replica_ds_1
   ```


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