mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
add fasttest
This commit is contained in:
parent
829a9a4d83
commit
b9f8fe922d
100
tests/queries/0_stateless/02205_postgresql_functions.reference
Normal file
100
tests/queries/0_stateless/02205_postgresql_functions.reference
Normal file
@ -0,0 +1,100 @@
|
||||
1 1
|
||||
1 1
|
||||
1 1
|
||||
1 1
|
||||
. . . 1
|
||||
. . . 1
|
||||
. . . 1
|
||||
._ .o .o 1
|
||||
. . . 1
|
||||
_. o. o. 1
|
||||
. . . 1
|
||||
_._ o.o o.o 1
|
||||
._ .o .o 1
|
||||
. . . 1
|
||||
._ .o .o 1
|
||||
._ .o .o 1
|
||||
._ .o .o 1
|
||||
_. o. o. 1
|
||||
._ .o .o 1
|
||||
_._ o.o o.o 1
|
||||
_. o. o. 1
|
||||
. . . 1
|
||||
_. o. o. 1
|
||||
._ .o .o 1
|
||||
_. o. o. 1
|
||||
_. o. o. 1
|
||||
_. o. o. 1
|
||||
_._ o.o o.o 1
|
||||
_._ o.o o.o 1
|
||||
. . . 1
|
||||
_._ o.o o.o 1
|
||||
._ .o .o 1
|
||||
_._ o.o o.o 1
|
||||
_. o. o. 1
|
||||
_._ o.o o.o 1
|
||||
_._ o.o o.o 1
|
||||
. . . 1
|
||||
. . . 1
|
||||
. . . 1
|
||||
._ .oo .oo 1
|
||||
. . . 1
|
||||
_. oo. oo. 1
|
||||
. . . 1
|
||||
_._ oo.oo oo.oo 1
|
||||
._ .oo .oo 1
|
||||
. . . 1
|
||||
._ .oo .oo 1
|
||||
._ .oo .oo 1
|
||||
._ .oo .oo 1
|
||||
_. oo. oo. 1
|
||||
._ .oo .oo 1
|
||||
_._ oo.oo oo.oo 1
|
||||
_. oo. oo. 1
|
||||
. . . 1
|
||||
_. oo. oo. 1
|
||||
._ .oo .oo 1
|
||||
_. oo. oo. 1
|
||||
_. oo. oo. 1
|
||||
_. oo. oo. 1
|
||||
_._ oo.oo oo.oo 1
|
||||
_._ oo.oo oo.oo 1
|
||||
. . . 1
|
||||
_._ oo.oo oo.oo 1
|
||||
._ .oo .oo 1
|
||||
_._ oo.oo oo.oo 1
|
||||
_. oo. oo. 1
|
||||
_._ oo.oo oo.oo 1
|
||||
_._ oo.oo oo.oo 1
|
||||
. . . 1
|
||||
. . . 1
|
||||
. . . 1
|
||||
.__ .oo .oo 1
|
||||
. . . 1
|
||||
__. oo. oo. 1
|
||||
. . . 1
|
||||
__.__ oo.oo oo.oo 1
|
||||
.__ .oo .oo 1
|
||||
. . . 1
|
||||
.__ .oo .oo 1
|
||||
.__ .oo .oo 1
|
||||
.__ .oo .oo 1
|
||||
__. oo. oo. 1
|
||||
.__ .oo .oo 1
|
||||
__.__ oo.oo oo.oo 1
|
||||
__. oo. oo. 1
|
||||
. . . 1
|
||||
__. oo. oo. 1
|
||||
.__ .oo .oo 1
|
||||
__. oo. oo. 1
|
||||
__. oo. oo. 1
|
||||
__. oo. oo. 1
|
||||
__.__ oo.oo oo.oo 1
|
||||
__.__ oo.oo oo.oo 1
|
||||
. . . 1
|
||||
__.__ oo.oo oo.oo 1
|
||||
.__ .oo .oo 1
|
||||
__.__ oo.oo oo.oo 1
|
||||
__. oo. oo. 1
|
||||
__.__ oo.oo oo.oo 1
|
||||
__.__ oo.oo oo.oo 1
|
59
tests/queries/0_stateless/02205_postgresql_functions.sql
Normal file
59
tests/queries/0_stateless/02205_postgresql_functions.sql
Normal file
@ -0,0 +1,59 @@
|
||||
--- REGEXP_MATCHES
|
||||
select match('a key="v" ', 'key="(.*?)"'), REGEXP_MATCHES('a key="v" ', 'key="(.*?)"');
|
||||
select match(materialize('a key="v" '), 'key="(.*?)"'), REGEXP_MATCHES(materialize('a key="v" '), 'key="(.*?)"');
|
||||
|
||||
select match('\0 key="v" ', 'key="(.*?)"'), REGEXP_MATCHES('\0 key="v" ', 'key="(.*?)"');
|
||||
select match(materialize('\0 key="v" '), 'key="(.*?)"'), REGEXP_MATCHES(materialize('\0 key="v" '), 'key="(.*?)"');
|
||||
|
||||
|
||||
--- REGEXP_REPLACE
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['.', '.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['.', '._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['.', '_.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['.', '_._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['._', '.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['._', '._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['._', '_.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['._', '_._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['_.', '.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['_.', '._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['_.', '_.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['_.', '_._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['_._', '.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['_._', '._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['_._', '_.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['_._', '_._']) AS s);
|
||||
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['.', '.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['.', '._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['.', '_.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['.', '_._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['._', '.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['._', '._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['._', '_.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['._', '_._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['_.', '.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['_.', '._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['_.', '_.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['_.', '_._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['_._', '.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['_._', '._']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['_._', '_.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'oo') AS a, REGEXP_REPLACE(s, '_', 'oo') AS b, a = b FROM (SELECT arrayJoin(['_._', '_._']) AS s);
|
||||
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['.', '.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['.', '.__']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['.', '__.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['.', '__.__']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['.__', '.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['.__', '.__']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['.__', '__.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['.__', '__.__']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['__.', '.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['__.', '.__']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['__.', '__.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['__.', '__.__']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['__.__', '.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['__.__', '.__']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['__.__', '__.']) AS s);
|
||||
SELECT s, replaceAll(s, '_', 'o') AS a, REGEXP_REPLACE(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['__.__', '__.__']) AS s);
|
Loading…
Reference in New Issue
Block a user