[ 
https://issues.apache.org/jira/browse/DRILL-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011861#comment-14011861
 ] 

Mehant Baid commented on DRILL-848:
-----------------------------------

What is the expected behavior for performing sum() on a varchar column? I tried 
running sum() on varchar in postgres and I got an error indicating its not 
supported. Probably shouldn't be hanging sqlline though but that is a generic 
issue we need to fix. 


> 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
>
> #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.2#6252)

Reply via email to