terrymanu commented on issue #9510: URL: https://github.com/apache/shardingsphere/issues/9510#issuecomment-817323421
We need to consider about how to remove duplicate token with same `start index`. How about replace the token if there are same `start index`? The TableTokenGenerator is generic SQLTokenGenerator, the EncrtyptXXXTokenGenerator is specific one. It is make sense for the replace generic SQLTokenGenerator to specific one. We just need to make sure the generic one always load before specific one, and let the specific SQLTokenGenerator replace previous token if same start index when adding new SQL Token. -- 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]
