GitHub user falaki opened a pull request:
https://github.com/apache/spark/pull/11589
[SPARK-13754] Keep old data source name for backwards compatibility
## Motivation
CSV data source was contributed by Databricks. It is the inlined version of
https://github.com/databricks/spark-csv. The data source name was
`com.databricks.spark.csv`. As a result there are many tables created on older
versions of spark with that name as the source. For backwards compatibility we
should keep the old name.
## Proposed changes
`com.databricks.spark.csv` was added to list of `backwardCompatibilityMap`
in `ResolvedDataSource.scala`
## Tests
A unit test was added to `CSVSuite` to parse a csv file using the old name.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/falaki/spark SPARK-13754
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11589.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11589
----
commit b2bdd5debe08fc99e77b4cdd472667cb1fac666c
Author: Hossein <[email protected]>
Date: 2016-03-08T22:40:00Z
Added com.databricks.spark.csv for backwards compatibility
commit 4e891bf7f27f2b65d22e04dcd7aca5d7a1dc277e
Author: Hossein <[email protected]>
Date: 2016-03-08T22:40:27Z
Added a simple test to check for old csv data source name
----
---
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]