File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
tests/queries/0_stateless Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ -- Tags: no-parallel
2+ -- ^^^^^^^^^^^ otherwise you may hit TOO_DEEP_RECURSION error during querying system.columns
3+
14DROP TABLE IF EXISTS merge1;
25DROP TABLE IF EXISTS merge2;
36
47CREATE TABLE IF NOT EXISTS merge1 (x UInt64) ENGINE = Merge(currentDatabase(), ' ^merge\\ d$' );
58CREATE TABLE IF NOT EXISTS merge2 (x UInt64) ENGINE = Merge(currentDatabase(), ' ^merge\\ d$' );
69
7- SELECT * FROM merge1; -- { serverError 306 }
8- SELECT * FROM merge2; -- { serverError 306 }
10+ SELECT * FROM merge1; -- { serverError TOO_DEEP_RECURSION }
11+ SELECT * FROM merge2; -- { serverError TOO_DEEP_RECURSION }
912
1013DROP TABLE merge1;
1114DROP TABLE merge2;
Original file line number Diff line number Diff line change @@ -184,7 +184,9 @@ tables_with_database_column=(
184184tests_with_database_column=( $(
185185 find $ROOT_PATH /tests/queries -iname ' *.sql' -or -iname ' *.sh' -or -iname ' *.py' -or -iname ' *.j2' |
186186 grep -vP $EXCLUDE_DIRS |
187- xargs grep --with-filename $( printf -- " -e %s " " ${tables_with_database_column[@]} " ) | cut -d: -f1 | sort -u
187+ xargs grep --with-filename $( printf -- " -e %s " " ${tables_with_database_column[@]} " ) |
188+ grep -v -e ' :--' -e ' :#' |
189+ cut -d: -f1 | sort -u
188190) )
189191for test_case in " ${tests_with_database_column[@]} " ; do
190192 grep -qE database.* currentDatabase " $test_case " || {
You can’t perform that action at this time.
0 commit comments