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

Char types and Boolean types are comparable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Not A Bug
    • 1.37.0
    • 1.38.0
    • core
    • None

    Description

      In the SameOperandTypeChecker method, the char type and the boolean type are comparable because of the call to the isComparable method.

      Comparability of char types and boolean types returns true in the isComparable method.

      However, char types and Boolean types in Spark are incomparable. Does Calcite have fixed standards here?

      Attachments

        Activity

          People

            Unassigned Unassigned
            caicancai Caican Cai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: