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

Implement CAST between date-time types

    Details

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

      Description

      See test case in misc.oq. Throws the following:

      java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
      	at net.hydromatic.optiq.runtime.AbstractCursor$IntAccessor.getInt(AbstractCursor.java:452)
      	at net.hydromatic.optiq.runtime.AbstractCursor$DateFromIntAccessor.getString(AbstractCursor.java:720)
      	at net.hydromatic.avatica.AvaticaResultSet.getString(AvaticaResultSet.java:205)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: