tristaZero opened a new issue #9152:
URL: https://github.com/apache/shardingsphere/issues/9152


   Hi, community,
   
   This is a little complex issue to add unit test for `SQL federation` when 
encrypt rule, replicaQuery rule and sharding rule all exist.
   
   ### Target files
   CalciteStatementTest and CalcitePrepareStatementTest
   
   ### How
   - Understand `encrypt rule`, `replicaQuery rule` and `sharding rule` (Rule 
examples in 
`shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/resources/config` or 
`examples/shardingsphere-jdbc-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF`)
   - Provide a mix rule configuration with `encrypt rule`, `replicaQuery rule` 
and `sharding rule` (A single table with an encrypted column, a sharding table 
with an encrypted column and a simple single table)
   - Add a test `join` SQL for a single table with an encrypted column and a 
simple single table in target files
   - Add a test `join` SQL for a sharding table with encrypted column and a 
simple single table in target files


----------------------------------------------------------------
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:
[email protected]


Reply via email to