[ 
https://issues.apache.org/jira/browse/SPARK-5791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14319364#comment-14319364
 ] 

Yi Zhou commented on SPARK-5791:
--------------------------------

For example:
SELECT *
    FROM inventory inv
    JOIN (
      SELECT
        i_item_id,
        i_item_sk
      FROM item
      WHERE i_current_price > 0.98
      AND i_current_price < 1.5
    ) items
    ON inv.inv_item_sk = items.i_item_sk
    JOIN warehouse w ON inv.inv_warehouse_sk = w.w_warehouse_sk
    JOIN date_dim d ON inv.inv_date_sk = d.d_date_sk
    WHERE datediff(d_date, '2001-05-08') >= -30
    AND datediff(d_date, '2001-05-08') <= 30;

> [Spark SQL] show poor performance when multiple table do join operation
> -----------------------------------------------------------------------
>
>                 Key: SPARK-5791
>                 URL: https://issues.apache.org/jira/browse/SPARK-5791
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.2.0
>            Reporter: Yi Zhou
>
> Spark SQL shows poor performance when multiple tables do join operation 
> compared with  Hive on MapReduce.



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

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

Reply via email to