mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Fix 02765_queries_with_subqueries_profile_events for Analyzer check
Settings does not contains unchanged values, and the value is considered unchanged, if it matches the default. So simply use the shell variable instead of Settings. Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
6b5933a3db
commit
2e347007a2
@ -1,15 +1,15 @@
|
||||
view allow_experimental_analyzer InsertQuery SelectQuery InsertQueriesWithSubqueries SelectQueriesWithSubqueries QueriesWithSubqueries
|
||||
1 1 0 1 2 3
|
||||
1 0 1 0 1 2 3
|
||||
subquery allow_experimental_analyzer InsertQuery SelectQuery InsertQueriesWithSubqueries SelectQueriesWithSubqueries QueriesWithSubqueries
|
||||
1 0 1 0 2 2
|
||||
1 0 0 1 0 2 2
|
||||
CSE allow_experimental_analyzer InsertQuery SelectQuery InsertQueriesWithSubqueries SelectQueriesWithSubqueries QueriesWithSubqueries
|
||||
1 0 1 0 2 2
|
||||
1 0 0 1 0 2 2
|
||||
CSE_Multi allow_experimental_analyzer InsertQuery SelectQuery InsertQueriesWithSubqueries SelectQueriesWithSubqueries QueriesWithSubqueries
|
||||
1 0 1 0 2 2
|
||||
1 0 0 1 0 2 2
|
||||
CTE allow_experimental_analyzer InsertQuery SelectQuery InsertQueriesWithSubqueries SelectQueriesWithSubqueries QueriesWithSubqueries
|
||||
1 0 1 0 2 2
|
||||
1 0 0 1 0 2 2
|
||||
CTE_Multi allow_experimental_analyzer InsertQuery SelectQuery InsertQueriesWithSubqueries SelectQueriesWithSubqueries QueriesWithSubqueries
|
||||
1 0 1 0 4 4
|
||||
1 0 0 1 0 4 4
|
||||
view allow_experimental_analyzer InsertQuery SelectQuery InsertQueriesWithSubqueries SelectQueriesWithSubqueries QueriesWithSubqueries
|
||||
1 1 1 0 1 3 4
|
||||
subquery allow_experimental_analyzer InsertQuery SelectQuery InsertQueriesWithSubqueries SelectQueriesWithSubqueries QueriesWithSubqueries
|
||||
|
@ -21,7 +21,7 @@ for allow_experimental_analyzer in 0 1; do
|
||||
SYSTEM FLUSH LOGS;
|
||||
SELECT
|
||||
1 view,
|
||||
Settings['allow_experimental_analyzer'] allow_experimental_analyzer,
|
||||
$allow_experimental_analyzer allow_experimental_analyzer,
|
||||
ProfileEvents['InsertQuery'] InsertQuery,
|
||||
ProfileEvents['SelectQuery'] SelectQuery,
|
||||
ProfileEvents['InsertQueriesWithSubqueries'] InsertQueriesWithSubqueries,
|
||||
@ -39,7 +39,7 @@ for allow_experimental_analyzer in 0 1; do
|
||||
SYSTEM FLUSH LOGS;
|
||||
SELECT
|
||||
1 subquery,
|
||||
Settings['allow_experimental_analyzer'] allow_experimental_analyzer,
|
||||
$allow_experimental_analyzer allow_experimental_analyzer,
|
||||
ProfileEvents['InsertQuery'] InsertQuery,
|
||||
ProfileEvents['SelectQuery'] SelectQuery,
|
||||
ProfileEvents['InsertQueriesWithSubqueries'] InsertQueriesWithSubqueries,
|
||||
@ -56,7 +56,7 @@ for allow_experimental_analyzer in 0 1; do
|
||||
SYSTEM FLUSH LOGS;
|
||||
SELECT
|
||||
1 CSE,
|
||||
Settings['allow_experimental_analyzer'] allow_experimental_analyzer,
|
||||
$allow_experimental_analyzer allow_experimental_analyzer,
|
||||
ProfileEvents['InsertQuery'] InsertQuery,
|
||||
ProfileEvents['SelectQuery'] SelectQuery,
|
||||
ProfileEvents['InsertQueriesWithSubqueries'] InsertQueriesWithSubqueries,
|
||||
@ -73,7 +73,7 @@ for allow_experimental_analyzer in 0 1; do
|
||||
SYSTEM FLUSH LOGS;
|
||||
SELECT
|
||||
1 CSE_Multi,
|
||||
Settings['allow_experimental_analyzer'] allow_experimental_analyzer,
|
||||
$allow_experimental_analyzer allow_experimental_analyzer,
|
||||
ProfileEvents['InsertQuery'] InsertQuery,
|
||||
ProfileEvents['SelectQuery'] SelectQuery,
|
||||
ProfileEvents['InsertQueriesWithSubqueries'] InsertQueriesWithSubqueries,
|
||||
@ -90,7 +90,7 @@ for allow_experimental_analyzer in 0 1; do
|
||||
SYSTEM FLUSH LOGS;
|
||||
SELECT
|
||||
1 CTE,
|
||||
Settings['allow_experimental_analyzer'] allow_experimental_analyzer,
|
||||
$allow_experimental_analyzer allow_experimental_analyzer,
|
||||
ProfileEvents['InsertQuery'] InsertQuery,
|
||||
ProfileEvents['SelectQuery'] SelectQuery,
|
||||
ProfileEvents['InsertQueriesWithSubqueries'] InsertQueriesWithSubqueries,
|
||||
@ -107,7 +107,7 @@ for allow_experimental_analyzer in 0 1; do
|
||||
SYSTEM FLUSH LOGS;
|
||||
SELECT
|
||||
1 CTE_Multi,
|
||||
Settings['allow_experimental_analyzer'] allow_experimental_analyzer,
|
||||
$allow_experimental_analyzer allow_experimental_analyzer,
|
||||
ProfileEvents['InsertQuery'] InsertQuery,
|
||||
ProfileEvents['SelectQuery'] SelectQuery,
|
||||
ProfileEvents['InsertQueriesWithSubqueries'] InsertQueriesWithSubqueries,
|
||||
|
Loading…
Reference in New Issue
Block a user