mihaibudiu commented on code in PR #4968:
URL: https://github.com/apache/calcite/pull/4968#discussion_r3299953532
##########
core/src/main/java/org/apache/calcite/tools/Programs.java:
##########
@@ -190,6 +193,41 @@ public static Program of(final HepProgram hepProgram,
final boolean noDag,
return hepPlanner.findBestExp();
};
}
+ /** Creates a program that executes a {@link HepProgram}.
+ *
+ * <p>If {@code listener} is not null, it is
+ * {@linkplain HepPlanner#addListener(RelOptListener) attached}
+ * to the planner before execution. */
+ @SuppressWarnings("deprecation")
Review Comment:
Can't this be done without calling deprecated functions?
--
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]