You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ze Jin (JIRA)" <ji...@apache.org> on 2016/05/23 06:14:12 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=15295962#comment-15295962 ] 

Ze Jin commented on HIVE-13215:
-------------------------------

I am starting to work on this issue. [~ashutoshc], could you assign this issue to me? Thanks.

> 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
>            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
(v6.3.4#6332)