GitHub user gatorsmile opened a pull request:

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

    [SPARK-20156] [SQL] [FOLLOW-UP] Java String toLowerCase "Turkish locale 
bug" in Database and Table DDLs

    ### What changes were proposed in this pull request?
    Database and Table names conform the Hive standard ("[a-zA-z_0-9]+"), i.e. 
if this name only contains characters, numbers, and _. 
    
    When calling `toLowerCase` on the names, we should add `Locale.ROOT` to the 
`toLowerCase`for avoiding inadvertent locale-sensitive variation in behavior 
(aka the "Turkish locale problem").
    
    ### How was this patch tested?
    Added a test case

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

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

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

    https://github.com/apache/spark/pull/17655.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 #17655
    
----
commit 47771e1ce11107b62057c7bc4e9909c008b3fe58
Author: Xiao Li <[email protected]>
Date:   2017-04-17T01:33:54Z

    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