You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "JESSE CHEN (JIRA)" <ji...@apache.org> on 2016/04/28 01:29:12 UTC

[jira] [Created] (SPARK-14968) TPC-DS query 1 fails to generate plan

JESSE CHEN created SPARK-14968:
----------------------------------

             Summary: TPC-DS query 1 fails to generate plan
                 Key: SPARK-14968
                 URL: https://issues.apache.org/jira/browse/SPARK-14968
             Project: Spark
          Issue Type: Bug
    Affects Versions: 1.6.1
            Reporter: JESSE CHEN


Hi I am testing on spark 2.0 but dont see an option to select it yet. 

TPC-DS query 23 fails with the compile error
Error in query: NoViableAltException(-1@[237:51: ( KW_AS )?])
line 4:33 cannot recognize input near '<EOF>' '<EOF>' '<EOF>' in subquery source
; line 4 pos 33

I could narrow the error to an aggregation on a subquery.

select max(csales) tpcds_cmax
  from (select sum(ss_quantity*ss_sales_price) csales
        from store_sales
        group by ss_customer_sk) ;




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org