hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Homan (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2774) Message when trying to create a view from a view should give name of offending view
Date Thu, 02 Feb 2012 00:15:53 GMT

     [ https://issues.apache.org/jira/browse/HIVE-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jakob Homan updated HIVE-2774:
------------------------------

    Attachment: HIVE-2774.patch

Quick patch that adds the offending table name to the message.  Not easily testable and easily
reasonable, so no tests.
                
> 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