[ https://issues.apache.org/jira/browse/HIVE-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541983#comment-13541983 ]
Phabricator commented on HIVE-446: ---------------------------------- navis has commented on the revision "HIVE-446 [jira] Implement TRUNCATE". INLINE COMMENTS ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java:727 Currently, many of hive DDLs are not supporting specifying database name, which is partly fixed on https://issues.apache.org/jira/browse/HIVE-3589. I'm waiting for the issue committed and expecting to use it for other DDLs. ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java:755 I agree but can't think of an alternative way. It's same situation for all other DDLs. ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java:3912 I admit I've just copied it from Hive.class. Could you do that when updating patch for HIVE-3701? I don't know well of differences among the hadoop versions. ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java:249 Agreed. ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java:749 done. REVISION DETAIL https://reviews.facebook.net/D7371 To: JIRA, navis Cc: njain, mgrover > Implement TRUNCATE > ------------------ > > Key: HIVE-446 > URL: https://issues.apache.org/jira/browse/HIVE-446 > Project: Hive > Issue Type: New Feature > Components: Query Processor > Reporter: Prasad Chakka > Assignee: Navis > Attachments: HIVE-446.D7371.1.patch, HIVE-446.D7371.2.patch > > > truncate the data but leave the table and metadata intact. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira