cheukloy commented on issue #29044:
URL: 
https://github.com/apache/shardingsphere/issues/29044#issuecomment-1814108091

   sharding proxy release/5.4.1
   
   start failed like this
   
![image](https://github.com/apache/shardingsphere/assets/34846039/31eada96-8876-4177-b488-6939e4bea619)
   
   configuration
   ```java
   
   rules:
     - !SHARDING
       tables:
         res_space_addr:
           actualDataNodes: idsdb_resource.res_space_addr_FS
           tableStrategy:
             standard:
               shardingColumn: city_code
               shardingAlgorithmName: res_space_addr_inline
         res_space_link:
           actualDataNodes: idsdb_resource.res_space_link_FS
           tableStrategy:
             standard:
               shardingColumn: city_code
               shardingAlgorithmName: res_space_link_inline
       bindingTables:
         - RES_SPACE_ADDR,RES_SPACE_LINK
   
       shardingAlgorithms:
         res_space_addr_inline:
           type: INLINE
           props:
             algorithm-expression: res_space_addr_${city_code}
         res_space_link_inline:
           type: INLINE
           props:
             algorithm-expression: res_space_link_${city_code}
   ``` 
   
   but if the tableName ends with number is ok
   ```java
     - !SHARDING
       tables:
         res_space_addr:
           actualDataNodes: idsdb_resource.res_space_addr_1
           tableStrategy:
             standard:
               shardingColumn: city_code
               shardingAlgorithmName: res_space_addr_inline
         res_space_link:
           actualDataNodes: idsdb_resource.res_space_link_1
           tableStrategy:
             standard:
               shardingColumn: city_code
               shardingAlgorithmName: res_space_link_inline
       bindingTables:
         - RES_SPACE_ADDR,RES_SPACE_LINK
   
       shardingAlgorithms:
         res_space_addr_inline:
           type: INLINE
           props:
             algorithm-expression: res_space_addr_${city_code}
         res_space_link_inline:
           type: INLINE
           props:
             algorithm-expression: res_space_link_${city_code}
   ``` 


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