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

   ## Bug Report
   
   
   ### Which version of ShardingSphere did you use?
   5.1.2-SNAPSHOT built from master
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingProxy
   
   ### Expected behavior
   SHOW SHARDING TABLE RULE xxx;
   Show all tables used sharding algorithm xxx
   
   ### Actual behavior
   Didn't show the tables used default database strategy
   If uncomment the databaseStrategy, it's ok.
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule 
configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   yaml:
   ```
   schemaName: yao
   dataSources:
     ds_0:
       xxx
     ds_1:
       xxx
   rules:
   - !SHARDING
     tables:
       test_table:
         actualDataNodes: ds_${0..19}.test_table
         # databaseStrategy:
         #   standard:
         #     shardingAlgorithmName: sharding_mod
         #     shardingColumn: id
         keyGenerateStrategy:
           column: id
           keyGeneratorName: snowflake
     defaultDatabaseStrategy:
       standard:
         shardingAlgorithmName: sharding_mod
         shardingColumn: id
   
     keyGenerators:
       snowflake:
         props:
           max-vibration-offset: 1
           worker-id: 0
         type: SNOWFLAKE
   
     shardingAlgorithms:
       sharding_mod:
         props:
           algorithm-expression: ds_${id % 2}
         type: INLINE
   ```


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