Skip to content

Commit 22ec56b

Browse files
author
Jacky Li
committed
fix typo in DataSourceRegister
found when going through latest code
1 parent 515e4af commit 22ec56b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/sources/interfaces.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ trait DataSourceRegister {
5757
* overridden by children to provide a nice alias for the data source. For example:
5858
*
5959
* {{{
60-
* override def format(): String = "parquet"
60+
* override def shortName(): String = "parquet"
6161
* }}}
6262
*
6363
* @since 1.5.0

0 commit comments

Comments
 (0)