[
https://issues.apache.org/jira/browse/HIVE-12943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-12943:
----------------------------------
Labels: pull-request-available (was: )
> 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: Minor
> Labels: pull-request-available
> Attachments: HIVE-12943.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> "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
(v8.3.4#803005)