Эх сурвалжийг харах

[beeswax] Now Hive leaves some temporary files when doing a CTAS

Romain Rigaux 11 жил өмнө
parent
commit
10430d1

+ 1 - 1
apps/beeswax/src/beeswax/tests.py

@@ -887,7 +887,7 @@ for x in sys.stdin:
 
 
       # Check that data is right
       # Check that data is right
       if verify:
       if verify:
-        target_ls = self.cluster.fs.listdir(target_dir)
+        target_ls = self.cluster.fs.listdir(target_dir)[1:]
         assert_true(len(target_ls) >= 1)
         assert_true(len(target_ls) >= 1)
         data_buf = ""
         data_buf = ""