You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2020/10/08 11:00:52 UTC
[GitHub] [calcite] vlsi opened a new pull request #2202: [CALCITE-4320] Remove dead code from JdbcRules (JOIN_FACTORY, AGGREGATE_FACTORY, SET_OP_FACTORY, ...)
vlsi opened a new pull request #2202:
URL: https://github.com/apache/calcite/pull/2202
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [calcite] julianhyde commented on a change in pull request #2202: [CALCITE-4320] Deprecate JdbcRules.JDBC_BUILDER
Posted by GitBox <gi...@apache.org>.
julianhyde commented on a change in pull request #2202:
URL: https://github.com/apache/calcite/pull/2202#discussion_r506052011
##########
File path: core/src/main/java/org/apache/calcite/adapter/jdbc/JdbcRules.java
##########
@@ -196,7 +196,10 @@ private JdbcRules() {
};
/** A {@link RelBuilderFactory} that creates a {@link RelBuilder} that will
- * create JDBC relational expressions for everything. */
+ * create JDBC relational expressions for everything.
+ * @deprecated very few factories are implemented, so refrain from using them
+ **/
+ @Deprecated
Review comment:
Please use '*/' rather than '**/'.
Make it clear that we have no plans to remove this builder. Just that if you use it, you should expect to have to fix some bugs and write some tests. (The factories are private, so the comment should be about the builder, not the factories.)
The ideal is that someone uses this, fixes some bugs and gets it to production quality. Let's write the comment to facilitate that.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [calcite] vlsi closed pull request #2202: [CALCITE-4320] Deprecate JdbcRules.JDBC_BUILDER
Posted by GitBox <gi...@apache.org>.
vlsi closed pull request #2202:
URL: https://github.com/apache/calcite/pull/2202
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org