Skip to content

Commit

Permalink
Revert [SPARK-3011][SQL] _temporary directory should be filtered out …
Browse files Browse the repository at this point in the history
…by sqlContext.parquetFile

Reverts apache#1924 due to build failures with hadoop 0.23.

Author: Michael Armbrust <[email protected]>

Closes apache#1949 from marmbrus/revert1924 and squashes the following commits:

6bff940 [Michael Armbrust] Revert "[SPARK-3011][SQL] _temporary directory should be filtered out by sqlContext.parquetFile"
  • Loading branch information
marmbrus committed Aug 14, 2014
1 parent 9622106 commit a7f8a4f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,7 @@ private[parquet] object ParquetTypesConverter extends Logging {

val children = fs.listStatus(path).filterNot { status =>
val name = status.getPath.getName
name(0) == '.' || name == FileOutputCommitter.SUCCEEDED_FILE_NAME ||
name == FileOutputCommitter.TEMP_DIR_NAME
name(0) == '.' || name == FileOutputCommitter.SUCCEEDED_FILE_NAME
}

// NOTE (lian): Parquet "_metadata" file can be very slow if the file consists of lots of row
Expand Down

0 comments on commit a7f8a4f

Please sign in to comment.