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

"select * from table where intColumn < int3 and intColumn in (int1, int2)" always returns empty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 10.3.1.4
    • 10.3.2.1
    • SQL
    • None
    • OS: windows
      DB: 10.3.1.4 - (561794)
      JDBC Driver: Apache Derby Embedded JDBC Driver
    • Normal
    • Wrong query result

    Description

      There is a "CUSTOMERS" table with an INTEGER type column "CUSTOMERNUMBER".

      Access db through Apache Derby Embedded JDBC Driver,

      "select CUSTOMERNUMBER from CUSTOMERS where CUSTOMERNUMBER in (103, 112)" returns 103 and 112 two rows.
      However "select CUSTOMERNUMBER from CUSTOMERS where CUSTOMERNUMBER < 121 and CUSTOMERNUMBER in (103, 112)" returns empty

      Attachments

        1. BirtSample.zip
          542 kB
          Wenjie Tu

        Issue Links

          Activity

            People

              Unassigned Unassigned
              night.roger@gmail.com Wenjie Tu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: