Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3277

CREATE TABLE Test (n BIGINT);SELECT CASE WHEN n > -1 THEN n END FROM Test; FAILS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 10.2.2.0
    • 10.3.2.1
    • SQL
    • None

    Description

      ij> CREATE TABLE Test (n BIGINT);
      0 rows inserted/updated/deleted
      ij> SELECT CASE WHEN n > -1 THEN n END FROM Test;
      ERROR 42X89: Types 'BIGINT' and 'CHAR' are not type compatible. Neither type is assignable to the other type.
      ij>

      fixed in 10.3.2.1, so this is just posted FYI

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              northshorefiend James Alan Shepherd
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: