hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13215) Truncate statement is not working when database is specified
Date Mon, 23 May 2016 15:59:12 GMT

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

Ashutosh Chauhan commented on HIVE-13215:
-----------------------------------------

Sure. Here you go!

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

Mime
View raw message