diff options
author | Xiao Li <gatorsmile@gmail.com> | 2017-04-20 11:13:48 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2017-04-20 11:13:48 +0100 |
commit | 55bea56911a958f6d3ec3ad96fb425cc71ec03f4 (patch) | |
tree | 08e8eb3d8f9fe1b473a90cea5bacee5f77e5ffa0 /common/network-common | |
parent | 46c5749768fefd976097c7d5612ec184a4cfe1b9 (diff) | |
download | spark-55bea56911a958f6d3ec3ad96fb425cc71ec03f4.tar.gz spark-55bea56911a958f6d3ec3ad96fb425cc71ec03f4.tar.bz2 spark-55bea56911a958f6d3ec3ad96fb425cc71ec03f4.zip |
[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
Author: Xiao Li <gatorsmile@gmail.com>
Closes #17655 from gatorsmile/locale.
Diffstat (limited to 'common/network-common')
0 files changed, 0 insertions, 0 deletions