You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Suresh Antony (JIRA)" <ji...@apache.org> on 2009/03/27 19:40:50 UTC

[jira] Created: (HIVE-376) In strict mode do not allow join without "ON" condition

In strict mode do not allow join without  "ON" condition
--------------------------------------------------------

                 Key: HIVE-376
                 URL: https://issues.apache.org/jira/browse/HIVE-376
             Project: Hadoop Hive
          Issue Type: Bug
            Reporter: Suresh Antony


In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain reassigned HIVE-376:
-------------------------------

    Assignee: Namit Jain

> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-376:
----------------------------

    Attachment: hive.376.3.patch

> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive.376.1.patch, hive.376.2.patch, hive.376.3.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-376:
----------------------------

    Attachment: hive.376.2.patch

> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive.376.1.patch, hive.376.2.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao updated HIVE-376:
----------------------------

       Resolution: Fixed
    Fix Version/s: 0.3.1
     Release Note: HIVE-376. In strict mode do not allow join without ON condition. (Namit Jain via zshao)
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Committed to both trunk and branch 0.3 with some simple test fixes. Thanks Namit!


> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.3.1, 0.4.0
>
>         Attachments: hive.376.1.patch, hive.376.2.patch, hive.376.3.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Suresh Antony (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Antony updated HIVE-376:
-------------------------------

          Component/s: Configuration
             Priority: Minor  (was: Major)
    Affects Version/s: 0.4.0
        Fix Version/s: 0.4.0
           Issue Type: New Feature  (was: Bug)

> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Priority: Minor
>             Fix For: 0.4.0
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-376:
--------------------------------

    Component/s:     (was: Configuration)

> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive.376.1.patch, hive.376.2.patch, hive.376.3.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702206#action_12702206 ] 

Zheng Shao commented on HIVE-376:
---------------------------------

Will you change the one in hive-default.xml as well?

> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive.376.1.patch, hive.376.2.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-376:
----------------------------

    Status: Patch Available  (was: Open)

> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive.376.1.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-376:
----------------------------

    Attachment: hive.376.1.patch

> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive.376.1.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702212#action_12702212 ] 

Zheng Shao commented on HIVE-376:
---------------------------------

Actually it's not in hive-default.xml. Please add it.

Also, I think we should put some hints about "set hive.mapred.mode=nonstrict" in the error message for the negative case so user can fix it quickly. What do you think?


> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive.376.1.patch, hive.376.2.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-376:
--------------------------------

    Affects Version/s:     (was: 0.4.0)
          Component/s: Query Processor

> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive.376.1.patch, hive.376.2.patch, hive.376.3.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702175#action_12702175 ] 

Zheng Shao commented on HIVE-376:
---------------------------------

Shall we add another option instead of using "hive.partition.pruning"? The name does not look good for this.
Also, can you add a negative case?



> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive.376.1.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702244#action_12702244 ] 

Namit Jain commented on HIVE-376:
---------------------------------

done - can you take a look ?

> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive.376.1.patch, hive.376.2.patch, hive.376.3.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-376:
--------------------------------

    Fix Version/s:     (was: 0.3.1)

> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive.376.1.patch, hive.376.2.patch, hive.376.3.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-376) In strict mode do not allow join without "ON" condition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702193#action_12702193 ] 

Namit Jain commented on HIVE-376:
---------------------------------

There is already a negative testcase - I will change the name of the parameter

> In strict mode do not allow join without  "ON" condition
> --------------------------------------------------------
>
>                 Key: HIVE-376
>                 URL: https://issues.apache.org/jira/browse/HIVE-376
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Suresh Antony
>            Assignee: Namit Jain
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: hive.376.1.patch
>
>
> In strict mode do not allow join without  "ON" condition. This will result in cartition product and explosion of data. Very few people want to run with join condition. Usually it is a mistake.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.