[
https://issues.apache.org/jira/browse/DRILL-4490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15188523#comment-15188523
]
ASF GitHub Bot commented on DRILL-4490:
---------------------------------------
Github user jinfengni commented on the pull request:
https://github.com/apache/drill/pull/423#issuecomment-194625095
The code fix looks good to me. +1
> 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)