diff options
author | Cheng Lian <lian@databricks.com> | 2016-06-16 10:24:29 -0700 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-06-16 10:24:29 -0700 |
commit | 9ea0d5e326e08b914aa46f1eec8795688a61bf74 (patch) | |
tree | 41b7df75ad7d557e09297cacbf4b48f000fa9706 /examples/src/main | |
parent | 6451cf9270b55465d8ecea4c4031329a1058561a (diff) | |
download | spark-9ea0d5e326e08b914aa46f1eec8795688a61bf74.tar.gz spark-9ea0d5e326e08b914aa46f1eec8795688a61bf74.tar.bz2 spark-9ea0d5e326e08b914aa46f1eec8795688a61bf74.zip |
[SPARK-15983][SQL] Removes FileFormat.prepareRead
## What changes were proposed in this pull request?
Interface method `FileFormat.prepareRead()` was added in #12088 to handle a special case in the LibSVM data source.
However, the semantics of this interface method isn't intuitive: it returns a modified version of the data source options map. Considering that the LibSVM case can be easily handled using schema metadata inside `inferSchema`, we can remove this interface method to keep the `FileFormat` interface clean.
## How was this patch tested?
Existing tests.
Author: Cheng Lian <lian@databricks.com>
Closes #13698 from liancheng/remove-prepare-read.
Diffstat (limited to 'examples/src/main')
0 files changed, 0 insertions, 0 deletions