Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/13770#discussion_r67643368
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala ---
@@ -45,7 +45,12 @@ class DataFrameReader private[sql](sparkSession:
SparkSession) extends Logging {
* @since 1.4.0
*/
def format(source: String): DataFrameReader = {
- this.source = source
+ if (this.userSpecifiedSource.nonEmpty) {
--- End diff --
i'd probably get rid of this one too -- it is technically behavior changing
and we are now taking away the possibility for users to just override a format.
Did you actually see somebody getting confused by this?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]