----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/10600/#review19374 -----------------------------------------------------------
http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java <https://reviews.apache.org/r/10600/#comment40085> ST class is needed to compile. http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java <https://reviews.apache.org/r/10600/#comment40084> A build failure on this line. - Teddy Choi On April 18, 2013, 6:25 a.m., fangkun cao wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/10600/ > ----------------------------------------------------------- > > (Updated April 18, 2013, 6:25 a.m.) > > > Review request for hive. > > > Description > ------- > > https://issues.apache.org/jira/browse/HIVE-4367 > > > This addresses bug HIVE-4367. > https://issues.apache.org/jira/browse/HIVE-4367 > > > Diffs > ----- > > > http://svn.apache.org/repos/asf/hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java > 1468713 > http://svn.apache.org/repos/asf/hive/trunk/conf/hive-default.xml.template > 1468713 > > http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java > 1468713 > > http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java > 1468713 > > http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g > 1468713 > > http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g > 1468713 > > Diff: https://reviews.apache.org/r/10600/diff/ > > > Testing > ------- > > create external table external1 (a int, b int) partitioned by (ds string); > load data local inpath '../data/files/kv1.txt' into table external1 partition > (ds='2008-04-08'); > load data local inpath '../data/files/kv1.txt' into table external1 partition > (ds='2008-04-09'); > > -- trucate EXTERNAL table > TRUNCATE TABLE external1 PARTITION (ds='2008-04-08') FORCE; > select * from external1 where ds='2008-04-08'; > select * from external1 where ds='2008-04-09'; > > TRUNCATE TABLE external1 FORCE; > select * from external1; > > > Thanks, > > fangkun cao > >