Re:Support scenarios where multiple database table structures are different??

2019-09-26 Thread Juan Pan
Hi, Sorry i can not get the point for your question. You can go through the documents on Sharding[1] to learn more. [1] https://shardingsphere.apache.org/document/current/en/features/ Juan Pan panj...@apache.org Juan Pan(Trista), Apache ShardingSphere On 09/27/2019 11:24?? wrote??

Support scenarios where multiple database table structures are different??

2019-09-26 Thread ????
hello,Ask the following questions:My two database tables have completely different structures,Can you use it for this scenario?If not??Can I do that by rewriting something? I want to write different data sources using different logic??3Q very much

Re:回复:config rules to exclude some unnecessary code for unit codecoverage?

2019-09-26 Thread Sion Yang
Hi, sluk3r. For single method such as set/get method, we use Lombok to generate. These code can miss unit test. But other methods should be full covered, if no particular reasons. For the method you print out. I think it should have a unit test, even use Mockito backendDataSource. In

??????config rules to exclude some unnecessary code for unit codecoverage?

2019-09-26 Thread ??????
Hi, Sion Yang: the method's whole implementation is: public Map getDataSources() { return backendDataSource.getDataSourceParameters(); } there is just a single return statement, intuitively, I think there is little necessary to unit test this method. Or this type of problem has been

Re:config rules to exclude some unnecessary code for unit code coverage?

2019-09-26 Thread Sion Yang
Hi, sluk3r. How to judge these codes are unnecessary or little necessary? -- Yi Yang(Sion) Apache ShardingSphere At 2019-09-27 05:40:16, "王喜春" wrote: Hi, for example, the code shown in the following pic, method of getDataSources return "backendDataSource.getDataSourceParameters()"

config rules to exclude some unnecessary code for unit code coverage?

2019-09-26 Thread ??????
Hi, for example, the code shown in the following pic, method of getDataSources return "backendDataSource.getDataSourceParameters()" directly. the full url is :

Gitbox/github notifications are not threaded

2019-09-26 Thread Craig Russell
Hi Infra, Every message from gitbox to notifications@shardingsphere is sent individually and clogs my in-box. I'm wondering if there is some configuration that we can use to automatically thread messages. In this case, how can we change the github/gitbox notifications to Subject: issue

[Discuss] Describe tech stack in document for each module of ShardingSphere

2019-09-26 Thread zhangli...@apache.org
Hi ShardingSphere Community, In order to let more contributors know which modules of ShardingSphere do they interest quickly, I plan to add a documentation to describe tech stack for each module. The draft of tech stack for ShardingSphere are: 1. SQL parser. Technical scope: AST(ANTLR), SQL 2.