shreya024 commented on issue #16100: URL: https://github.com/apache/shardingsphere/issues/16100#issuecomment-1072910054
> > > Welcome @shreya024, glad see you again. > > > > > > Thank you,I am working on the issue.Kindly guide me how to access/modify the result located inside toString method from test class. > > @shreya024 Of course, You could create a ShardingInsertValuesToken instance first, and then add some insertValues by `getInsertValues().add(insertValueToken)` method. > > After complete these tasks, you can test `toString` method. It should be noted that this method needs to pass in a RouteUnit, which is result returned by ShardingSphere routing engine, which records the relationship between logical data source and real data source, as well as logical table and real table. Thank you.Yes,I have done these but I'm getting a java.lang.StringIndexOutOfBoundsException: start -2, end 0, length 0 probably because StringBuilder result is always empty. -- 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]
