Repository: phoenix Updated Branches: refs/heads/4.x-HBase-0.98 34dd8cc72 -> 6d0cbbb6f
PHOENIX-4650 Upgrade i18n-util dependency to version 1.0.4 (Shehzaad Nakhoda) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/6d0cbbb6 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/6d0cbbb6 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/6d0cbbb6 Branch: refs/heads/4.x-HBase-0.98 Commit: 6d0cbbb6f6e34aec2cae1204a53e8a1a0a5dbefb Parents: 34dd8cc Author: James Taylor <jtay...@salesforce.com> Authored: Tue Mar 13 10:10:55 2018 -0700 Committer: James Taylor <jtay...@salesforce.com> Committed: Tue Mar 13 10:32:25 2018 -0700 ---------------------------------------------------------------------- .../org/apache/phoenix/end2end/CollationKeyFunctionIT.java | 6 +++--- .../phoenix/expression/function/CollationKeyFunctionTest.java | 7 ++++--- pom.xml | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/6d0cbbb6/phoenix-core/src/it/java/org/apache/phoenix/end2end/CollationKeyFunctionIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CollationKeyFunctionIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CollationKeyFunctionIT.java index 9f9e4d1..e954874 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CollationKeyFunctionIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CollationKeyFunctionIT.java @@ -72,12 +72,12 @@ public class CollationKeyFunctionIT extends ParallelStatsDisabledIT { @Test public void testZhSort() throws Exception { - queryWithCollKeyDefaultArgsWithExpectedOrder("zh", false, 0, 6, new Integer[] { 3, 0, 1, 6, 5, 4, 2 }); + queryWithCollKeyDefaultArgsWithExpectedOrder("zh", false, 0, 6, new Integer[] { 4, 3, 1, 5, 2, 0, 6 }); } @Test public void testZhTwSort() throws Exception { - queryWithCollKeyDefaultArgsWithExpectedOrder("zh_TW", false, 0, 6, new Integer[] { 0, 3, 4, 1, 5, 2, 6 }); + queryWithCollKeyDefaultArgsWithExpectedOrder("zh_TW", false, 0, 6, new Integer[] { 4, 3, 1, 5, 2, 0, 6 }); } @Test @@ -87,7 +87,7 @@ public class CollationKeyFunctionIT extends ParallelStatsDisabledIT { @Test public void testZhStrokeSort() throws Exception { - queryWithCollKeyDefaultArgsWithExpectedOrder("zh__STROKE", false, 0, 6, new Integer[] { 0, 1, 3, 4, 6, 2, 5 }); + queryWithCollKeyDefaultArgsWithExpectedOrder("zh__STROKE", false, 0, 6, new Integer[] { 4, 2, 0, 3, 1, 6, 5 }); } @Test http://git-wip-us.apache.org/repos/asf/phoenix/blob/6d0cbbb6/phoenix-core/src/test/java/org/apache/phoenix/expression/function/CollationKeyFunctionTest.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/test/java/org/apache/phoenix/expression/function/CollationKeyFunctionTest.java b/phoenix-core/src/test/java/org/apache/phoenix/expression/function/CollationKeyFunctionTest.java index 950875b..93154e3 100644 --- a/phoenix-core/src/test/java/org/apache/phoenix/expression/function/CollationKeyFunctionTest.java +++ b/phoenix-core/src/test/java/org/apache/phoenix/expression/function/CollationKeyFunctionTest.java @@ -90,12 +90,13 @@ public class CollationKeyFunctionTest { @Test public void testZhSort() throws Exception { - testSortOrderNoEquals(chineseChars, "zh", Boolean.FALSE, null, null, new Integer[] { 3, 0, 1, 6, 5, 4, 2 }); + testSortOrderNoEquals(chineseChars, "zh", Boolean.FALSE, null, null, new Integer[] { 4, 3, 1, 5, 2, 0, 6 }); + } @Test public void testZhTwSort() throws Exception { - testSortOrderNoEquals(chineseChars, "zh_TW", Boolean.FALSE, null, null, new Integer[] { 0, 3, 4, 1, 5, 2, 6 }); + testSortOrderNoEquals(chineseChars, "zh_TW", Boolean.FALSE, null, null, new Integer[] { 4, 3, 1, 5, 2, 0, 6 }); } @Test @@ -107,7 +108,7 @@ public class CollationKeyFunctionTest { @Test public void testZhStrokeSort() throws Exception { testSortOrderNoEquals(chineseChars, "zh__STROKE", Boolean.FALSE, null, null, - new Integer[] { 0, 1, 3, 4, 6, 2, 5 }); + new Integer[] { 4, 2, 0, 3, 1, 6, 5 }); } @Test http://git-wip-us.apache.org/repos/asf/phoenix/blob/6d0cbbb6/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index b8a8a3d..b5b7a4e 100644 --- a/pom.xml +++ b/pom.xml @@ -106,7 +106,7 @@ <scala.version>2.11.8</scala.version> <scala.binary.version>2.11</scala.binary.version> <stream.version>2.9.5</stream.version> - <i18n-util.version>1.0.1</i18n-util.version> + <i18n-util.version>1.0.4</i18n-util.version> <servlet.api.version>3.1.0</servlet.api.version> <!-- Test Dependencies --> <mockito-all.version>1.8.5</mockito-all.version>