Hi Amir,

Which version of Drill are you using?
I have tried to reproduce the issue in embedded mode and in also using jdbc
but no luck.

Kind regards
Arina

On Tue, Mar 28, 2017 at 10:25 AM, Amir Kafri <[email protected]> wrote:

> Hi All,
>
> I think I've encountered a bug:
>
> I'm running the following query:
>
> SELECT
>    metric AS m,
>    COUNT(*) OVER() AS row_counter
> FROM t
>
> The result is correct, but the name of the 2nd column in the result set is
> w0$o0.
>
> If I switch the order in the SELECT:
> SELECT
>    COUNT(*) OVER() AS row_counter,
>     metric AS m
> FROM t
>
> then the column names are correct (row_counter, m).
>
>
> --
>
> *Amir Kafri*Data Engineer
>
>
> *datorama*All Your *Data*, Working Together
> *.*Habarzel 34, Ramat Hachayal, Tel-Aviv, 69710
> *E* [email protected]
> *Website <http://www.datorama.com/> | LinkedIn
> <https://www.linkedin.com/company/datorama> | Twitter
> <https://twitter.com/datorama> | Facebook
> <https://www.facebook.com/pages/Datorama/232963956806382>*
>

Reply via email to