GitHub user gatorsmile opened a pull request:

    https://github.com/apache/spark/pull/16737

    [SPARK-19397] [SQL] Make option names of LIBSVM and TEXT case insensitive

    ### What changes were proposed in this pull request?
    Prior to Spark 2.1, the option names are case sensitive for all the 
formats. Since Spark 2.1, the option key names become case insensitive except 
the format `Text` and `LibSVM `. This PR is to fix these issues.
    
    Also, add a check to know whether the input option vector type is legal for 
`LibSVM`.
    
    ### How was this patch tested?
    Added test cases

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gatorsmile/spark libSVMTextOptions

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/16737.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 #16737
    
----
commit 297f87aa3ac222c5c9f6e5fa6fcc3043b24bc0f9
Author: gatorsmile <[email protected]>
Date:   2017-01-30T02:26:36Z

    fix.

----


---
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]

Reply via email to