From 0d4683850c069d973050880f63970c7fa57b72af Mon Sep 17 00:00:00 2001 From: Andrei Stefan Date: Tue, 18 Sep 2018 14:12:18 +0300 Subject: [PATCH] Moved the problematic tests to the tests file that is not considered when certain locales are used (#33785) --- x-pack/qa/sql/src/main/resources/case-functions.sql-spec | 6 ++++++ .../qa/sql/src/main/resources/string-functions.sql-spec | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/x-pack/qa/sql/src/main/resources/case-functions.sql-spec b/x-pack/qa/sql/src/main/resources/case-functions.sql-spec index 899d7cb0a6c..f18f9c7eaa1 100644 --- a/x-pack/qa/sql/src/main/resources/case-functions.sql-spec +++ b/x-pack/qa/sql/src/main/resources/case-functions.sql-spec @@ -11,3 +11,9 @@ SELECT CONCAT(CONCAT(SUBSTRING("first_name",1,LENGTH("first_name")-2),UCASE(LEFT upperCasingTheSecondLetterFromTheRightFromFirstNameWithWhere SELECT CONCAT(CONCAT(SUBSTRING("first_name",1,LENGTH("first_name")-2),UCASE(LEFT(RIGHT("first_name",2),1))),RIGHT("first_name",1)) f, COUNT(*) c FROM "test_emp" WHERE CONCAT(CONCAT(SUBSTRING("first_name",1,LENGTH("first_name")-2),UCASE(LEFT(RIGHT("first_name",2),1))),RIGHT("first_name",1))='AlejandRo' GROUP BY CONCAT(CONCAT(SUBSTRING("first_name",1,LENGTH("first_name")-2),UCASE(LEFT(RIGHT("first_name",2),1))),RIGHT("first_name",1)) ORDER BY CONCAT(CONCAT(SUBSTRING("first_name",1,LENGTH("first_name")-2),UCASE(LEFT(RIGHT("first_name",2),1))),RIGHT("first_name",1)) LIMIT 10; + +ucaseInline1 +SELECT UCASE('ElAsTiC') upper; + +ucaseInline3 +SELECT UCASE(' elastic ') upper; \ No newline at end of file diff --git a/x-pack/qa/sql/src/main/resources/string-functions.sql-spec b/x-pack/qa/sql/src/main/resources/string-functions.sql-spec index 8fe35780443..f039e5c487e 100644 --- a/x-pack/qa/sql/src/main/resources/string-functions.sql-spec +++ b/x-pack/qa/sql/src/main/resources/string-functions.sql-spec @@ -157,17 +157,9 @@ SELECT SUBSTRING('Elasticsearch', 10, 10) sub; ucaseFilter SELECT UCASE(gender) uppercased, COUNT(*) count FROM "test_emp" WHERE UCASE(gender) = 'F' GROUP BY UCASE(gender); -//https://github.com/elastic/elasticsearch/issues/33687 -//ucaseInline1 -//SELECT UCASE('ElAsTiC') upper; - ucaseInline2 SELECT UCASE('') upper; -//https://github.com/elastic/elasticsearch/issues/33687 -//ucaseInline3 -//SELECT UCASE(' elastic ') upper; - // // Group and order by //