File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
sql/core/src/main/scala/org/apache/spark/sql Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import org.apache.spark.sql.types.StructType
2727
2828
2929private [sql] class DefaultSource
30- extends RelationProvider with SchemaRelationProvider with CreateableRelationProvider {
30+ extends RelationProvider with SchemaRelationProvider with CreatableRelationProvider {
3131
3232 /** Returns a new base relation with the parameters. */
3333 override def createRelation (
Original file line number Diff line number Diff line change @@ -279,9 +279,9 @@ object ResolvedDataSource {
279279 }
280280
281281 val relation = clazz.newInstance match {
282- case dataSource : org.apache.spark.sql.sources.CreateableRelationProvider =>
282+ case dataSource : org.apache.spark.sql.sources.CreatableRelationProvider =>
283283 dataSource
284- .asInstanceOf [org.apache.spark.sql.sources.CreateableRelationProvider ]
284+ .asInstanceOf [org.apache.spark.sql.sources.CreatableRelationProvider ]
285285 .createRelation(sqlContext, options, data)
286286 case _ =>
287287 sys.error(s " ${clazz.getCanonicalName} does not allow create table as select. " )
@@ -366,7 +366,7 @@ private [sql] case class CreateTempTableUsingAsSelect(
366366/**
367367 * Builds a map in which keys are case insensitive
368368 */
369- protected class CaseInsensitiveMap (map : Map [String , String ]) extends Map [String , String ]
369+ protected class CaseInsensitiveMap (map : Map [String , String ]) extends Map [String , String ]
370370 with Serializable {
371371
372372 val baseMap = map.map(kv => kv.copy(_1 = kv._1.toLowerCase))
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ trait SchemaRelationProvider {
7878}
7979
8080@ DeveloperApi
81- trait CreateableRelationProvider {
81+ trait CreatableRelationProvider {
8282 def createRelation (
8383 sqlContext : SQLContext ,
8484 parameters : Map [String , String ],
You can’t perform that action at this time.
0 commit comments