You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Abhijit Pol (JIRA)" <ji...@apache.org> on 2009/09/09 21:54:57 UTC
[jira] Created: (HIVE-823) Make table alise in MAPJOIN hint case
insensitive
Make table alise in MAPJOIN hint case insensitive
-------------------------------------------------
Key: HIVE-823
URL: https://issues.apache.org/jira/browse/HIVE-823
Project: Hadoop Hive
Issue Type: Bug
Affects Versions: 0.4.0
Reporter: Abhijit Pol
If we use table alias in upper case for MAPJOIN hint, it is ignored. It must be specified in lower case.
Example query:
SELECT /*+ MAPJOIN(N) */ parse_url(ADATA.url,'HOST') AS domain, N.type AS type
FROM nikeusers N join adserves ADATA on (ADATA.user_id = N.uid)
WHERE ADATA.data_date = '20090901'
This query features reducers in its execution. Attached is output of explain extended.
After changing query to:
SELECT /*+ MAPJOIN(n) */ parse_url(adata.url,'HOST') AS domain, n.type AS type
FROM nikeusers n join adserves adata on (adata.user_id = N.uid)
WHERE adata.data_date = '20090901'
It executes as expected. Attached is output of explain extended.
Thanks to Zheng for helping and catching this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-823) Make table alise in MAPJOIN hint case
insensitive
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain updated HIVE-823:
----------------------------
Status: Patch Available (was: Open)
> Make table alise in MAPJOIN hint case insensitive
> -------------------------------------------------
>
> Key: HIVE-823
> URL: https://issues.apache.org/jira/browse/HIVE-823
> Project: Hadoop Hive
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Abhijit Pol
> Assignee: Namit Jain
> Attachments: hive.823.1.patch, qryplan_lowercase_alias, qryplan_uppercase_alias
>
>
> If we use table alias in upper case for MAPJOIN hint, it is ignored. It must be specified in lower case.
> Example query:
> SELECT /*+ MAPJOIN(N) */ parse_url(ADATA.url,'HOST') AS domain, N.type AS type
> FROM nikeusers N join adserves ADATA on (ADATA.user_id = N.uid)
> WHERE ADATA.data_date = '20090901'
> This query features reducers in its execution. Attached is output of explain extended.
> After changing query to:
> SELECT /*+ MAPJOIN(n) */ parse_url(adata.url,'HOST') AS domain, n.type AS type
> FROM nikeusers n join adserves adata on (adata.user_id = N.uid)
> WHERE adata.data_date = '20090901'
> It executes as expected. Attached is output of explain extended.
> Thanks to Zheng for helping and catching this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-823) Make table alise in MAPJOIN hint case
insensitive
Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Shao updated HIVE-823:
----------------------------
Resolution: Fixed
Fix Version/s: 0.5.0
Release Note: HIVE-823. Make table alise in MAPJOIN hint case insensitive. (Namit Jain via zshao)
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
Committed. Thanks Namit!
> Make table alise in MAPJOIN hint case insensitive
> -------------------------------------------------
>
> Key: HIVE-823
> URL: https://issues.apache.org/jira/browse/HIVE-823
> Project: Hadoop Hive
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Abhijit Pol
> Assignee: Namit Jain
> Fix For: 0.5.0
>
> Attachments: hive.823.1.patch, qryplan_lowercase_alias, qryplan_uppercase_alias
>
>
> If we use table alias in upper case for MAPJOIN hint, it is ignored. It must be specified in lower case.
> Example query:
> SELECT /*+ MAPJOIN(N) */ parse_url(ADATA.url,'HOST') AS domain, N.type AS type
> FROM nikeusers N join adserves ADATA on (ADATA.user_id = N.uid)
> WHERE ADATA.data_date = '20090901'
> This query features reducers in its execution. Attached is output of explain extended.
> After changing query to:
> SELECT /*+ MAPJOIN(n) */ parse_url(adata.url,'HOST') AS domain, n.type AS type
> FROM nikeusers n join adserves adata on (adata.user_id = N.uid)
> WHERE adata.data_date = '20090901'
> It executes as expected. Attached is output of explain extended.
> Thanks to Zheng for helping and catching this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-823) Make table alise in MAPJOIN hint case
insensitive
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain updated HIVE-823:
----------------------------
Attachment: hive.823.1.patch
> Make table alise in MAPJOIN hint case insensitive
> -------------------------------------------------
>
> Key: HIVE-823
> URL: https://issues.apache.org/jira/browse/HIVE-823
> Project: Hadoop Hive
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Abhijit Pol
> Assignee: Namit Jain
> Attachments: hive.823.1.patch, qryplan_lowercase_alias, qryplan_uppercase_alias
>
>
> If we use table alias in upper case for MAPJOIN hint, it is ignored. It must be specified in lower case.
> Example query:
> SELECT /*+ MAPJOIN(N) */ parse_url(ADATA.url,'HOST') AS domain, N.type AS type
> FROM nikeusers N join adserves ADATA on (ADATA.user_id = N.uid)
> WHERE ADATA.data_date = '20090901'
> This query features reducers in its execution. Attached is output of explain extended.
> After changing query to:
> SELECT /*+ MAPJOIN(n) */ parse_url(adata.url,'HOST') AS domain, n.type AS type
> FROM nikeusers n join adserves adata on (adata.user_id = N.uid)
> WHERE adata.data_date = '20090901'
> It executes as expected. Attached is output of explain extended.
> Thanks to Zheng for helping and catching this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HIVE-823) Make table alise in MAPJOIN hint case
insensitive
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain reassigned HIVE-823:
-------------------------------
Assignee: Abhijit Pol
> Make table alise in MAPJOIN hint case insensitive
> -------------------------------------------------
>
> Key: HIVE-823
> URL: https://issues.apache.org/jira/browse/HIVE-823
> Project: Hadoop Hive
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Abhijit Pol
> Assignee: Abhijit Pol
> Attachments: qryplan_lowercase_alias, qryplan_uppercase_alias
>
>
> If we use table alias in upper case for MAPJOIN hint, it is ignored. It must be specified in lower case.
> Example query:
> SELECT /*+ MAPJOIN(N) */ parse_url(ADATA.url,'HOST') AS domain, N.type AS type
> FROM nikeusers N join adserves ADATA on (ADATA.user_id = N.uid)
> WHERE ADATA.data_date = '20090901'
> This query features reducers in its execution. Attached is output of explain extended.
> After changing query to:
> SELECT /*+ MAPJOIN(n) */ parse_url(adata.url,'HOST') AS domain, n.type AS type
> FROM nikeusers n join adserves adata on (adata.user_id = N.uid)
> WHERE adata.data_date = '20090901'
> It executes as expected. Attached is output of explain extended.
> Thanks to Zheng for helping and catching this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-823) Make table alise in MAPJOIN hint case
insensitive
Posted by "Abhijit Pol (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhijit Pol updated HIVE-823:
-----------------------------
Attachment: qryplan_uppercase_alias
qryplan_lowercase_alias
> Make table alise in MAPJOIN hint case insensitive
> -------------------------------------------------
>
> Key: HIVE-823
> URL: https://issues.apache.org/jira/browse/HIVE-823
> Project: Hadoop Hive
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Abhijit Pol
> Attachments: qryplan_lowercase_alias, qryplan_uppercase_alias
>
>
> If we use table alias in upper case for MAPJOIN hint, it is ignored. It must be specified in lower case.
> Example query:
> SELECT /*+ MAPJOIN(N) */ parse_url(ADATA.url,'HOST') AS domain, N.type AS type
> FROM nikeusers N join adserves ADATA on (ADATA.user_id = N.uid)
> WHERE ADATA.data_date = '20090901'
> This query features reducers in its execution. Attached is output of explain extended.
> After changing query to:
> SELECT /*+ MAPJOIN(n) */ parse_url(adata.url,'HOST') AS domain, n.type AS type
> FROM nikeusers n join adserves adata on (adata.user_id = N.uid)
> WHERE adata.data_date = '20090901'
> It executes as expected. Attached is output of explain extended.
> Thanks to Zheng for helping and catching this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HIVE-823) Make table alise in MAPJOIN hint case
insensitive
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain reassigned HIVE-823:
-------------------------------
Assignee: Namit Jain
> Make table alise in MAPJOIN hint case insensitive
> -------------------------------------------------
>
> Key: HIVE-823
> URL: https://issues.apache.org/jira/browse/HIVE-823
> Project: Hadoop Hive
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Abhijit Pol
> Assignee: Namit Jain
> Attachments: qryplan_lowercase_alias, qryplan_uppercase_alias
>
>
> If we use table alias in upper case for MAPJOIN hint, it is ignored. It must be specified in lower case.
> Example query:
> SELECT /*+ MAPJOIN(N) */ parse_url(ADATA.url,'HOST') AS domain, N.type AS type
> FROM nikeusers N join adserves ADATA on (ADATA.user_id = N.uid)
> WHERE ADATA.data_date = '20090901'
> This query features reducers in its execution. Attached is output of explain extended.
> After changing query to:
> SELECT /*+ MAPJOIN(n) */ parse_url(adata.url,'HOST') AS domain, n.type AS type
> FROM nikeusers n join adserves adata on (adata.user_id = N.uid)
> WHERE adata.data_date = '20090901'
> It executes as expected. Attached is output of explain extended.
> Thanks to Zheng for helping and catching this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HIVE-823) Make table alise in MAPJOIN hint case
insensitive
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain reassigned HIVE-823:
-------------------------------
Assignee: (was: Abhijit Pol)
@Abhijit, I thought you had submitted a patch, which is why I assigned it to you.
> Make table alise in MAPJOIN hint case insensitive
> -------------------------------------------------
>
> Key: HIVE-823
> URL: https://issues.apache.org/jira/browse/HIVE-823
> Project: Hadoop Hive
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Abhijit Pol
> Attachments: qryplan_lowercase_alias, qryplan_uppercase_alias
>
>
> If we use table alias in upper case for MAPJOIN hint, it is ignored. It must be specified in lower case.
> Example query:
> SELECT /*+ MAPJOIN(N) */ parse_url(ADATA.url,'HOST') AS domain, N.type AS type
> FROM nikeusers N join adserves ADATA on (ADATA.user_id = N.uid)
> WHERE ADATA.data_date = '20090901'
> This query features reducers in its execution. Attached is output of explain extended.
> After changing query to:
> SELECT /*+ MAPJOIN(n) */ parse_url(adata.url,'HOST') AS domain, n.type AS type
> FROM nikeusers n join adserves adata on (adata.user_id = N.uid)
> WHERE adata.data_date = '20090901'
> It executes as expected. Attached is output of explain extended.
> Thanks to Zheng for helping and catching this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.