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

Fix type inference to return correct data mode for boolean functions

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.14.0
    • Fix Version/s: 1.15.0
    • Component/s: None
    • Labels:

      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

              • Assignee:
                vvysotskyi Volodymyr Vysotskyi
                Reporter:
                vvysotskyi Volodymyr Vysotskyi
                Reviewer:
                Arina Ielchiieva
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: