drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krystal (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DRILL-4490) Count(*) function returns as optional instead of required
Date Thu, 12 May 2016 20:41:12 GMT

     [ 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)

Mime
View raw message