You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Mani M (JIRA)" <ji...@apache.org> on 2019/01/09 10:10:00 UTC

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

    [ https://issues.apache.org/jira/browse/HIVE-13215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738062#comment-16738062 ] 

Mani M commented on HIVE-13215:
-------------------------------

Hi [~kingzone]

Can I take up this ticket.

> 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.0, 0.13.1
>         Environment: CentOS 6, CDH 5.3
>            Reporter: Alina GHERMAN
>            Assignee: Ze Jin
>            Priority: Minor
>              Labels: easyfix, newbie
>
> 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
(v7.6.3#76005)