Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert [SPARK-3011][SQL] _temporary directory should be filtered out …
…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
commit a7f8a4f5ee757450ce8d4028021441435081cf53
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