hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6643) Add a check for cross products in plans and output a warning
Date Wed, 26 Mar 2014 18:39:21 GMT

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

Alan Gates commented on HIVE-6643:
----------------------------------

I see the following errors when I run the tests:
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_auto_join0
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_auto_join23
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_auto_join_filters
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_auto_join_nulls
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_auto_sortmerge_join_12
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_create_view
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_cross_join
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_input23
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join0
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join23
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join_alt_syntax
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join_cond_pushdown_1
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join_cond_pushdown_3
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join_cond_pushdown_unqual1
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join_cond_pushdown_unqual3
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join_filters
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join_nulls
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_no_hooks
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_nonblock_op_deduplicate
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ppd_repeated_alias
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_print_header
2014-03-26 17:33:15 WARN  PTest:205 - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_sample8

> Add a check for cross products in plans and output a warning
> ------------------------------------------------------------
>
>                 Key: HIVE-6643
>                 URL: https://issues.apache.org/jira/browse/HIVE-6643
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Harish Butani
>            Assignee: Harish Butani
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6643.1.patch, HIVE-6643.2.patch, HIVE-6643.3.patch, HIVE-6643.4.patch
>
>
> Now that we support old style join syntax, it is easy to write queries that generate
a plan with a cross product.
> For e.g. say you have A join B join C join D on A.x = B.x and A.y = D.y and C.z = D.z
> So the JoinTree is:
> A — B
> |__  D — C
> Since we don't reorder join graphs, we will end up with a cross product between (A join
B) and C



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message