Skip to content

Commit 91e03e8

Browse files
MaceWindulinq2dbotAzure Pipelines Bot
authored
Baselines/pr 5168 base (#1593)
* reviewed * aliases * reviewed * reviewed * Baselines for linq2db/linq2db#5168 (#1590) * changes * [Linux / ClickHouse MySql] baselines * [Linux / ClickHouse Driver] baselines * [Linux / ClickHouse Octonica] baselines --------- Co-authored-by: MaceWindu <[email protected]> Co-authored-by: Azure Pipelines Bot <[email protected]> --------- Co-authored-by: linq2db bot <[email protected]> Co-authored-by: Azure Pipelines Bot <[email protected]>
1 parent 83921cd commit 91e03e8

File tree

6,794 files changed

+71186
-42223
lines changed

Some content is hidden

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

6,794 files changed

+71186
-42223
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-- Access.Ace.Odbc AccessODBC
2+
3+
SELECT
4+
MIN([t1].[ParentID])
5+
FROM
6+
[Parent] [t1]
7+
WHERE
8+
[t1].[ParentID] < 0
9+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
-- Access.Ace.Odbc AccessODBC
2+
3+
SELECT
4+
(
5+
SELECT
6+
MIN([a_Children].[ParentID])
7+
FROM
8+
[Child] [a_Children]
9+
WHERE
10+
[p].[ParentID] = [a_Children].[ParentID] AND [a_Children].[ParentID] < 0
11+
)
12+
FROM
13+
[Parent] [p]
14+

Access.Ace.Odbc/Tests/Extensions/QueryNameTests/Tests.Extensions.QueryNameTests.MainInlineTest(Access.Ace.Odbc).sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
SELECT
44
[p].[ParentID],
55
[p].[Value1],
6-
[t1].[COUNT_1]
6+
[t1].[Count_1]
77
FROM
88
(
99
SELECT
1010
[c_1].[ParentID],
11-
COUNT(*) as [COUNT_1]
11+
COUNT(*) as [Count_1]
1212
FROM
1313
[Child] [c_1]
1414
GROUP BY

Access.Ace.Odbc/Tests/Linq/ConcatUnionTests/Tests.Linq.ConcatUnionTests.Concat502(Access.Ace.Odbc).sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ FROM
88
(
99
SELECT
1010
[a_Parent].[ParentID] as [cond],
11-
[a_Parent].[ParentID],
12-
[a_Parent].[Value1]
11+
[a_Parent].[Value1],
12+
[a_Parent].[ParentID]
1313
FROM
1414
[Child] [p]
1515
LEFT JOIN [Parent] [a_Parent] ON ([p].[ParentID] = [a_Parent].[ParentID])
@@ -18,8 +18,8 @@ FROM
1818
UNION ALL
1919
SELECT
2020
[a_Parent_1].[ParentID] as [cond],
21-
[a_Parent_1].[ParentID],
22-
[a_Parent_1].[Value1]
21+
[a_Parent_1].[Value1],
22+
[a_Parent_1].[ParentID]
2323
FROM
2424
[Child] [c_1]
2525
LEFT JOIN [Parent] [a_Parent_1] ON ([c_1].[ParentID] = [a_Parent_1].[ParentID])
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
-- Access.Ace.Odbc AccessODBC
2+
3+
SELECT
4+
[p1].[ParentID],
5+
[p1].[ParentID],
6+
[p1].[Value1],
7+
IIF(False, 0, NULL),
8+
IIF(False, 0, NULL),
9+
IIF(False, 0, NULL)
10+
FROM
11+
[Parent] [p1]
12+
UNION
13+
SELECT
14+
[t1].[ParentID],
15+
IIF(False, 0, NULL),
16+
IIF(False, 0, NULL),
17+
[t1].[cond],
18+
[t1].[cond],
19+
[t1].[ChildID]
20+
FROM
21+
(
22+
SELECT
23+
IIF([p2].[Value1] IS NULL, 0, [p2].[Value1]) as [ParentID],
24+
(
25+
SELECT TOP 1
26+
[a_Children].[ParentID]
27+
FROM
28+
[Child] [a_Children]
29+
WHERE
30+
[p2].[ParentID] = [a_Children].[ParentID]
31+
ORDER BY
32+
[a_Children].[ChildID] DESC
33+
) as [cond],
34+
(
35+
SELECT TOP 1
36+
[a_Children_1].[ChildID]
37+
FROM
38+
[Child] [a_Children_1]
39+
WHERE
40+
[p2].[ParentID] = [a_Children_1].[ParentID]
41+
ORDER BY
42+
[a_Children_1].[ChildID] DESC
43+
) as [ChildID]
44+
FROM
45+
[Parent] [p2]
46+
) [t1]
47+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
-- Access.Ace.Odbc AccessODBC
2+
3+
SELECT
4+
[p].[ParentID],
5+
[p].[ParentID],
6+
[p].[Value1],
7+
IIF(False, 0, NULL),
8+
IIF(False, 0, NULL),
9+
IIF(False, 0, NULL)
10+
FROM
11+
[Parent] [p]
12+
UNION
13+
SELECT
14+
[t1].[ParentID],
15+
IIF(False, 0, NULL),
16+
IIF(False, 0, NULL),
17+
[t1].[cond],
18+
[t1].[cond],
19+
[t1].[ChildID]
20+
FROM
21+
(
22+
SELECT
23+
IIF([p2].[Value1] IS NULL, 0, [p2].[Value1]) as [ParentID],
24+
(
25+
SELECT TOP 1
26+
[a_Children].[ParentID]
27+
FROM
28+
[Child] [a_Children]
29+
WHERE
30+
[p2].[ParentID] = [a_Children].[ParentID]
31+
ORDER BY
32+
[a_Children].[ChildID] DESC
33+
) as [cond],
34+
(
35+
SELECT TOP 1
36+
[a_Children_1].[ChildID]
37+
FROM
38+
[Child] [a_Children_1]
39+
WHERE
40+
[p2].[ParentID] = [a_Children_1].[ParentID]
41+
ORDER BY
42+
[a_Children_1].[ChildID] DESC
43+
) as [ChildID]
44+
FROM
45+
[Parent] [p2]
46+
) [t1]
47+
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
-- Access.Ace.Odbc AccessODBC
2+
3+
SELECT
4+
[p].[ParentID],
5+
(
6+
SELECT TOP 1
7+
[a_Children].[ParentID]
8+
FROM
9+
[Child] [a_Children]
10+
WHERE
11+
[p].[ParentID] = [a_Children].[ParentID]
12+
ORDER BY
13+
[a_Children].[ChildID]
14+
),
15+
(
16+
SELECT TOP 1
17+
[a_Children_1].[ChildID]
18+
FROM
19+
[Child] [a_Children_1]
20+
WHERE
21+
[p].[ParentID] = [a_Children_1].[ParentID]
22+
ORDER BY
23+
[a_Children_1].[ChildID]
24+
),
25+
(
26+
SELECT TOP 1
27+
[a_Children_2].[ParentID]
28+
FROM
29+
[Child] [a_Children_2]
30+
WHERE
31+
[p].[ParentID] = [a_Children_2].[ParentID]
32+
ORDER BY
33+
[a_Children_2].[ChildID]
34+
),
35+
(
36+
SELECT TOP 1
37+
[a_Children_3].[ChildID]
38+
FROM
39+
[Child] [a_Children_3]
40+
WHERE
41+
[p].[ParentID] = [a_Children_3].[ParentID]
42+
ORDER BY
43+
[a_Children_3].[ChildID]
44+
)
45+
FROM
46+
[Parent] [p]
47+
48+
-- Access.Ace.Odbc AccessODBC
49+
50+
SELECT
51+
[m_1].[ParentID],
52+
[d].[ParentID],
53+
[d].[ChildID]
54+
FROM
55+
(
56+
SELECT DISTINCT
57+
[t1].[ParentID]
58+
FROM
59+
[Parent] [t1]
60+
) [m_1]
61+
INNER JOIN [Child] [d] ON ([m_1].[ParentID] = [d].[ParentID])
62+
63+
-- Access.Ace.Odbc AccessODBC
64+
65+
SELECT
66+
[t1].[ParentID],
67+
[t1].[Value1]
68+
FROM
69+
[Parent] [t1]
70+
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
-- Access.Ace.Odbc AccessODBC
2+
3+
SELECT
4+
EXISTS(
5+
SELECT
6+
*
7+
FROM
8+
[Child] [c_1]
9+
WHERE
10+
[c_1].[ParentID] = [p].[ParentID] AND [c_1].[ChildID] > -100
11+
),
12+
(
13+
SELECT
14+
COUNT(*)
15+
FROM
16+
[Child] [c_2]
17+
WHERE
18+
[c_2].[ParentID] = [p].[ParentID] AND [c_2].[ChildID] > -100
19+
),
20+
(
21+
SELECT TOP 1
22+
[c_3].[ParentID]
23+
FROM
24+
[Child] [c_3]
25+
WHERE
26+
[c_3].[ParentID] = [p].[ParentID] AND [c_3].[ChildID] > -100 AND
27+
[c_3].[ParentID] > 0
28+
ORDER BY
29+
[c_3].[ChildID]
30+
),
31+
(
32+
SELECT TOP 1
33+
[c_4].[ChildID]
34+
FROM
35+
[Child] [c_4]
36+
WHERE
37+
[c_4].[ParentID] = [p].[ParentID] AND [c_4].[ChildID] > -100 AND
38+
[c_4].[ParentID] > 0
39+
ORDER BY
40+
[c_4].[ChildID]
41+
),
42+
(
43+
SELECT TOP 1
44+
[c_5].[ParentID]
45+
FROM
46+
[Child] [c_5]
47+
WHERE
48+
[c_5].[ParentID] = [p].[ParentID] AND [c_5].[ChildID] > -100
49+
ORDER BY
50+
[c_5].[ChildID]
51+
),
52+
(
53+
SELECT TOP 1
54+
[c_6].[ChildID]
55+
FROM
56+
[Child] [c_6]
57+
WHERE
58+
[c_6].[ParentID] = [p].[ParentID] AND [c_6].[ChildID] > -100
59+
ORDER BY
60+
[c_6].[ChildID]
61+
)
62+
FROM
63+
[Parent] [p]
64+
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
-- Access.Ace.Odbc AccessODBC
2+
3+
SELECT
4+
EXISTS(
5+
SELECT
6+
*
7+
FROM
8+
[Child] [c_1]
9+
WHERE
10+
[c_1].[ParentID] = [p].[ParentID] AND [c_1].[ChildID] > -100
11+
),
12+
(
13+
SELECT
14+
COUNT(*)
15+
FROM
16+
[Child] [c_2]
17+
WHERE
18+
[c_2].[ParentID] = [p].[ParentID] AND [c_2].[ChildID] > -100
19+
),
20+
(
21+
SELECT TOP 1
22+
[c_3].[ParentID]
23+
FROM
24+
[Child] [c_3]
25+
WHERE
26+
[c_3].[ParentID] = [p].[ParentID] AND [c_3].[ChildID] > -100 AND
27+
[c_3].[ParentID] > 0
28+
ORDER BY
29+
[c_3].[ChildID]
30+
),
31+
(
32+
SELECT TOP 1
33+
[c_4].[ChildID]
34+
FROM
35+
[Child] [c_4]
36+
WHERE
37+
[c_4].[ParentID] = [p].[ParentID] AND [c_4].[ChildID] > -100 AND
38+
[c_4].[ParentID] > 0
39+
ORDER BY
40+
[c_4].[ChildID]
41+
),
42+
(
43+
SELECT TOP 1
44+
[c_5].[ParentID]
45+
FROM
46+
[Child] [c_5]
47+
WHERE
48+
[c_5].[ParentID] = [p].[ParentID] AND [c_5].[ChildID] > -100
49+
ORDER BY
50+
[c_5].[ChildID]
51+
),
52+
(
53+
SELECT TOP 1
54+
[c_6].[ChildID]
55+
FROM
56+
[Child] [c_6]
57+
WHERE
58+
[c_6].[ParentID] = [p].[ParentID] AND [c_6].[ChildID] > -100
59+
ORDER BY
60+
[c_6].[ChildID]
61+
)
62+
FROM
63+
[Parent] [p]
64+

0 commit comments

Comments
 (0)