Volodymyr Vysotskyi created DRILL-6811:
------------------------------------------

             Summary: Fix type inference to return correct data mode for 
boolean functions
                 Key: DRILL-6811
                 URL: https://issues.apache.org/jira/browse/DRILL-6811
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.14.0
            Reporter: Volodymyr Vysotskyi
            Assignee: Volodymyr Vysotskyi
             Fix For: 1.15.0


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to