You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Baofeng Zhang (JIRA)" <ji...@apache.org> on 2016/12/28 01:52:58 UTC
[jira] [Created] (CALCITE-1556) Window validation bug with order by
agg
Baofeng Zhang created CALCITE-1556:
--------------------------------------
Summary: Window validation bug with order by agg
Key: CALCITE-1556
URL: https://issues.apache.org/jira/browse/CALCITE-1556
Project: Calcite
Issue Type: Bug
Components: core
Reporter: Baofeng Zhang
Assignee: Julian Hyde
I found a window validation bug when the agg on order by does not occur in select clause.
{{
SELECT RANK() OVER (PARTITION BY ss_item_sk ORDER BY SUM(ss_net_profit) DESC) AS ranking
FROM tpcds.store_sales
GROUP BY ss_item_sk
}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)