Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2498

geode adapter wrongly quotes booleans as strings ('true' / 'false')

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.18.0
    • Component/s: geode-adapter
    • Labels:
      None

      Description

      Geode should keep booleans as is (without quoting them).

      // SQL (calcite). original query
      select * from geode where isActive = true
      
      // OQL (geode query) result
      select * from /region where isActive = 'true'
      

       
      Boolean literals are natively supported by geode and calcite should not convert them to SQL strings.
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                sereda Andrei Sereda
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: