Explorar el Código

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

Romain Rigaux hace 11 años
padre
commit
10430d14bc
Se han modificado 1 ficheros con 1 adiciones y 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 = ""