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/07 16:13:00 UTC
[jira] [Created] (CALCITE-1929) Deprecate class
RelDataTypeFactory.FieldInfoBuilder
Julian Hyde created CALCITE-1929:
------------------------------------
Summary: 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
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)