You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Julian Hyde <jh...@apache.org> on 2020/01/21 20:57:19 UTC
Deprecated calls
Under maven, the build used to fail if code called deprecated methods.
Yet apparently this does not happen under gradle: RelToSqlConverter[1]
has
final Project project2 =
LogicalProject.create(sort2, project.getProjects(),
project.getRowType());
and that particular LogicalProject.create method has been deprecated[2].
Am I mistaken? Can we please restore the old functionality? The build
should break.
Julian
[1] https://github.com/apache/calcite/blob/34e4a4ff9010b0a25c0a1546f012184a1a72e2e3/core/src/main/java/org/apache/calcite/rel/rel2sql/RelToSqlConverter.java#L628
[2] https://github.com/apache/calcite/blob/34e4a4ff9010b0a25c0a1546f012184a1a72e2e3/core/src/main/java/org/apache/calcite/rel/logical/LogicalProject.java#L133