Alina GHERMAN created HIVE-13215:
------------------------------------

             Summary: Truncate statement is not working when database is 
specified
                 Key: HIVE-13215
                 URL: https://issues.apache.org/jira/browse/HIVE-13215
             Project: Hive
          Issue Type: Bug
          Components: Parser
    Affects Versions: 0.13.1, 0.13.0
         Environment: CentOS 6, CDH 5.3
            Reporter: Alina GHERMAN
            Priority: Minor


This returns un error:
 
{code:sql}
TRUNCATE TABLE database_name.table_name PARTITION (date_by_day='2015-08-19');
{code}



While this works:
{code:sql}
USE database_name;
TRUNCATE TABLE table_name PARTITION (date_by_day='2015-08-19');
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to