Cpaulyz opened a new pull request, #7289: URL: https://github.com/apache/iotdb/pull/7289
## Description Fix the bug related to duplicate paths in `PathPatternTree` 1. When `appendPathPattern`, `PathPatternTree` should judge the inclusion relationship between new path and existed paths. The included path should not be stored. The added Pattern may not be a fullPath, so `PathPatternTree` used `matchFullPath()` incorrectly. This pr implements an algorithm to judge the partialPath inclusion relationship to replace `matchFullPath()`. 3. When `getAllDevicePatterns`, `PathPatternTree` should de-duplicate the result set. -- 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]
