You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2017/08/09 23:18:00 UTC
[jira] [Commented] (CALCITE-1929) Deprecate class
RelDataTypeFactory.FieldInfoBuilder
[ https://issues.apache.org/jira/browse/CALCITE-1929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16120819#comment-16120819 ]
Julian Hyde commented on CALCITE-1929:
--------------------------------------
And a further fix in http://git-wip-us.apache.org/repos/asf/calcite/commit/c2d3885.
> Deprecate class RelDataTypeFactory.FieldInfoBuilder
> ---------------------------------------------------
>
> Key: CALCITE-1929
> URL: https://issues.apache.org/jira/browse/CALCITE-1929
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Julian Hyde
> Fix For: 1.14.0
>
>
> Since interface {{RelDataTypeFactory.FieldInfo}} is deprecated, and {{RelDataTypeFactory.FieldInfoBuilder}} implements it, we should also deprecate {{FieldInfoBuilder}}.
> We will create a new class {{RelDataTypeFactory.Builder}} that does the same as {{FieldInfoBuilder}} without implementing the {{FieldInfo}} interface.
> For backwards compatibility, {{RelDataTypeFactory.builder()}} will continue to return {{FieldInfoBuilder}} but we recommend that you assign the result to a variable of type {{Builder}}. Thus you won't be using the deprecated class in your code.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)