* [PATCH v2] Feature request for a new collation @ 2019-02-26 10:40 Stanislav Zudin 2019-02-26 13:52 ` Vladimir Davydov 0 siblings, 1 reply; 4+ messages in thread From: Stanislav Zudin @ 2019-02-26 10:40 UTC (permalink / raw) To: tarantool-patches, kostja, vdavydov.dev; +Cc: Stanislav Zudin Adds a new default collation 'unicode_s2' to support the difference between Cyrillic letters 'Е' and 'Ё'. The standard case insensitive collation ('unicode_ci') doesn't distinguish these letters. Closes #4007 --- Branch: https://github.com/tarantool/tarantool/tree/stanztt/gh-4007-new-default-collation-2.1 Issue: https://github.com/tarantool/tarantool/issues/4007 src/box/bootstrap.snap | Bin 1831 -> 1864 bytes src/box/lua/upgrade.lua | 1 + test/sql-tap/collation.test.lua | 7 +- test/sql/collation.result | 111 ++++++++++++++++++++++++++++++++ test/sql/collation.test.lua | 41 ++++++++++++ 5 files changed, 157 insertions(+), 3 deletions(-) diff --git a/src/box/bootstrap.snap b/src/box/bootstrap.snap index 0bb446fb6903ac3ef630c419b909f7db3df0372a..1b590939f1a9ca95cc93745b81a0271643055b21 100644 GIT binary patch delta 1860 zcmV-K2fO&E4#*CW8Gkb|I4x&pGBIUjVP#}63Q2BrbYX5|WjY`@I5=cDVl-wgIbvZk zEi^Y`W-Vc6IW#S1IWaIcH#K88V=`t6RzqxWV{1AfdmtbnARr)p3JTS_3%bn)$N<h` z@9{dN0000004TLD{Qyw?H2|7Oj1NiR7^eU*%rIlf7&At2IDeps#-Ld**&@FN<E?;T zjEO{1U^gODl9iIaG?(lz^0bn%T^oR1jGiyH=bLhRt!YE*qWbbWGg_Ha3f}<Q0O<fP z=KCUH`p!n!ADOW<-kq01F(ebHyWT}!*S9=wYxHHn-TRWCL$Q;Z=h^p~g}D}OAHq8A z!}h%!a@)JErhf?$(GS~D1UJhTG(Ur_Bi_xb+xO4^+3)xM)qgg_G=5nrlu{%mok_r_ zLGSskCx;a``GH#_mjJMRHCB}z0Itpvwyz8Cu-57<{kwBp5caH5b?IRdV@Cf2J*>q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Aly-7>J7ywZd0|9Dm~is&PHOHUGW6(y5)oZ3z2@GO5Ksw8hRS@Hb?aZr+0cGNIK z43t=2$s?w>#u23tKrzBb1(Hfa^nV<p45fgF?oxj_`)Ep_UK{`xaiyL&vvbKES-e0i R9JX=Dom4Gm<qp*lt?kA^T~Gi3 diff --git a/src/box/lua/upgrade.lua b/src/box/lua/upgrade.lua index 70cfb4f2e..84c559dac 100644 --- a/src/box/lua/upgrade.lua +++ b/src/box/lua/upgrade.lua @@ -610,6 +610,7 @@ local function upgrade_to_2_1_0() box.space._collation:replace{0, "none", ADMIN, "BINARY", "", setmap{}} box.space._collation:replace{3, "binary", ADMIN, "BINARY", "", setmap{}} + box.space._collation:replace{4, "unicode_s2", ADMIN, "ICU", "ru_RU", {strength='secondary'}} upgrade_priv_to_2_1_0() end diff --git a/test/sql-tap/collation.test.lua b/test/sql-tap/collation.test.lua index 1e55b0092..b8bc02317 100755 --- a/test/sql-tap/collation.test.lua +++ b/test/sql-tap/collation.test.lua @@ -21,9 +21,10 @@ test:do_execsql_test( 1,"unicode", 2,"unicode_ci", 3,"binary", - 4,"unicode_numeric", - 5,"unicode_numeric_s2", - 6,"unicode_tur_s2" + 4,"unicode_s2", + 5,"unicode_numeric", + 6,"unicode_numeric_s2", + 7,"unicode_tur_s2" } ) diff --git a/test/sql/collation.result b/test/sql/collation.result index daea35543..7697f03d4 100644 --- a/test/sql/collation.result +++ b/test/sql/collation.result @@ -427,3 +427,114 @@ box.space.T4A:drop() box.space.T4B:drop() --- ... +-- +-- gh-4007 Feature request for a new collation +-- +-- Default unicode collation deals with russian letters +s = box.schema.space.create('t1') +--- +... +s:format({{name='s1', type='string', collation = 'unicode'}}) +--- +... +idx = s:create_index('pk', {unique = true, type='tree', parts={{'s1', collation = 'unicode'}}}) +--- +... +s:insert{'Ё'} +--- +- ['Ё'] +... +s:insert{'Е'} +--- +- ['Е'] +... +s:insert{'ё'} +--- +- ['ё'] +... +s:insert{'е'} +--- +- ['е'] +... +-- all 4 letters are in the table +s:select{} +--- +- - ['е'] + - ['Е'] + - ['ё'] + - ['Ё'] +... +s:drop() +--- +... +-- unicode_ci collation doesn't distinguish russian letters 'Е' and 'Ё' +s = box.schema.space.create('t1') +--- +... +s:format({{name='s1', type='string', collation = 'unicode_ci'}}) +--- +... +idx = s:create_index('pk', {unique = true, type='tree', parts={{'s1', collation = 'unicode_ci'}}}) +--- +... +s:insert{'Ё'} +--- +- ['Ё'] +... +-- the following calls should fail +s:insert{'е'} +--- +- error: Duplicate key exists in unique index 'pk' in space 't1' +... +s:insert{'Е'} +--- +- error: Duplicate key exists in unique index 'pk' in space 't1' +... +s:insert{'ё'} +--- +- error: Duplicate key exists in unique index 'pk' in space 't1' +... +-- return single 'Ё' +s:select{} +--- +- - ['Ё'] +... +s:drop() +--- +... +-- unicode_s2 collation does distinguish russian letters 'Е' and 'Ё' +s = box.schema.space.create('t1') +--- +... +s:format({{name='s1', type='string', collation = 'unicode_s2'}}) +--- +... +idx = s:create_index('pk', {unique = true, type='tree', parts={{'s1', collation = 'unicode_s2'}}}) +--- +... +s:insert{'Ё'} +--- +- ['Ё'] +... +s:insert{'е'} +--- +- ['е'] +... +-- the following calls should fail +s:insert{'Е'} +--- +- error: Duplicate key exists in unique index 'pk' in space 't1' +... +s:insert{'ё'} +--- +- error: Duplicate key exists in unique index 'pk' in space 't1' +... +-- return two: 'Ё' and 'е' +s:select{} +--- +- - ['е'] + - ['Ё'] +... +s:drop() +--- +... diff --git a/test/sql/collation.test.lua b/test/sql/collation.test.lua index 713a9bd89..e125274ef 100644 --- a/test/sql/collation.test.lua +++ b/test/sql/collation.test.lua @@ -172,3 +172,44 @@ box.sql.execute("SELECT a FROM t4b ORDER BY a || b") box.space.T4A:drop() box.space.T4B:drop() + +-- +-- gh-4007 Feature request for a new collation +-- +-- Default unicode collation deals with russian letters +s = box.schema.space.create('t1') +s:format({{name='s1', type='string', collation = 'unicode'}}) +idx = s:create_index('pk', {unique = true, type='tree', parts={{'s1', collation = 'unicode'}}}) +s:insert{'Ё'} +s:insert{'Е'} +s:insert{'ё'} +s:insert{'е'} +-- all 4 letters are in the table +s:select{} +s:drop() + +-- unicode_ci collation doesn't distinguish russian letters 'Е' and 'Ё' +s = box.schema.space.create('t1') +s:format({{name='s1', type='string', collation = 'unicode_ci'}}) +idx = s:create_index('pk', {unique = true, type='tree', parts={{'s1', collation = 'unicode_ci'}}}) +s:insert{'Ё'} +-- the following calls should fail +s:insert{'е'} +s:insert{'Е'} +s:insert{'ё'} +-- return single 'Ё' +s:select{} +s:drop() + +-- unicode_s2 collation does distinguish russian letters 'Е' and 'Ё' +s = box.schema.space.create('t1') +s:format({{name='s1', type='string', collation = 'unicode_s2'}}) +idx = s:create_index('pk', {unique = true, type='tree', parts={{'s1', collation = 'unicode_s2'}}}) +s:insert{'Ё'} +s:insert{'е'} +-- the following calls should fail +s:insert{'Е'} +s:insert{'ё'} +-- return two: 'Ё' and 'е' +s:select{} +s:drop() -- 2.17.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] Feature request for a new collation 2019-02-26 10:40 [PATCH v2] Feature request for a new collation Stanislav Zudin @ 2019-02-26 13:52 ` Vladimir Davydov 2019-02-28 12:14 ` [tarantool-patches] " Stanislav Zudin 0 siblings, 1 reply; 4+ messages in thread From: Vladimir Davydov @ 2019-02-26 13:52 UTC (permalink / raw) To: Stanislav Zudin; +Cc: tarantool-patches, kostja IMO the subject line would be more descriptive if it read box: add new unicode_s2 collation On Tue, Feb 26, 2019 at 01:40:42PM +0300, Stanislav Zudin wrote: > Adds a new default collation 'unicode_s2' to support the difference > between Cyrillic letters 'Е' and 'Ё'. The standard case insensitive > collation ('unicode_ci') doesn't distinguish these letters. > > Closes #4007 > --- > Branch: https://github.com/tarantool/tarantool/tree/stanztt/gh-4007-new-default-collation-2.1 > Issue: https://github.com/tarantool/tarantool/issues/4007 > > src/box/bootstrap.snap | Bin 1831 -> 1864 bytes > src/box/lua/upgrade.lua | 1 + > test/sql-tap/collation.test.lua | 7 +- > test/sql/collation.result | 111 ++++++++++++++++++++++++++++++++ > test/sql/collation.test.lua | 41 ++++++++++++ > 5 files changed, 157 insertions(+), 3 deletions(-) Tests still don't pass: https://travis-ci.org/tarantool/tarantool/builds/498654717?utm_source=github_status&utm_medium=notification Please fix. > diff --git a/src/box/lua/upgrade.lua b/src/box/lua/upgrade.lua > index 70cfb4f2e..84c559dac 100644 > --- a/src/box/lua/upgrade.lua > +++ b/src/box/lua/upgrade.lua > @@ -610,6 +610,7 @@ local function upgrade_to_2_1_0() As I said, we're about to release 2.1.2 so you should add upgrade_to_2_1_2 and add the collation there. > > box.space._collation:replace{0, "none", ADMIN, "BINARY", "", setmap{}} > box.space._collation:replace{3, "binary", ADMIN, "BINARY", "", setmap{}} > + box.space._collation:replace{4, "unicode_s2", ADMIN, "ICU", "ru_RU", {strength='secondary'}} As I mentioned earlier, name unicode_s2 looks way too generic for ru locale. IMO we should either use unicode_ru_s2 or unicode_ru. Also, currently we don't use s1/s2/s3 suffixes. Instead we used cs/ci. May be, we should use a suffix like that in this case too. I looked through Kostja's discussion with Mr. Gulutzan and I didn't see that they had come to an agreement to name this new collation unicode_s2. Please solicit their approval on the name. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [tarantool-patches] Re: [PATCH v2] Feature request for a new collation 2019-02-26 13:52 ` Vladimir Davydov @ 2019-02-28 12:14 ` Stanislav Zudin 2019-02-28 15:46 ` Vladimir Davydov 0 siblings, 1 reply; 4+ messages in thread From: Stanislav Zudin @ 2019-02-28 12:14 UTC (permalink / raw) To: tarantool-patches; +Cc: Vladimir Davydov The recent patch includes the updated tests and new name for the collation. On 26.02.2019 16:52, Vladimir Davydov wrote: > IMO the subject line would be more descriptive if it read > > box: add new unicode_s2 collation > > On Tue, Feb 26, 2019 at 01:40:42PM +0300, Stanislav Zudin wrote: >> Adds a new default collation 'unicode_s2' to support the difference >> between Cyrillic letters 'Е' and 'Ё'. The standard case insensitive >> collation ('unicode_ci') doesn't distinguish these letters. >> >> Closes #4007 >> --- >> Branch: https://github.com/tarantool/tarantool/tree/stanztt/gh-4007-new-default-collation-2.1 >> Issue: https://github.com/tarantool/tarantool/issues/4007 >> >> src/box/bootstrap.snap | Bin 1831 -> 1864 bytes >> src/box/lua/upgrade.lua | 1 + >> test/sql-tap/collation.test.lua | 7 +- >> test/sql/collation.result | 111 ++++++++++++++++++++++++++++++++ >> test/sql/collation.test.lua | 41 ++++++++++++ >> 5 files changed, 157 insertions(+), 3 deletions(-) > Tests still don't pass: > > https://travis-ci.org/tarantool/tarantool/builds/498654717?utm_source=github_status&utm_medium=notification > > Please fix. Fixed > >> diff --git a/src/box/lua/upgrade.lua b/src/box/lua/upgrade.lua >> index 70cfb4f2e..84c559dac 100644 >> --- a/src/box/lua/upgrade.lua >> +++ b/src/box/lua/upgrade.lua >> @@ -610,6 +610,7 @@ local function upgrade_to_2_1_0() > As I said, we're about to release 2.1.2 so you should add > upgrade_to_2_1_2 and add the collation there. done >> >> box.space._collation:replace{0, "none", ADMIN, "BINARY", "", setmap{}} >> box.space._collation:replace{3, "binary", ADMIN, "BINARY", "", setmap{}} >> + box.space._collation:replace{4, "unicode_s2", ADMIN, "ICU", "ru_RU", {strength='secondary'}} > As I mentioned earlier, name unicode_s2 looks way too generic for > ru locale. IMO we should either use unicode_ru_s2 or unicode_ru. > Also, currently we don't use s1/s2/s3 suffixes. Instead we used cs/ci. > May be, we should use a suffix like that in this case too. > > I looked through Kostja's discussion with Mr. Gulutzan and I didn't > see that they had come to an agreement to name this new collation > unicode_s2. Please solicit their approval on the name. Renamed to unicode_ru_s2. The updated patch is below: Branch: https://github.com/tarantool/tarantool/tree/stanztt/gh-4007-new-default-collation-2.1 Issue: https://github.com/tarantool/tarantool/issues/4007 src/box/bootstrap.snap | Bin 1831 -> 1867 bytes src/box/lua/upgrade.lua | 7 +- test/box/ddl.result | 14 ++-- test/box/net.box.result | 2 +- test/sql-tap/collation.test.lua | 7 +- test/sql/collation.result | 111 ++++++++++++++++++++++++++++++++ test/sql/collation.test.lua | 41 ++++++++++++ 7 files changed, 171 insertions(+), 11 deletions(-) diff --git a/src/box/bootstrap.snap b/src/box/bootstrap.snap index 0bb446fb6903ac3ef630c419b909f7db3df0372a..a0c436d0dac9593d88e87fefe5084e833d8bed2f 100644 GIT binary patch delta 1863 zcmV-N2e|mB4$BUZ8Gkb|I4x&pGBIUjVP#}63Q2BrbYX5|WjY`?GG;S1Fgau`GcYnT zEi^JQVJ%@eWic%_G&x}~IWsq8Ffup_RzqxWV{1AfdmtbnARr)p3JTS_3%bn)%K*;U z5SneJ0000004TLD{QyuEHUN4^h!07?SWN>cqM|H{q9~%Gb$^TUh>GZvX5Gkcfo*0U z^Ec&r*()=!Gn3-3q)ZYae>Wl1Q4$JjYudtRaDrKA3;S4dr=roZF%c_L2HybK0OkNL z@s({XeEpHwDqqd_XaqwdiFoT<qHR5^+jTZ!23W1F_!#V5%p1qN&#Sw0r#<-MGVj*! zEVyakvRP(?G=IHY!T#wLtw=upSVuaGQ?=)h->cqh{i^pWe&y?`ROXybOE?(;UjDk@ zwV)ieYw^RbT~{bC0bbhXn;JI&8<pWp+t$_KjKx>^HQ%(N+tnrd62u}#Y`*t(H}~08 z;$pUq$`DDDA31z##8@%T&tH~FB`#*8GNhB{?{59BnSYYGQ5klbP2R0Uwl%^ym?>oz z7$X)@xFp$9qs0fy3zbFzm3MC>^)dZ_JX^h*xvmDQICmT*>E9g{vr!qcc(+OVcdz0+ zHBi#!u5#6J<}lc(3_Jg=q|04Z#fh^($yH~QgV7cgZ%m2ky?pC9Zxk?b)um~ZfLpId znKcMDDu2UlAAes8cduu4wiCIwe2YXj-&Rcj>Uq91@cEW8$=`*3*V?2xF!a~8Uwh`N zvpHjc+m`-R<H}-{$aDX?>fygCrhHfV$0c=~G6gm&L(sNjn}eUsb{`(W7uTPMKGBI% z{w}u|e_dUgF$6X$!z+(d7UQ1lzD(b-4IywqY=2aSM>roi6pTCFc!1sL*mSVrV6%a>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_U;;{~ix4OzC?q3X4Ia+*1cr!ninwax4~%hK_LeTB&v zLjVBRs^4;QWQeYPv}dd-Dk13b>Y^0K&07c!{KzY;+^{zwba*L5k*TZ4R)2A5)rMV5 z1W#@}b)GGRnL+;xjWVv<D$TnPrhAM5C5b{upNYCzXQ?ndZ_JlrcixyU53||%^AMcJ zXn-!gCygMQX9hfEOg&wHPV7l;!Y8+w%G6)<X<;+(Ard$AAApCZBTbsYJgW!(nR&|J zKW8&<KWHVG1Y*2nb*s||dVfD!iR^d$j8txkAl2j9AER4<f-G5IreqOrTQ9UL|8iT+ z`jed*i{oi{_|G(#F*%Eg@(e*se+*q_EnS!*7j%53&FC-ksx8Q~^uVod^Bkx>ON?E8 zB&%*d-&__)6H<((ZgQw$7zx{+W69LE*&h?7B7a<sAC~}Z0mJEG=YKq-7ghsTx}5mh zm2YW>?Z;EnR68??zGSv7f?8y1z%Mw_woZ)_#d6LLT2tbG!rMPqA;^9qOVp6)w)Uk3 zWj-M@9sOHqC33{?D9#~wr0H7TN8Lc)Ob&^*Dez)Cm?wW<i_>jj;1n9Cw{1vsrpxC{ z>={t>jCkioCWhRtm4EX|*239%3IO;oK41!#Ues%p1qCUL?4u+<m}YW<L(kyhjyf?G zTJAly-7>J7ywZd0|9Dm~is&PHOHUGW6(y5)oZ3z2@GO5Ksw8hRS@Hb?aZr+0cGNIK z43t=2$s?w>#u23tKrzBb1(Hfa^nV<p45fgF?oxj_`)Ep_UK{`xaiyL&vvbKES-e0i R9JX=Dom4Gm<qp*lt?k>YT~h!6 diff --git a/src/box/lua/upgrade.lua b/src/box/lua/upgrade.lua index 70cfb4f2e..09af2e20d 100644 --- a/src/box/lua/upgrade.lua +++ b/src/box/lua/upgrade.lua @@ -614,6 +614,10 @@ local function upgrade_to_2_1_0() upgrade_priv_to_2_1_0() end +local function upgrade_to_2_1_2() + box.space._collation:replace{4, "unicode_ru_s2", ADMIN, "ICU", "ru_RU", {strength='secondary'}} +end + local function get_version() local version = box.space._schema:get{'version'} if version == nil then @@ -641,7 +645,8 @@ local function upgrade(options) {version = mkversion(1, 7, 7), func = upgrade_to_1_7_7, auto = true}, {version = mkversion(1, 10, 0), func = upgrade_to_1_10_0, auto = true}, {version = mkversion(1, 10, 2), func = upgrade_to_1_10_2, auto = true}, - {version = mkversion(2, 1, 0), func = upgrade_to_2_1_0, auto = true} + {version = mkversion(2, 1, 0), func = upgrade_to_2_1_0, auto = true}, + {version = mkversion(2, 1, 2), func = upgrade_to_2_1_2, auto = true} } for _, handler in ipairs(handlers) do diff --git a/test/box/ddl.result b/test/box/ddl.result index 3d6d07f43..bffa19a8c 100644 --- a/test/box/ddl.result +++ b/test/box/ddl.result @@ -350,7 +350,7 @@ box.space._collation:auto_increment{'test', 0, 'ICU', 42} ... box.space._collation:auto_increment{'test', 0, 'ICU', 'ru_RU', setmap{}} --ok --- -- [4, 'test', 0, 'ICU', 'ru_RU', {}] +- [5, 'test', 0, 'ICU', 'ru_RU', {}] ... box.space._collation:auto_increment{'test', 0, 'ICU', 'ru_RU', setmap{}} --- @@ -358,7 +358,7 @@ box.space._collation:auto_increment{'test', 0, 'ICU', 'ru_RU', setmap{}} ... box.space._collation.index.name:delete{'test'} -- ok --- -- [4, 'test', 0, 'ICU', 'ru_RU', {}] +- [5, 'test', 0, 'ICU', 'ru_RU', {}] ... box.space._collation.index.name:delete{'nothing'} -- allowed --- @@ -474,7 +474,7 @@ _ = box.space._collation.index.name:delete{'test'} -- ok ... box.space._collation:auto_increment{'test', 0, 'ICU', 'ru_RU', setmap{}} --- -- [4, 'test', 0, 'ICU', 'ru_RU', {}] +- [5, 'test', 0, 'ICU', 'ru_RU', {}] ... box.space._collation:select{} --- @@ -482,7 +482,8 @@ box.space._collation:select{} - [1, 'unicode', 1, 'ICU', '', {}] - [2, 'unicode_ci', 1, 'ICU', '', {'strength': 'primary'}] - [3, 'binary', 1, 'BINARY', '', {}] - - [4, 'test', 0, 'ICU', 'ru_RU', {}] + - [4, 'unicode_ru_s2', 1, 'ICU', 'ru_RU', {'strength': 'secondary'}] + - [5, 'test', 0, 'ICU', 'ru_RU', {}] ... test_run:cmd('restart server default') box.space._collation:select{} @@ -491,11 +492,12 @@ box.space._collation:select{} - [1, 'unicode', 1, 'ICU', '', {}] - [2, 'unicode_ci', 1, 'ICU', '', {'strength': 'primary'}] - [3, 'binary', 1, 'BINARY', '', {}] - - [4, 'test', 0, 'ICU', 'ru_RU', {}] + - [4, 'unicode_ru_s2', 1, 'ICU', 'ru_RU', {'strength': 'secondary'}] + - [5, 'test', 0, 'ICU', 'ru_RU', {}] ... box.space._collation.index.name:delete{'test'} --- -- [4, 'test', 0, 'ICU', 'ru_RU', {}] +- [5, 'test', 0, 'ICU', 'ru_RU', {}] ... -- -- gh-3290: expose ICU into Lua. It uses built-in collations, that diff --git a/test/box/net.box.result b/test/box/net.box.result index b800531b4..67bb29a39 100644 --- a/test/box/net.box.result +++ b/test/box/net.box.result @@ -2666,7 +2666,7 @@ c.space.test.index.sk.parts --- - - type: string is_nullable: false - collation_id: 4 + collation_id: 5 fieldno: 1 ... c:close() diff --git a/test/sql-tap/collation.test.lua b/test/sql-tap/collation.test.lua index 1e55b0092..cec980423 100755 --- a/test/sql-tap/collation.test.lua +++ b/test/sql-tap/collation.test.lua @@ -21,9 +21,10 @@ test:do_execsql_test( 1,"unicode", 2,"unicode_ci", 3,"binary", - 4,"unicode_numeric", - 5,"unicode_numeric_s2", - 6,"unicode_tur_s2" + 4,"unicode_ru_s2", + 5,"unicode_numeric", + 6,"unicode_numeric_s2", + 7,"unicode_tur_s2" } ) diff --git a/test/sql/collation.result b/test/sql/collation.result index daea35543..8337dde0e 100644 --- a/test/sql/collation.result +++ b/test/sql/collation.result @@ -427,3 +427,114 @@ box.space.T4A:drop() box.space.T4B:drop() --- ... +-- +-- gh-4007 Feature request for a new collation +-- +-- Default unicode collation deals with russian letters +s = box.schema.space.create('t1') +--- +... +s:format({{name='s1', type='string', collation = 'unicode'}}) +--- +... +idx = s:create_index('pk', {unique = true, type='tree', parts={{'s1', collation = 'unicode'}}}) +--- +... +s:insert{'Ё'} +--- +- ['Ё'] +... +s:insert{'Е'} +--- +- ['Е'] +... +s:insert{'ё'} +--- +- ['ё'] +... +s:insert{'е'} +--- +- ['е'] +... +-- all 4 letters are in the table +s:select{} +--- +- - ['е'] + - ['Е'] + - ['ё'] + - ['Ё'] +... +s:drop() +--- +... +-- unicode_ci collation doesn't distinguish russian letters 'Е' and 'Ё' +s = box.schema.space.create('t1') +--- +... +s:format({{name='s1', type='string', collation = 'unicode_ci'}}) +--- +... +idx = s:create_index('pk', {unique = true, type='tree', parts={{'s1', collation = 'unicode_ci'}}}) +--- +... +s:insert{'Ё'} +--- +- ['Ё'] +... +-- the following calls should fail +s:insert{'е'} +--- +- error: Duplicate key exists in unique index 'pk' in space 't1' +... +s:insert{'Е'} +--- +- error: Duplicate key exists in unique index 'pk' in space 't1' +... +s:insert{'ё'} +--- +- error: Duplicate key exists in unique index 'pk' in space 't1' +... +-- return single 'Ё' +s:select{} +--- +- - ['Ё'] +... +s:drop() +--- +... +-- unicode_s2 collation does distinguish russian letters 'Е' and 'Ё' +s = box.schema.space.create('t1') +--- +... +s:format({{name='s1', type='string', collation = 'unicode_ru_s2'}}) +--- +... +idx = s:create_index('pk', {unique = true, type='tree', parts={{'s1', collation = 'unicode_ru_s2'}}}) +--- +... +s:insert{'Ё'} +--- +- ['Ё'] +... +s:insert{'е'} +--- +- ['е'] +... +-- the following calls should fail +s:insert{'Е'} +--- +- error: Duplicate key exists in unique index 'pk' in space 't1' +... +s:insert{'ё'} +--- +- error: Duplicate key exists in unique index 'pk' in space 't1' +... +-- return two: 'Ё' and 'е' +s:select{} +--- +- - ['е'] + - ['Ё'] +... +s:drop() +--- +... diff --git a/test/sql/collation.test.lua b/test/sql/collation.test.lua index 713a9bd89..6f4ef08f3 100644 --- a/test/sql/collation.test.lua +++ b/test/sql/collation.test.lua @@ -172,3 +172,44 @@ box.sql.execute("SELECT a FROM t4b ORDER BY a || b") box.space.T4A:drop() box.space.T4B:drop() + +-- +-- gh-4007 Feature request for a new collation +-- +-- Default unicode collation deals with russian letters +s = box.schema.space.create('t1') +s:format({{name='s1', type='string', collation = 'unicode'}}) +idx = s:create_index('pk', {unique = true, type='tree', parts={{'s1', collation = 'unicode'}}}) +s:insert{'Ё'} +s:insert{'Е'} +s:insert{'ё'} +s:insert{'е'} +-- all 4 letters are in the table +s:select{} +s:drop() + +-- unicode_ci collation doesn't distinguish russian letters 'Е' and 'Ё' +s = box.schema.space.create('t1') +s:format({{name='s1', type='string', collation = 'unicode_ci'}}) +idx = s:create_index('pk', {unique = true, type='tree', parts={{'s1', collation = 'unicode_ci'}}}) +s:insert{'Ё'} +-- the following calls should fail +s:insert{'е'} +s:insert{'Е'} +s:insert{'ё'} +-- return single 'Ё' +s:select{} +s:drop() + +-- unicode_s2 collation does distinguish russian letters 'Е' and 'Ё' +s = box.schema.space.create('t1') +s:format({{name='s1', type='string', collation = 'unicode_ru_s2'}}) +idx = s:create_index('pk', {unique = true, type='tree', parts={{'s1', collation = 'unicode_ru_s2'}}}) +s:insert{'Ё'} +s:insert{'е'} +-- the following calls should fail +s:insert{'Е'} +s:insert{'ё'} +-- return two: 'Ё' and 'е' +s:select{} +s:drop() -- 2.17.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [tarantool-patches] Re: [PATCH v2] Feature request for a new collation 2019-02-28 12:14 ` [tarantool-patches] " Stanislav Zudin @ 2019-02-28 15:46 ` Vladimir Davydov 0 siblings, 0 replies; 4+ messages in thread From: Vladimir Davydov @ 2019-02-28 15:46 UTC (permalink / raw) To: Stanislav Zudin; +Cc: tarantool-patches On Thu, Feb 28, 2019 at 03:14:51PM +0300, Stanislav Zudin wrote: > > I looked through Kostja's discussion with Mr. Gulutzan and I didn't > > see that they had come to an agreement to name this new collation > > unicode_s2. Please solicit their approval on the name. > Renamed to unicode_ru_s2. Kostja doesn't like the name. Please find his discussion with Mr. Gulutzan in the mailing list, come up with a better one, and solicit his approval. > > The updated patch is below: > > Branch: https://github.com/tarantool/tarantool/tree/stanztt/gh-4007-new-default-collation-2.1 > Issue: https://github.com/tarantool/tarantool/issues/4007 > > src/box/bootstrap.snap | Bin 1831 -> 1867 bytes > src/box/lua/upgrade.lua | 7 +- > test/box/ddl.result | 14 ++-- > test/box/net.box.result | 2 +- > test/sql-tap/collation.test.lua | 7 +- > test/sql/collation.result | 111 ++++++++++++++++++++++++++++++++ > test/sql/collation.test.lua | 41 ++++++++++++ > 7 files changed, 171 insertions(+), 11 deletions(-) Tests still fail on Travis CI: https://travis-ci.org/tarantool/tarantool/builds/499767531?utm_source=github_status&utm_medium=notification [016] box-py/bootstrap.test.py [ fail ] [016] [016] Test failed! Result content mismatch: [016] --- box-py/bootstrap.result Thu Feb 28 12:11:15 2019 [016] +++ box-py/bootstrap.reject Thu Feb 28 12:18:54 2019 [016] @@ -4,7 +4,7 @@ [016] box.space._schema:select{} [016] --- [016] - - ['max_id', 511] [016] - - ['version', 2, 1, 0] [016] + - ['version', 2, 1, 2] [016] ... [016] box.space._cluster:select{} [016] --- > diff --git a/src/box/lua/upgrade.lua b/src/box/lua/upgrade.lua > index 70cfb4f2e..09af2e20d 100644 > --- a/src/box/lua/upgrade.lua > +++ b/src/box/lua/upgrade.lua > @@ -614,6 +614,10 @@ local function upgrade_to_2_1_0() > upgrade_priv_to_2_1_0() > end > > +local function upgrade_to_2_1_2() > + box.space._collation:replace{4, "unicode_ru_s2", ADMIN, "ICU", "ru_RU", > {strength='secondary'}} > +end > + > local function get_version() > local version = box.space._schema:get{'version'} > if version == nil then > @@ -641,7 +645,8 @@ local function upgrade(options) > {version = mkversion(1, 7, 7), func = upgrade_to_1_7_7, auto = > true}, > {version = mkversion(1, 10, 0), func = upgrade_to_1_10_0, auto = > true}, > {version = mkversion(1, 10, 2), func = upgrade_to_1_10_2, auto = > true}, > - {version = mkversion(2, 1, 0), func = upgrade_to_2_1_0, auto = > true} > + {version = mkversion(2, 1, 0), func = upgrade_to_2_1_0, auto = > true}, > + {version = mkversion(2, 1, 2), func = upgrade_to_2_1_2, auto = > true} The patch is mangled. Please fix your MUA so as it doesn't mangle plain text emails. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-02-28 15:46 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-02-26 10:40 [PATCH v2] Feature request for a new collation Stanislav Zudin 2019-02-26 13:52 ` Vladimir Davydov 2019-02-28 12:14 ` [tarantool-patches] " Stanislav Zudin 2019-02-28 15:46 ` Vladimir Davydov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox