drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volodymyr Vysotskyi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-5768) Drill planer should not allow select * with group by clause
Date Fri, 19 Jan 2018 09:39:00 GMT

     [ https://issues.apache.org/jira/browse/DRILL-5768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Volodymyr Vysotskyi resolved DRILL-5768.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.13.0

> Drill planer should not allow select * with group by clause
> -----------------------------------------------------------
>
>                 Key: DRILL-5768
>                 URL: https://issues.apache.org/jira/browse/DRILL-5768
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.11.0
>            Reporter: Jinfeng Ni
>            Assignee: Roman Kulyk
>            Priority: Major
>             Fix For: 1.13.0
>
>
> The following query should not be allowed in Drill planner.
> {code}
> select * from cp.`tpch/nation.parquet` group by n_regionkey;
> +----+
> | *  |
> +----+
> | 0  |
> | 1  |
> | 4  |
> | 3  |
> | 2  |
> +----+
> {code}
> However, Drill allow such query to run and even worse the result is incorrect.  It would
make sense that we block such type of query. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message