korlov42 commented on a change in pull request #9410:
URL: https://github.com/apache/ignite/pull/9410#discussion_r710197000



##########
File path: 
modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/logical/SqlScriptRunner.java
##########
@@ -76,11 +81,29 @@
     /** Script. */
     private Script script;
 
+    /** nl to bytes representation. */
+    private static final byte[] NL_BYTES = "\n".getBytes();
+
+    /** Eqivalent results store. */
+    private Map<String, Collection<String>> eqResStorage = new HashMap<>();
+
+    /** Hash algo. */
+    MessageDigest messageDigest;
+
     /** */
     public SqlScriptRunner(Path test, QueryEngine engine, IgniteLogger log) {
         this.test = test;
         this.engine = engine;
         this.log = log;
+
+        try {
+            messageDigest = MessageDigest.getInstance("MD5");
+        }
+        catch (NoSuchAlgorithmException e) {
+            e.printStackTrace();

Review comment:
       stack trace will be available in re-threw exception




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