fanzhiyi0601 commented on issue #29026:
URL: 
https://github.com/apache/shardingsphere/issues/29026#issuecomment-1813897345

   > Can you format your yaml config with markdown? It's hard to read now.
   
   ```
   dataSources:
     ds0:
       dataSourceClassName: com.alibaba.druid.pool.DruidDataSource
       url: jdbc:oracle:thin:
       username: 
       password: 
       driverClassName: oracle.jdbc.OracleDriver
       platform: oracle
   rules:
     - !SHARDING
       tables:
         CC_ASSET:
           actualDataNodes: ds0.CC_ASSET_$->{2020..2023}
           tableStrategy:
             standard:
               shardingColumn: section
               shardingAlgorithmName: table-algorithm
   
       shardingAlgorithms:
         table-algorithm:
           type: CLASS_BASED
           props:
             strategy: STANDARD
             algorithmClassName: ShardingStandardAlgorithm
   
     - !BROADCAST
       tables:
         - CC_CONTENT
     - !SINGLE
       tables:
         - TEST
   props:
     sql-show: true
   ```


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