hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhijit Pol (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-823) Make table alise in MAPJOIN hint case insensitive
Date Wed, 09 Sep 2009 19:56:57 GMT

     [ 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.


Mime
View raw message