Vladsz83 commented on code in PR #9923:
URL: https://github.com/apache/ignite/pull/9923#discussion_r842898828


##########
modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/jdbc/JdbcQueryTest.java:
##########
@@ -266,4 +333,38 @@ public void testQueryColumnTypes() throws Exception {
 
         stmt.close();
     }
+
+    /** Some object to store. */
+    private static class ObjectToStore implements Serializable {
+        /** */
+        private int id;
+
+        /** */
+        private String name;
+
+        /** */
+        private double val;
+
+        /** */
+        public ObjectToStore(int id, String name, double val) {
+            this.id = id;
+            this.name = name;
+            this.val = val;
+        }
+
+        /** */
+        @Override public boolean equals(Object o) {
+            if (this == o)
+                return true;
+            if (o == null || getClass() != o.getClass())
+                return false;
+            ObjectToStore store = (ObjectToStore)o;
+            return id == store.id && Double.compare(store.val, val) == 0 && 
Objects.equals(name, store.name);

Review Comment:
   Fixed



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

Reply via email to