[GitHub] [incubator-shardingsphere] devefx commented on issue #3977: The sharding-JDBC non-sharding policy, NoneShardingStrategy, does not work in yml

2020-01-15 Thread GitBox
devefx commented on issue #3977: The sharding-JDBC non-sharding policy, 
NoneShardingStrategy, does not work in yml
URL: 
https://github.com/apache/incubator-shardingsphere/issues/3977#issuecomment-574639640
 
 
   This my configuration
   
   ```yml
 shardingsphere:
   datasource:
 names: default, marketdata
 default:
   
 marketdata:
   xxx
   props:
 sql:
   show: true
   sharding:
 default-data-source-name: default
 default-database-strategy:
   standard:
 sharding-column: uid
 precise-algorithm-class-name: 
my.shardingsphere.strategy.DatabasePreciseShardingAlgorithm
 default-table-strategy:
   standard:
 sharding-column: uid
 precise-algorithm-class-name: 
my.shardingsphere.strategy.TablePreciseShardingAlgorithm
 tables:
   price_index:
 actual-data-nodes: marketdata.price_index
 database-strategy:
   none: {}
 table-strategy:
   none: {}
   
   ```


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-shardingsphere] devefx commented on issue #3977: The sharding-JDBC non-sharding policy, NoneShardingStrategy, does not work in yml

2020-01-15 Thread GitBox
devefx commented on issue #3977: The sharding-JDBC non-sharding policy, 
NoneShardingStrategy, does not work in yml
URL: 
https://github.com/apache/incubator-shardingsphere/issues/3977#issuecomment-574638367
 
 
   
![image](https://user-images.githubusercontent.com/15070360/72433886-4b5a6b00-37d5-11ea-809f-d2b055a70875.png)
   
   ```java
   package org.apache.shardingsphere.core.yaml.config.sharding.strategy;
   
   import lombok.Data;
   
   @Data
   public final class YamlNoneShardingStrategyConfiguration implements 
YamlBaseShardingStrategyConfiguration {
   
   private boolean enabled;
   }
   ```
   This is me override
   
   
   


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-shardingsphere] devefx commented on issue #3977: The sharding-JDBC non-sharding policy, NoneShardingStrategy, does not work in yml

2020-01-15 Thread GitBox
devefx commented on issue #3977: The sharding-JDBC non-sharding policy, 
NoneShardingStrategy, does not work in yml
URL: 
https://github.com/apache/incubator-shardingsphere/issues/3977#issuecomment-574636807
 
 
   
![image](https://user-images.githubusercontent.com/15070360/72433673-d71fc780-37d4-11ea-8ded-29d2b987ea71.png)
   


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-shardingsphere] devefx commented on issue #3977: The sharding-JDBC non-sharding policy, NoneShardingStrategy, does not work in yml

2020-01-15 Thread GitBox
devefx commented on issue #3977: The sharding-JDBC non-sharding policy, 
NoneShardingStrategy, does not work in yml
URL: 
https://github.com/apache/incubator-shardingsphere/issues/3977#issuecomment-574633976
 
 
   > @devefx Can you try to use?
   > 
   > ```yaml
   > my_table:
   >   database-strategy:
   > none: {}
   > ```
   
   Still not working, a field must be included


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:
us...@infra.apache.org


With regards,
Apache Git Services