clintropolis commented on code in PR #16533:
URL: https://github.com/apache/druid/pull/16533#discussion_r1718036738
##########
processing/src/main/java/org/apache/druid/query/QueryContexts.java:
##########
@@ -154,10 +165,26 @@ public boolean shouldVectorize(final boolean canVectorize)
return true;
}
+
+ @Override
+ public boolean shouldVectorize(boolean canVectorize, Runnable cleanup)
+ {
+ if (!canVectorize) {
+ cleanup.run();
+ throw new ISE("Cannot vectorize!");
+ }
+
+ return true;
+ }
};
public abstract boolean shouldVectorize(boolean canVectorize);
+ public boolean shouldVectorize(boolean canVectorize, Runnable cleanup)
Review Comment:
removed this stuff
--
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]