Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mateiz committed Aug 18, 2014
1 parent c71e9ed commit dae8efe
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,10 @@ private[parquet] class FilteringParquetRowInputFormat
val newFooters = new mutable.HashMap[FileStatus, Footer]
if (toFetch.size > 0) {
val fetched = getFooters(conf, toFetch)
for ((footer, i) <- fetched.zipWithIndex) {
newFooters(statuses.get(i)) = footer
footerCache.putAll(newFooters)
for ((status, i) <- toFetch.zipWithIndex) {
newFooters(status) = fetched.get(i)
}
footerCache.putAll(newFooters)
}
footers = new ArrayList[Footer](statuses.size)
for (status <- statuses) {
Expand Down

0 comments on commit dae8efe

Please sign in to comment.