[jira] [Updated] (HIVE-2774) Message when trying to create a view from a view should give name of offending view
[ 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
[jira] [Updated] (HIVE-2774) Message when trying to create a view from a view should give name of offending view
[ https://issues.apache.org/jira/browse/HIVE-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jakob Homan updated HIVE-2774: -- Status: Patch Available (was: Open) 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
[jira] [Updated] (HIVE-2705) SemanticAnalyzer twice swallows an exception it shouldn't
[ https://issues.apache.org/jira/browse/HIVE-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jakob Homan updated HIVE-2705: -- Status: Patch Available (was: Open) SemanticAnalyzer twice swallows an exception it shouldn't - Key: HIVE-2705 URL: https://issues.apache.org/jira/browse/HIVE-2705 Project: Hive Issue Type: Bug Components: Query Processor Affects Versions: 0.7.1 Reporter: Jakob Homan Assignee: Jakob Homan Fix For: 0.8.1 Attachments: HIVE-2705.patch Twice SemanticAnalyzer catches an exception and drops it, just passing on the original message's in a new SemanticException. This means that those that see the message in the output cannot tell what generated the original exception. These original exceptions should be wrapped, as they are in other parts of the code. -- 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