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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.18.0
    • geode-adapter
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: