You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Krystal (JIRA)" <ji...@apache.org> on 2016/05/12 20:41:12 UTC

[jira] [Closed] (DRILL-4490) Count(*) function returns as optional instead of required

     [ https://issues.apache.org/jira/browse/DRILL-4490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krystal closed DRILL-4490.
--------------------------

git.commit.id.abbrev=09b2627

Verified that bug is fixed.

create table test_tbl as select count(*) from abc;

schema of test_tbl:
message root {
  required int64 EXPR$0;
}




> 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
>             Fix For: 1.7.0
>
>
> 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)