hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2774) Message when trying to create a view from a view should give name of offending view
Date Wed, 08 Feb 2012 02:24:59 GMT

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

Namit Jain commented on HIVE-2774:
----------------------------------

Can you add a negative test ?
Look at ql/src/test/queries/clientnegative for an example ?
                
> Message when trying to create a view from a view should give name of offending view
> -----------------------------------------------------------------------------------
>
>                 Key: HIVE-2774
>                 URL: https://issues.apache.org/jira/browse/HIVE-2774
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.7.1
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.9.0
>
>         Attachments: HIVE-2774.patch
>
>
> Currently when trying to create a view that contains another view (a prohibited operation)
the exception is:
> {noformat}FAILED: Error in semantic analysis: Invalid Table Alias Referencing view from
foreign databases is not supported.{noformat}
> 'Twould be better if this message included the view that caused the error so that when
building views from lots of tables, one doesn't need to hunt to figure out which one was the
actual view.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message