Skip to content

Commit b182224

Browse files
linq2dbotAzure Pipelines Bot
andauthored
Baselines for linq2db/linq2db#5137 (#1542)
* [Windows / SQLite (specialized tests)] baselines * [Windows / SQL Server 2005] baselines * [Windows / SQLite (both providers)] baselines * [Windows / SQL Server 2012] baselines * [Windows / SQL Server 2016] baselines * [Windows / SQL Server 2008] baselines * [Windows / SQL Server 2014] baselines * [Linux / DB2 LUW 11.5] baselines * [Linux / Firebird 2.5] baselines * [Linux / Firebird 4.0] baselines * [Linux / Firebird 3.0] baselines * [Linux / Firebird 5.0] baselines * [Linux / Informix 14.10] baselines * [Windows / SQL Server 2017] baselines * [Linux / MariaDB 11] baselines * [Linux / ClickHouse Driver] baselines * [Linux / ClickHouse MySql] baselines * [Windows / SQL Server 2019] baselines * [Linux / MySQL 9 (both providers)] baselines * [Linux / Oracle 11g XE] baselines * [Linux / PostgreSQL 13] baselines * [Windows / SQL Server 2022] baselines * [Linux / PostgreSQL 14] baselines * [Linux / Oracle 21c] baselines * [Linux / Oracle 12c] baselines * [Linux / Oracle 18c] baselines * [Windows / SQL Server 2025] baselines * [Linux / PostgreSQL 15] baselines * [Linux / PostgreSQL 16] baselines * [Linux / PostgreSQL 17] baselines * [Linux / PostgreSQL 18] baselines * [Linux / ClickHouse Octonica] baselines * [Linux / Oracle 23c] baselines * [Linux / Oracle 19c] baselines * [Windows / SQL Server EXTRAS] baselines --------- Co-authored-by: Azure Pipelines Bot <[email protected]>
1 parent d44d09a commit b182224

File tree

219 files changed

