Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Aug 19, 2014
1 parent 93d0f64 commit fdca896
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ class SpecificMutableRow(val values: Array[MutableValue]) extends MutableRow {
case ByteType => new MutableByte
case FloatType => new MutableFloat
case ShortType => new MutableShort
case DoubleType => new MutableDouble
case BooleanType => new MutableBoolean
case LongType => new MutableLong
case _ => new MutableAny
}.toArray)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,6 @@ private[parquet] object ParquetTypesConverter extends Logging {
}
ParquetRelation.enableLogForwarding()

println(fs.listStatus(path).toSeq)

val children = fs.listStatus(path).filterNot { status =>
val name = status.getPath.getName
name(0) == '.' || name == FileOutputCommitter.SUCCEEDED_FILE_NAME
Expand All @@ -395,7 +393,7 @@ private[parquet] object ParquetTypesConverter extends Logging {
.orElse(children.find(_.getPath.getName == ParquetFileWriter.PARQUET_METADATA_FILE))
.map(ParquetFileReader.readFooter(conf, _))
.getOrElse(
throw new IllegalArgumentException(s"Could not find Parquet metadata at path $path in ${children.map(_.getPath.getName).toSeq}"))
throw new IllegalArgumentException(s"Could not find Parquet metadata at path $path"))
}

/**
Expand Down

0 comments on commit fdca896

Please sign in to comment.