sandynz opened a new issue, #20007:
URL: https://github.com/apache/shardingsphere/issues/20007

   Part of #19421.
   
   Currently, InventoryTaskSplitter is an dividual class that's used by 
RuleAlteredJobPreparer, but other code snippets are hard-coded in 
RuleAlteredJobPreparer. We'll try to extract some common methods from 
RuleAlteredJobPreparer into PipelineJobPreparerUtils and refactor it, then it 
could be used in different types of job preparer.
   
   Possible changes (need to investigate it, it's not required to do):
   - Add PipelineJobPreparerUtils class
   - Extract schema & table preparer into PipelineJobPreparerUtils
   - Extract position initialization and destroying into 
PipelineJobPreparerUtils
   - Refactor position destroying (in cleanup method currently), not only 
support ShardingSpherePipelineDataSourceConfiguration, but also support 
StandardPipelineDataSourceConfiguration
   - Other methods that could be reused
   


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