github-advanced-security[bot] commented on code in PR #19820:
URL: https://github.com/apache/druid/pull/19820#discussion_r3684693226


##########
processing/src/main/java/org/apache/druid/segment/incremental/SpatialDimensionRowTransformer.java:
##########
@@ -98,7 +98,9 @@
         )
     );
 
-    InputRow retVal = new InputRow()
+    // Rows are ordered by timestamp, while equality retains the wrapped row's 
identity semantics.
+    // codeql[java/inconsistent-compareto-and-equals]
+    final InputRow retVal = new InputRow()

Review Comment:
   ## CodeQL / Inconsistent compareTo
   
   This class declares [compareTo](1) but inherits equals; the two could be 
inconsistent.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/11432)



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to