Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13765

Incorrect work of predicates (< and >) in where clause with compound primary key.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.9, 2.8.1
    • 2.10, 2.9.1
    • sql
    • None
    • Docs Required, Release Notes Required

    Description

      The combination of these two conditions always gives an empty selection, but the result must not be empty.

      • Compound primary key (2 or more columns)
      • In select query in where clause use condition on every pk-column only once and one of this conditions should be < or > 

      The reproducer is attached.

       

      Attachments

        1. CompoundPkPredicateTest.java
          2 kB
          Ilya Kazakov

        Issue Links

          Activity

            People

              korlov Konstantin Orlov
              kazakov Ilya Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              4 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