Skip to content

Commit

Permalink
FLUME-2835. Hive Sink tests need to create table with transactional p…
Browse files Browse the repository at this point in the history
…roperty set

(Sriharsha Chintalapani via Roshan Naik)
  • Loading branch information
Roshan Naik committed Nov 3, 2015
1 parent 8bb5566 commit f38a521
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ public static void createDbAndTable(Driver driver, String databaseName,
" clustered by ( " + colNames[0] + " )" +
" into 10 buckets " +
" stored as orc " +
" location '" + tableLoc + "'";
" location '" + tableLoc + "'" +
" TBLPROPERTIES ('transactional'='true')";

runDDL(driver, crtTbl);
System.out.println("crtTbl = " + crtTbl);
if (partNames!=null && partNames.length!=0) {
Expand Down

0 comments on commit f38a521

Please sign in to comment.