JiajunBernoulli commented on code in PR #3442:
URL: https://github.com/apache/calcite/pull/3442#discussion_r1359264414
##########
server/src/main/java/org/apache/calcite/server/ServerDdlExecutor.java:
##########
@@ -154,6 +156,14 @@ static Pair<CalciteSchema, String>
schema(CalcitePrepare.Context context,
return Pair.of(schema, name);
}
+ /** Return the table from the given {@code} context and {@code} name. */
+ static Table table(CalcitePrepare.Context context, SqlIdentifier name) {
Review Comment:
Used only once.
It doesn't seem necessary to abstract it as a method.
--
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]