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

Invalid SQL syntax for NULLS LAST / NULLS FIRST in IgniteQueryGenerator

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.8
    • Fix Version/s: None
    • Component/s: spring
    • Labels:
      None

      Description

      Ignite Spring Data's IgniteQueryGenerator (in all spring-data / spring-data-2.0 / spring-data-2.2 modules) generate invalid SQL when null handling other than native is used.

      Currently generated query - invalid:

      SELECT ... ORDER BY ... NULL FIRST ...

      SELECT ... ORDER BY ... NULL LAST ...

      Expected - valid:

      SELECT ... ORDER BY ... NULL*S* FIRST ...

      SELECT ... ORDER BY ... NULL*S* LAST ...

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Kostyuckovich Mikhail Kostyuckovich
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m