You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vaibhav Gumashta (JIRA)" <ji...@apache.org> on 2017/03/17 20:45:41 UTC
[jira] [Commented] (HIVE-12943) Use default doesnot work in Hive
1.2.1
[ https://issues.apache.org/jira/browse/HIVE-12943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930694#comment-15930694 ]
Vaibhav Gumashta commented on HIVE-12943:
-----------------------------------------
[~kasjain] Removing target 1.2 as patch hasn't been committed yet.
> Use default doesnot work in Hive 1.2.1
> --------------------------------------
>
> Key: HIVE-12943
> URL: https://issues.apache.org/jira/browse/HIVE-12943
> Project: Hive
> Issue Type: Bug
> Components: Database/Schema
> Affects Versions: 1.2.1
> Reporter: Kashish Jain
> Priority: Blocker
> Attachments: HIVE-12943.patch
>
>
> "USE Default" does not work with the latest hive 1.2.1
> The message is
> "
> Cannot recognize input near 'default' '<EOF>' '<EOF>' in switch database statement; line 1 pos 4
> NoViableAltException(81@[])
> at org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier(HiveParser_IdentifiersParser.java:11577)
> at org.apache.hadoop.hive.ql.parse.HiveParser.identifier(HiveParser.java:46055)
> "
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)