totalo commented on issue #24292:
URL: 
https://github.com/apache/shardingsphere/issues/24292#issuecomment-1440066977

   hi @taetaetae. 
   
   > Hello.
   > 
   > I found out about shardingsphere by looking for shaded tables to call 
queries as a single query.
   > 
   > The concept of shadingsphere is understood by reference to official 
documents. I'd like to run an example to help you understand more.
   > 
   > 
https://github.com/apache/shardingsphere/tree/master/examples/shardingsphere-example-generator
   > 
   > When I ran 'ExampleGeneratorMain' above, a considerable amount of example 
code was generated under 
`./examples/shardingsphere-example-generator/target/generated-sources/`
   > 
   > Do you have a guide on what to do after this? Also, I wonder how the 
database should be configured in advance for normal example execution.
   
   As you can see,`. / examples/shardingsphere-example-the 
generator/target/generated sources/` generated a lot of sample code, each 
folders under this directory is a complete project, You can choose an example 
of the appropriate feature module.
   It's even better to combine the example module with the documentation on the 
official website. 
https://shardingsphere.apache.org/document/current/en/overview/
   
   One more thing, you can decide the module and type of the generated sample 
code by configuring the following file:
   
https://github.com/apache/shardingsphere/blob/master/examples/shardingsphere-example-generator/src/main/resources/config.yaml
   
   > 
   > It's hard to understand what needs to be done and what needs to be 
configured before it can be done by looking at README alone.
   > 
   > In addition, I am not sure how to initialize the database table. Is the 
script below the latest version?
   > 
   > 
https://github.com/apache/shardingsphere/blob/master/examples/src/resources/manual_schema.sql
   
   You can ignore this initialized sql.
   
   
   > 
   > If there is a link with related articles or example documents, please 
share it.
   > 
   > Please give me some advice.
   
   If you have any further questions, Please let me know.
   
   


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