[
https://issues.apache.org/jira/browse/TAJO-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
JaeHwa Jung updated TAJO-403:
-----------------------------
Description:
If user write some function at 'group by' phase on hive query mode, it makes a
exception as follows:
{code:xml}
tajo> select trim(name), count(1) from table1 group by trim(name);
Unexpected aggregation function. - signature:trim
{code}
It needs to support functions at 'group by' phase on hive query mode.
was:
If user write trim function at 'group by' phase on hive query mode, it makes a
exception as follows:
{code:xml}
Unexpected aggregation function.
{code}
It needs to support trim functions as follows:
- trim(text)
- ltrim(text)
- rtrim(text)
> HiveConverter should allow function at 'group by' phase.
> --------------------------------------------------------
>
> Key: TAJO-403
> URL: https://issues.apache.org/jira/browse/TAJO-403
> Project: Tajo
> Issue Type: Improvement
> Components: parser
> Affects Versions: 0.8-incubating
> Reporter: JaeHwa Jung
> Assignee: JaeHwa Jung
> Fix For: 0.8-incubating
>
>
> If user write some function at 'group by' phase on hive query mode, it makes
> a exception as follows:
> {code:xml}
> tajo> select trim(name), count(1) from table1 group by trim(name);
> Unexpected aggregation function. - signature:trim
> {code}
> It needs to support functions at 'group by' phase on hive query mode.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)