You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alina GHERMAN (JIRA)" <ji...@apache.org> on 2016/03/06 12:26:40 UTC

[jira] [Created] (HIVE-13215) Truncate statement is not working when database is specified

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)