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

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

GitHub user hsuanyi opened a pull request:

    https://github.com/apache/drill/pull/423

    DRILL-4490: Ensure the count generated by ConvertCountToDirectScan is…

    … non-nullable

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hsuanyi/incubator-drill DRILL-4490

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/423.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #423
    
----
commit 0bf3f1c6419582e750258b8b986d97ff55730199
Author: Hsuan-Yi Chu <[email protected]>
Date:   2016-03-10T01:25:11Z

    DRILL-4490: Ensure the count generated by ConvertCountToDirectScan is 
non-nullable

----


> Count(*) function returns as optional instead of required
> ---------------------------------------------------------
>
>                 Key: DRILL-4490
>                 URL: https://issues.apache.org/jira/browse/DRILL-4490
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Data Types
>    Affects Versions: 1.6.0
>            Reporter: Krystal
>            Assignee: Sean Hsuan-Yi Chu
>
> git.commit.id.abbrev=c8a7840
> I have the following CTAS query:
> create table test as select count(*) as col1 from cp.`tpch/orders.parquet`;
> The schema of the test table shows col1 as optional:
> message root {
>   optional int64 col1;
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to