Explorar o código

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

Romain Rigaux %!s(int64=11) %!d(string=hai) anos
pai
achega
10430d14bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/beeswax/src/beeswax/tests.py

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

@@ -887,7 +887,7 @@ for x in sys.stdin:
 
       # Check that data is right
       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)
         data_buf = ""