File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -573,8 +573,7 @@ object DataSource extends Logging {
573573 /** Given a provider name, look up the data source class definition. */
574574 def lookupDataSource (conf : SQLConf , provider : String ): Class [_] = {
575575 var provider1 = backwardCompatibilityMap.getOrElse(provider, provider)
576- if (Seq (" orc" ).contains(provider1.toLowerCase) && conf.getConf(SQLConf .ORC_USE_NEW_VERSION )) {
577- logInfo(s " $provider1 is replaced with ${classOf [OrcFileFormat ].getCanonicalName}" )
576+ if (" orc" .equalsIgnoreCase(provider1) && conf.getConf(SQLConf .ORC_USE_NEW_VERSION )) {
578577 provider1 = classOf [OrcFileFormat ].getCanonicalName
579578 }
580579 val provider2 = s " $provider1.DefaultSource "
You can’t perform that action at this time.
0 commit comments