Skip to content

Commit

Permalink
toString capitalized
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceklaskowski committed Aug 19, 2016
1 parent 5936e09 commit e780208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class ParquetFileFormat

override def shortName(): String = "parquet"

override def toString: String = shortName.toUpperCase
override def toString: String = "Parquet"

override def hashCode(): Int = getClass.hashCode()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class TextFileFormat extends TextBasedFileFormat with DataSourceRegister {

override def shortName(): String = "text"

override def toString: String = shortName.toUpperCase
override def toString: String = "Text"

private def verifySchema(schema: StructType): Unit = {
if (schema.size != 1) {
Expand Down

0 comments on commit e780208

Please sign in to comment.