tenglei opened a new pull request #34582: URL: https://github.com/apache/spark/pull/34582
What changes were proposed in this pull request? This PR remove the unnecessary function called partitionSchemaOption in HadoopFsRelation.scala. Why are the changes needed? The partitionSchemaOption is unnecessary in HadoopFsRelation, it will make more complicated logical in HadoopFsRelation,which we can simply use partitionSchema.isEmpty or partitionSchema.nonEmpty instead Does this PR introduce any user-facing change? No,only change the expression. How was this patch tested? Pass existed tests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
