You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/24 11:59:00 UTC

[jira] [Commented] (DRILL-6811) Fix type inference to return correct data mode for boolean functions

    [ https://issues.apache.org/jira/browse/DRILL-6811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662185#comment-16662185 ] 

ASF GitHub Bot commented on DRILL-6811:
---------------------------------------

vvysotskyi opened a new pull request #1510: DRILL-6811: Fix type inference to return correct data mode for boolean functions
URL: https://github.com/apache/drill/pull/1510
 
 
   For details please see [DRILL-6811](https://issues.apache.org/jira/browse/DRILL-6811)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Priority: Major
>             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)