[
https://issues.apache.org/jira/browse/DRILL-848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chun Chang closed DRILL-848.
----------------------------
{noformat}
0: jdbc:drill:schema=dfs.drillTestDirComplexJ> select sum(c_groupby) from
dfs.`/drill/testdata/numerical/data`;
Error: UNSUPPORTED_OPERATION ERROR: Only COUNT, MIN and MAX aggregate functions
supported for VarChar type
Fragment 0:0
[Error Id: be9c254b-01a7-4ee0-9891-e33747cb1bc9 on 10.10.30.169:31010]
(state=,code=0)
0: jdbc:drill:schema=dfs.drillTestDirComplexJ> select commit_id from
sys.version;
+-------------------------------------------+
| commit_id |
+-------------------------------------------+
| 0686bc23e8fbbd14fd3bf852893449ef8552439d |
+-------------------------------------------+
{noformat}
> sum() over a varchar column hangs sqlline
> -----------------------------------------
>
> Key: DRILL-848
> URL: https://issues.apache.org/jira/browse/DRILL-848
> Project: Apache Drill
> Issue Type: Bug
> Components: Functions - Drill
> Reporter: Chun Chang
> Assignee: Chun Chang
> Fix For: 0.5.0
>
>
> #Wed May 28 10:41:14 PDT 2014
> git.commit.id.abbrev=01bf849
> If you do a sum over a varchar column, sqlline will hang:
> sqlline version 1.1.6
> 0: jdbc:drill:schema=dfs> select sum(c_groupby) from data;
> here c_groupby is a string column. This is over a parquet file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)