Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6811

Fix type inference to return correct data mode for boolean functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.14.0
    • 1.15.0
    • None

    Description

      For some functions which return a boolean result and cannot return null values DrillDefaultSqlReturnTypeInference.inferReturnType() returns type with nullable data mode.

      Examples of the functions which cannot return nulls:

      • IS NULL
      • IS NOT NULL
      • NOT
      • IS TRUE

      and other.

      Attachments

        Issue Links

          Activity

            People

              volodymyr Vova Vysotskyi
              volodymyr Vova Vysotskyi
              Arina Ielchiieva Arina Ielchiieva
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: