Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1929

Deprecate class RelDataTypeFactory.FieldInfoBuilder

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.14.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                julianhyde Julian Hyde
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: