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

Comparison of strings works wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0-beta1
    • 3.0
    • sql
    • Docs Required, Release Notes Required

    Description

      Query: "select '12345 ' > '12345' as result;"
      Expected:
      (true)
      Actual:
      (false)
      
      Query: "select 'a' < 'a ' as result;"
      Expected:
      (true)
      Actual:
      (false)
      
      Query: "select 'a' >= 'a ' as result;"
      Expected:
      (false)
      Actual:
      (true)
      
      Query: "select '12345 ' <= '12345' as result;"
      Expected:
      (false)
      Actual:
      (true) 

      Attachments

        Issue Links

          Activity

            People

              korlov Konstantin Orlov
              lunigorn Igor
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1h
                  1h