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


   Hi, guys,
   
   Thanks for your attention, this issue to create unit test for 
`CalciteLogicSchemaFactory`.
   
   ### Steps
   - Create a `CalciteLogicSchemaFactoryTest` class
   - Create a `ShardingSphereDataSource` to get `Map<String, 
ShardingSphereMetaData>` from 
`MetaDataContexts`(`AbstractShardingSphereDataSourceForShardingTest` will give 
you some points, I guess)
   - Create `CalciteContextFactory` by Map<String, ShardingSphereMetaData> 
acquired by the last step to get `CalciteContext`
   - Assert `CalciteContext`
   
   ### Tips
   Since this issue is associated with #8883, where I guess you can get some 
useful hints. :)


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