We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 922b758 commit 7111f41Copy full SHA for 7111f41
utils/check-style/check-style
@@ -184,7 +184,9 @@ tables_with_database_column=(
184
tests_with_database_column=( $(
185
find $ROOT_PATH/tests/queries -iname '*.sql' -or -iname '*.sh' -or -iname '*.py' -or -iname '*.j2' |
186
grep -vP $EXCLUDE_DIRS |
187
- xargs grep --with-filename $(printf -- "-e %s " "${tables_with_database_column[@]}") | cut -d: -f1 | sort -u
+ xargs grep --with-filename $(printf -- "-e %s " "${tables_with_database_column[@]}") |
188
+ grep -v -e ':--' -e ':#' |
189
+ cut -d: -f1 | sort -u
190
) )
191
for test_case in "${tests_with_database_column[@]}"; do
192
grep -qE database.*currentDatabase "$test_case" || {
0 commit comments