+11812
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+11812
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
BeforeExecute
2+
-- ClickHouse.Driver ClickHouse (asynchronously)
3+
4+
WITH RECURSIVE d AS
5+
(
6+
SELECT
7+
a.name as FullName,
8+
a.id,
9+
a.parent_id,
10+
a.name
11+
FROM
12+
Dto a
13+
WHERE
14+
a.parent_id IS NULL
15+
UNION ALL
16+
SELECT
17+
concat(recur.FullName, ' > ', t1.name) as FullName,
18+
t1.id as id,
19+
t1.parent_id as parent_id,
20+
t1.name as name
21+
FROM
22+
Dto t1
23+
INNER JOIN d recur ON recur.id = t1.parent_id
24+
)
25+
SELECT
26+
t2.id,
27+
t2.parent_id,
28+
t2.name,
29+
t2.FullName
30+
FROM
31+
d t2
32+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
BeforeExecute
2+
-- ClickHouse.Driver ClickHouse (asynchronously)
3+
4+
WITH RECURSIVE d AS
5+
(
6+
SELECT
7+
a.name as FullName,
8+
a.id as Dto_id,
9+
a.name as Dto_name,
10+
a.parent_id as Dto_parent_id,
11+
a.FullName as Dto_FullName
12+
FROM
13+
Dto a
14+
WHERE
15+
a.parent_id IS NULL
16+
UNION ALL
17+
SELECT
18+
concat(recur.FullName, ' > ', t1.name) as FullName,
19+
t1.id as Dto_id,
20+
t1.name as Dto_name,
21+
t1.parent_id as Dto_parent_id,
22+
t1.FullName as Dto_FullName
23+
FROM
24+
Dto t1
25+
INNER JOIN d recur ON recur.Dto_id = t1.parent_id
26+
)
27+
SELECT
28+
t2.Dto_id,
29+
t2.Dto_name,
30+
t2.Dto_parent_id,
31+
t2.Dto_FullName,
32+
t2.FullName
33+
FROM
34+
d t2
35+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
BeforeExecute
2+
-- ClickHouse.Driver ClickHouse (asynchronously)
3+
4+
WITH RECURSIVE cte AS
5+
(
6+
SELECT
7+
r.Value2,
8+
r.Value4
9+
FROM
10+
CteTable r
11+
UNION ALL
12+
SELECT
13+
r_1.Value2 as Value2,
14+
r_1.Value4 as Value4
15+
FROM
16+
cte t1
17+
INNER JOIN CteTable r_1 ON t1.Value2 = r_1.Value3
18+
)
19+
SELECT
20+
m_1.Id,
21+
d_1.Id,
22+
d_1.Value1,
23+
d_1.Value2,
24+
d_1.Value3,
25+
d_1.Value4,
26+
d_1.Value5
27+
FROM
28+
(
29+
SELECT DISTINCT
30+
d.Id as Id
31+
FROM
32+
cte t2
33+
LEFT JOIN CteChildTable d ON t2.Value4 = d.Id
34+
) m_1
35+
INNER JOIN CteTable d_1 ON m_1.Id = d_1.Value3
36+
37+
BeforeExecute
38+
-- ClickHouse.Driver ClickHouse (asynchronously)
39+
40+
WITH RECURSIVE cte AS
41+
(
42+
SELECT
43+
r.Id,
44+
r.Value1,
45+
r.Value2,
46+
r.Value3,
47+
r.Value4,
48+
r.Value5
49+
FROM
50+
CteTable r
51+
UNION ALL
52+
SELECT
53+
r_1.Id as Id,
54+
r_1.Value1 as Value1,
55+
r_1.Value2 as Value2,
56+
r_1.Value3 as Value3,
57+
r_1.Value4 as Value4,
58+
r_1.Value5 as Value5
59+
FROM
60+
cte t1
61+
INNER JOIN CteTable r_1 ON t1.Value2 = r_1.Value3
62+
)
63+
SELECT
64+
t2.Id,
65+
t2.Value1,
66+
t2.Value2,
67+
t2.Value3,
68+
t2.Value4,
69+
t2.Value5,
70+
d.Id
71+
FROM
72+
cte t2
73+
LEFT JOIN CteChildTable d ON t2.Value4 = d.Id
74+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
BeforeExecute
2+
-- ClickHouse.Driver ClickHouse (asynchronously)
3+
4+
SELECT
5+
t1.ParentID,
6+
t1.Value1
7+
FROM
8+
Parent t1
9+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
BeforeExecute
2+
-- ClickHouse.Driver ClickHouse (asynchronously)
3+
4+
SELECT
5+
t1.ParentID,
6+
t1.Value1
7+
FROM
8+
Parent t1
9+
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
BeforeExecute
2+
-- ClickHouse.MySql ClickHouse (asynchronously)
3+
4+
WITH RECURSIVE d AS
5+
(
6+
SELECT
7+
a.name as FullName,
8+
a.id,
9+
a.parent_id,
10+
a.name
11+
FROM
12+
Dto a
13+
WHERE
14+
a.parent_id IS NULL
15+
UNION ALL
16+
SELECT
17+
concat(recur.FullName, ' > ', t1.name) as FullName,
18+
t1.id as id,
19+
t1.parent_id as parent_id,
20+
t1.name as name
21+
FROM
22+
Dto t1
23+
INNER JOIN d recur ON recur.id = t1.parent_id
24+
)
25+
SELECT
26+
t2.id,
27+
t2.parent_id,
28+
t2.name,
29+
t2.FullName
30+
FROM
31+
d t2
32+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
BeforeExecute
2+
-- ClickHouse.MySql ClickHouse (asynchronously)
3+
4+
WITH RECURSIVE d AS
5+
(
6+
SELECT
7+
a.name as FullName,
8+
a.id as Dto_id,
9+
a.name as Dto_name,
10+
a.parent_id as Dto_parent_id,
11+
a.FullName as Dto_FullName
12+
FROM
13+
Dto a
14+
WHERE
15+
a.parent_id IS NULL
16+
UNION ALL
17+
SELECT
18+
concat(recur.FullName, ' > ', t1.name) as FullName,
19+
t1.id as Dto_id,
20+
t1.name as Dto_name,
21+
t1.parent_id as Dto_parent_id,
22+
t1.FullName as Dto_FullName
23+
FROM
24+
Dto t1
25+
INNER JOIN d recur ON recur.Dto_id = t1.parent_id
26+
)
27+
SELECT
28+
t2.Dto_id,
29+
t2.Dto_name,
30+
t2.Dto_parent_id,
31+
t2.Dto_FullName,
32+
t2.FullName
33+
FROM
34+
d t2
35+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
BeforeExecute
2+
-- ClickHouse.MySql ClickHouse (asynchronously)
3+
4+
WITH RECURSIVE cte AS
5+
(
6+
SELECT
7+
r.Value2,
8+
r.Value4
9+
FROM
10+
CteTable r
11+
UNION ALL
12+
SELECT
13+
r_1.Value2 as Value2,
14+
r_1.Value4 as Value4
15+
FROM
16+
cte t1
17+
INNER JOIN CteTable r_1 ON t1.Value2 = r_1.Value3
18+
)
19+
SELECT
20+
m_1.Id,
21+
d_1.Id,
22+
d_1.Value1,
23+
d_1.Value2,
24+
d_1.Value3,
25+
d_1.Value4,
26+
d_1.Value5
27+
FROM
28+
(
29+
SELECT DISTINCT
30+
d.Id as Id
31+
FROM
32+
cte t2
33+
LEFT JOIN CteChildTable d ON t2.Value4 = d.Id
34+
) m_1
35+
INNER JOIN CteTable d_1 ON m_1.Id = d_1.Value3
36+
37+
BeforeExecute
38+
-- ClickHouse.MySql ClickHouse (asynchronously)
39+
40+
WITH RECURSIVE cte AS
41+
(
42+
SELECT
43+
r.Id,
44+
r.Value1,
45+
r.Value2,
46+
r.Value3,
47+
r.Value4,
48+
r.Value5
49+
FROM
50+
CteTable r
51+
UNION ALL
52+
SELECT
53+
r_1.Id as Id,
54+
r_1.Value1 as Value1,
55+
r_1.Value2 as Value2,
56+
r_1.Value3 as Value3,
57+
r_1.Value4 as Value4,
58+
r_1.Value5 as Value5
59+
FROM
60+
cte t1
61+
INNER JOIN CteTable r_1 ON t1.Value2 = r_1.Value3
62+
)
63+
SELECT
64+
t2.Id,
65+
t2.Value1,
66+
t2.Value2,
67+
t2.Value3,
68+
t2.Value4,
69+
t2.Value5,
70+
d.Id
71+
FROM
72+
cte t2
73+
LEFT JOIN CteChildTable d ON t2.Value4 = d.Id
74+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
BeforeExecute
2+
-- ClickHouse.MySql ClickHouse (asynchronously)
3+
4+
SELECT
5+
t1.ParentID,
6+
t1.Value1
7+
FROM
8+
Parent t1
9+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
BeforeExecute
2+
-- ClickHouse.MySql ClickHouse (asynchronously)
3+
4+
SELECT
5+
t1.ParentID,
6+
t1.Value1
7+
FROM
8+
Parent t1
9+

0 commit comments

Comments
 (0)