Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-22372

Rename LogicalTypeCasts class variables in the castTo method.

    XMLWordPrintableJSON

Details

    Description

      castTo parameter has a mistake name. It should be 'targetType'.

          // Old
          private static CastingRuleBuilder castTo(LogicalTypeRoot sourceType) {
              return new CastingRuleBuilder(sourceType);
          }
          // New
          private static CastingRuleBuilder castTo(LogicalTypeRoot targetType) {
              return new CastingRuleBuilder(targetType);
          }
      

      Attachments

        Issue Links

          Activity

            People

              ana4 Luning Wang
              ana4 Luning Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: