You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2016/11/15 17:47:59 UTC

[jira] [Commented] (HIVE-15209) Set hive.strict.checks.cartesian.product to false by default

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

Xuefu Zhang commented on HIVE-15209:
------------------------------------

I'm not sure how setting the default value to true violates SQL compliance. As far as I know, for this Hive doesn't complain about any syntax error.

My further concern is about flipping this back and forth, which confuses users and complicates admin's job.

> Set hive.strict.checks.cartesian.product to false by default
> ------------------------------------------------------------
>
>                 Key: HIVE-15209
>                 URL: https://issues.apache.org/jira/browse/HIVE-15209
>             Project: Hive
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: 2.2.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-15209.patch
>
>
> If we aim to make Hive compliant with SQL, w should disable this property by default, as expressing a cartesian product, though inefficient, is perfectly valid in SQL.
> Further, if we express complex predicates in the ON clause of a SQL query, we might not be able to push these predicates to the join operator; however, we should still be able to execute the query.



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