Преглед изворни кода

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

Romain Rigaux пре 11 година
родитељ
комит
10430d14bc
1 измењених фајлова са 1 додато и 1 уклоњено
  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 = ""