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

Create SqlTypeName values for each interval range, e.g. YEAR_MONTH

    Details

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

      Description

      Create SqlTypeName values for each interval range, e.g. YEAR_MONTH.

        Activity

        Hide
        jcamachorodriguez Jesus Camacho Rodriguez added a comment -

        Resolved in release 1.9.0 (2016-09-22)

        Show
        jcamachorodriguez Jesus Camacho Rodriguez added a comment - Resolved in release 1.9.0 (2016-09-22)
        Hide
        julianhyde Julian Hyde added a comment -

        Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/ac9c8c7a.

        The effect of this change is that we don't need to use SqlIntervalQualifier as often (which is good, because SqlIntervalQualifier is a weird hybrid class that is also an AST node i.e. extends SqlNode).

        Also, the JDBC client gets more information from the type. It sees not "interval_year_month" but "interval_year" or "interval_year_month" or "interval_month".

        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/ac9c8c7a . The effect of this change is that we don't need to use SqlIntervalQualifier as often (which is good, because SqlIntervalQualifier is a weird hybrid class that is also an AST node i.e. extends SqlNode). Also, the JDBC client gets more information from the type. It sees not "interval_year_month" but "interval_year" or "interval_year_month" or "interval_month".

          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:

              Development