Skip to content

Commit 8a8d541

Browse files
committed
update canon data
1 parent 707e4f2 commit 8a8d541

File tree

6 files changed

+32
-6
lines changed

6 files changed

+32
-6
lines changed

ydb/library/yql/tests/sql/dq_file/part16/canondata/result.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,9 +1892,9 @@
18921892
],
18931893
"test.test[match_recognize-test_type-default.txt-Debug]": [
18941894
{
1895-
"checksum": "cb5512aae3f5566055b2388be6d114af",
1896-
"size": 3220,
1897-
"uri": "https://{canondata_backend}/1937367/518bbcf510ad7a43c5e77746bafd21ed0e3fdc6e/resource.tar.gz#test.test_match_recognize-test_type-default.txt-Debug_/opt.yql_patched"
1895+
"checksum": "648119cc488bae598a0936f9d2c82b7e",
1896+
"size": 3458,
1897+
"uri": "https://{canondata_backend}/1916746/c4d7dbc720e57397caf847cd2616b1362110ddd2/resource.tar.gz#test.test_match_recognize-test_type-default.txt-Debug_/opt.yql_patched"
18981898
}
18991899
],
19001900
"test.test[match_recognize-test_type-default.txt-Plan]": [

ydb/library/yql/tests/sql/dq_file/part17/canondata/result.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,9 +1717,9 @@
17171717
],
17181718
"test.test[match_recognize-alerts-default.txt-Debug]": [
17191719
{
1720-
"checksum": "782bb90b80a43308dfef1dbd81055b12",
1721-
"size": 5618,
1722-
"uri": "https://{canondata_backend}/1942173/e32f1de19c4f2770a6f215d1dc22bc97e318bf22/resource.tar.gz#test.test_match_recognize-alerts-default.txt-Debug_/opt.yql_patched"
1720+
"checksum": "c8b1e13d6da573f8a1afd415db1d00e7",
1721+
"size": 5787,
1722+
"uri": "https://{canondata_backend}/1775319/86ab0de654a60bf1e3145a3d8e3d7eae4a9f26b8/resource.tar.gz#test.test_match_recognize-alerts-default.txt-Debug_/opt.yql_patched"
17231723
}
17241724
],
17251725
"test.test[match_recognize-alerts-default.txt-Plan]": [

ydb/library/yql/tests/sql/dq_file/part7/canondata/result.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1812,6 +1812,11 @@
18121812
}
18131813
],
18141814
"test.test[match_recognize-simple_paritioning-default.txt-Results]": [],
1815+
"test.test[match_recognize-without_order_by--Results]": [
1816+
{
1817+
"uri": "file://test.test_match_recognize-without_order_by--Results_/extracted"
1818+
}
1819+
],
18151820
"test.test[optimizers-combinebykey_fields_subset--Analyze]": [
18161821
{
18171822
"checksum": "7bed37d7e9b15a7d4515b8cda8e73b3e",

ydb/library/yql/tests/sql/suites/match_recognize/test_type.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ $data = [<|dt:4, host:"fqdn1", key:14|>];
77

88
-- NoPartitionNoMeasure
99
select * from AS_TABLE($data) MATCH_RECOGNIZE(
10+
ORDER BY CAST(dt as Timestamp)
1011
ONE ROW PER MATCH
1112
AFTER MATCH SKIP TO NEXT ROW
1213
PATTERN (
@@ -18,6 +19,7 @@ select * from AS_TABLE($data) MATCH_RECOGNIZE(
1819

1920
--NoPartitionStringMeasure
2021
select * from AS_TABLE($data) MATCH_RECOGNIZE(
22+
ORDER BY CAST(dt as Timestamp)
2123
MEASURES
2224
"SomeString" as Measure1
2325
ONE ROW PER MATCH
@@ -32,6 +34,7 @@ select * from AS_TABLE($data) MATCH_RECOGNIZE(
3234
--IntPartitionColNoMeasure
3335
select * from AS_TABLE($data) MATCH_RECOGNIZE(
3436
PARTITION BY dt
37+
ORDER BY CAST(dt as Timestamp)
3538
ONE ROW PER MATCH
3639
AFTER MATCH SKIP TO NEXT ROW
3740
PATTERN (
@@ -44,6 +47,7 @@ select * from AS_TABLE($data) MATCH_RECOGNIZE(
4447
--StringPartitionColStringMeasure
4548
select * from AS_TABLE($data) MATCH_RECOGNIZE(
4649
PARTITION BY host
50+
ORDER BY CAST(dt as Timestamp)
4751
MEASURES
4852
"SomeString" as Measure1
4953
ONE ROW PER MATCH
@@ -58,6 +62,7 @@ select * from AS_TABLE($data) MATCH_RECOGNIZE(
5862
--TwoPartitionColsTwoMeasures
5963
select * from AS_TABLE($data) MATCH_RECOGNIZE(
6064
PARTITION BY host, dt
65+
ORDER BY CAST(dt as Timestamp)
6166
MEASURES
6267
"SomeString" as S,
6368
345 as I
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
xfail
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
pragma FeatureR010="prototype";
2+
pragma config.flags("MatchRecognizeStream", "disable");
3+
4+
USE plato;
5+
6+
$data = [<||>];
7+
8+
select * from (select * from AS_TABLE($data) MATCH_RECOGNIZE(
9+
AFTER MATCH SKIP TO NEXT ROW
10+
PATTERN (
11+
A
12+
)
13+
DEFINE
14+
A as True
15+
));

0 commit comments

Comments
 (0)