gianm commented on issue #9607: Remove no-op assert statement in ClientQuerySegmentWalker URL: https://github.com/apache/druid/pull/9607#issuecomment-611819915 This is kind of a weird flag. The whole point of asserts is that they are supposed to always be true. They are like comments which automatically enforce themselves. I don't see why we should remove one just because LGTM can prove that it's always true. I'd vote to either suppress the check for this particular instance, or at least replace the assert with a comment like: ``` // At this point we know "current" is not a QueryDataSource. ```
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
