File tree Expand file tree Collapse file tree
sql/core/src/test/scala/org/apache/spark/sql/connector Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,10 +108,8 @@ class FakePathBasedSource
108108
109109 override def shortName (): String = " pathformat"
110110
111- // Strip our own format prefix from the multipart path and return the rest under our
112- // format-name namespace.
113111 override def extractIdentifier (options : CaseInsensitiveStringMap ): Identifier =
114- Identifier .of(Array (shortName()), options.get(" path" ).stripPrefix( s " ${shortName()} . " ) )
112+ Identifier .of(Array (shortName()), options.get(" path" ))
115113}
116114
117115/**
@@ -131,8 +129,6 @@ class FakePathBasedSourceWithSessionConfig
131129
132130 override def extractCatalog (options : CaseInsensitiveStringMap ): String = options.get(" catalog" )
133131
134- // Strip our own format prefix from the multipart path and return the rest under our
135- // format-name namespace.
136132 override def extractIdentifier (options : CaseInsensitiveStringMap ): Identifier =
137- Identifier .of(Array (shortName()), options.get(" path" ).stripPrefix( s " ${shortName()} . " ) )
133+ Identifier .of(Array (shortName()), options.get(" path" ))
138134}
You can’t perform that action at this time.
0 commit comments