Krystal created DRILL-4490:
------------------------------
Summary: 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)