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

Remove duplicated code from SqlTypeAssignmentRule

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.23.0
    • None

    Description

      for (SqlTypeName interval : SqlTypeName.DAY_INTERVAL_TYPES) {
       rules.add(interval, SqlTypeName.DAY_INTERVAL_TYPES);
      }
      for (SqlTypeName interval : SqlTypeName.DAY_INTERVAL_TYPES) {
       final Set<SqlTypeName> dayIntervalTypes = SqlTypeName.DAY_INTERVAL_TYPES;
       rules.add(interval, dayIntervalTypes);
      }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              winipanda TANG Wen-hui
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m