Commit Graph

1219 Commits

Author SHA1 Message Date
SmitaRKulkarni
4456adfd4a
Merge branch 'master' into azure_table_function_cluster 2023-07-19 08:28:30 +02:00
Kruglov Pavel
6985bf0cdb
Merge branch 'master' into row-binary-with-defaults 2023-07-18 13:36:56 +02:00
Mikhail Koviazin
4f7fd69883
Added function firstLine to extract the first line from a multiline string
Fixes #51172
2023-07-18 12:18:26 +03:00
Lloyd-Pottiger
9d11385543
Merge branch 'master' into add-alias-for-today-and-now 2023-07-18 10:29:49 +08:00
Alexey Milovidov
f4e095b502
Merge pull request #52149 from ucasfl/array_concat_agg
Add array_concat_agg for compatibility with BigQuery
2023-07-18 03:03:27 +03:00
Sergei Trifonov
850ab23991
Merge branch 'master' into async-loader-integration 2023-07-17 19:14:54 +02:00
Kruglov Pavel
1e616e17ab
Merge branch 'master' into row-binary-with-defaults 2023-07-17 19:13:57 +02:00
SmitaRKulkarni
e4fb9e88f8
Merge branch 'master' into azure_table_function_cluster 2023-07-17 17:23:38 +02:00
vdimir
5de1cfee7d
Merge pull request #51735 from arenadata/ADQM-976 2023-07-17 16:24:11 +02:00
Dmitry Kardymon
2de9ea6925 Merge remote-tracking branch 'origin/master' into ADQM-982 2023-07-17 10:03:16 +00:00
Lloyd-Pottiger
3636c2a847
Merge branch 'master' into add-alias-for-today-and-now 2023-07-17 14:28:24 +08:00
FFFFFFFHHHHHHH
0895e47629
Merge branch 'master' into jaccard_similarity 2023-07-17 10:33:10 +08:00
Lloyd-Pottiger
e38a9de7c9 add aspell
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
2023-07-17 10:24:45 +08:00
flynn
7f80f7dcb0
Merge branch 'master' into array_concat_agg 2023-07-17 01:15:24 +08:00
flynn
6899070f95 fix 2023-07-16 09:54:13 +00:00
Robert Schulze
521c993eff
Merge branch 'master' into jaccard_similarity 2023-07-11 10:36:18 +02:00
Dmitry Kardymon
ae69627d87 Merge remote-tracking branch 'origin/master' into ADQM-982 2023-07-11 08:16:21 +00:00
Dmitry Kardymon
0cd4b753d6 Merge remote-tracking branch 'origin/master' into ADQM-976 2023-07-10 13:27:45 +00:00
Dmitry Kardymon
17891ca1eb Add case ins utf8 impl + tests 2023-07-10 09:18:09 +00:00
Victor Krasnov
e311d31d87 Merge branch 'master' into ADQM-950-B 2023-07-10 15:50:09 +08:00
Alexey Milovidov
29f625e7bb Add a check to validate that the stateful tests are stateful 2023-07-09 03:43:18 +02:00
Victor Krasnov
3edee4174c Add AWST time zone abbreviation to the ignore list 2023-07-07 11:34:03 +08:00
Kruglov Pavel
665b6d4334
Update aspell-dict.txt 2023-07-05 14:50:15 +02:00
Sergei Trifonov
bbb5850dec
Merge branch 'master' into async-loader-integration 2023-07-03 20:21:26 +02:00
Dmitry Kardymon
16ab84d804 Style fix 2023-07-03 11:50:26 +00:00
Dmitry Kardymon
1a40e30797 Add initcapUtf8: impl + tests 2023-07-03 11:37:55 +00:00
FFFFFFFHHHHHHH
91d091a806 fix style 2023-07-02 18:58:58 +08:00
DanRoscigno
904c533a84 spelling list 2023-06-30 09:32:54 -04:00
DanRoscigno
a8172ca5d2 update spelling list 2023-06-29 14:47:23 -04:00
taiyang-li
375f7abfeb fix spelling 2023-06-28 12:27:59 +08:00
Sergei Trifonov
b9b007691c
Merge branch 'master' into async-loader-integration 2023-06-27 19:44:52 +02:00
Nikita Mikhaylov
d24c5ab01f
Merge branch 'master' into fix-ip-aggregate-state 2023-06-27 14:11:26 +02:00
Smita Kulkarni
9734871345 Merge branch 'master' into azure_table_function_cluster 2023-06-27 11:09:44 +02:00
Dan Roscigno
bcb106e138
add missing aggregate functions (#51443)
* add missing aggregate functions

* add sparkBar
2023-06-27 01:39:47 +02:00
Sergei Trifonov
e2798b5221
Merge branch 'master' into async-loader-integration 2023-06-26 19:18:23 +02:00
Dan Roscigno
cd8cdd4e9b
Update aspell-dict.txt 2023-06-23 16:20:56 -04:00
DanRoscigno
4d92fc915f revert to master 2023-06-23 15:16:57 -04:00
DanRoscigno
4d5a4f342d Merge branch 'docs-s3-engine-partition' of github.com:DanRoscigno/ClickHouse into docs-s3-engine-partition 2023-06-23 10:28:23 -04:00
DanRoscigno
3a0db35d16 allow on-prem 2023-06-23 10:01:54 -04:00
Andrey Zvonov
d4316c7189
Merge branch 'master' into zvonand-implicit-tz 2023-06-22 17:23:20 +02:00
Robert Schulze
57070a6a6e
Ignore "modularization" 2023-06-21 18:18:08 +00:00
Sergei Trifonov
02e0d7e204
Merge branch 'master' into async-loader-integration 2023-06-20 12:03:29 +02:00
Smita Kulkarni
0de983e32b Added azureBlobStorageCluster to aspell-dict.txt 2023-06-19 22:55:34 +02:00
Yakov Olkhovskiy
cf301324fb
Merge branch 'master' into fix-ip-aggregate-state 2023-06-16 12:49:17 -04:00
zvonand
79222bace2 fix style 2023-06-16 11:11:47 +02:00
zvonand
4155d13d69 merge master and resolve conflict 2023-06-16 02:20:32 +02:00
Yakov Olkhovskiy
35b7474ccf
add MapState to aspell-dict.txt 2023-06-15 10:22:58 -04:00
Kseniia Sumarokova
f1f8b302bf
Merge pull request #50934 from azat/tests/fix-query_log
Fix tests sanity checks and avoid dropping system.query_log table
2023-06-15 12:44:23 +02:00
Azat Khuzhin
bb971fd7b7 check-style: allow {database} for ReplicatedMergeTree as well
CLICKHOUSE_TEST_ZOOKEEPER_PREFIX is a {test_name}_{database}, but
actually {database} should be enough, since it is uniq for each test run.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-13 19:45:51 +02:00
Azat Khuzhin
945981e5f6 Fix tests sanity checks
In #43147 the "tests" had been added to EXCLUDE_DIRS, and the reason for
this is that there was some C++ code to ignore [1], however it also
ignores snaity check for query_log.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/43147/63de577172ee024a08e76db69f5000568673db48/style_check.html

v2: check-style: ignore $EXCLUDE_DIRS for some other sanity checks of tests
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-13 19:45:51 +02:00
JackyWoo
9d548315e8
Merge branch 'master' into support_redis 2023-06-13 09:34:32 +08:00
Robert Schulze
7745f7da73
Merge branch 'master' into annoy-misc 2023-06-12 21:46:27 +02:00
JackyWoo
a9d4d51949 add word redis to aspell-dict 2023-06-12 10:16:02 +08:00
Smita Kulkarni
e662fa01d0 Added azureBlobStorage to aspell-dict.txt 2023-06-09 20:21:57 +02:00
Andrey Zvonov
d95be4162f
Merge branch 'master' into zvonand-implicit-tz 2023-06-08 18:34:45 +03:00
zvonand
4d4e5c690e update docs spelling check failed 2023-06-08 17:10:51 +02:00
Robert Schulze
b8178088d0
Misc Annoy fixes 2023-06-08 15:06:17 +00:00
Sergei Trifonov
cb37506421
Merge branch 'master' into async-loader-integration 2023-06-05 21:33:44 +02:00
johanngan
5e1c93c9c8 Add dictGetAll to spell-check dictionary 2023-06-04 23:46:04 -05:00
serxa
bacf1d6beb spell 2023-06-03 22:52:50 +00:00
Kruglov Pavel
85ded501d7
Update aspell-dict.txt 2023-06-02 20:02:14 +02:00
Robert Schulze
54872f9e7e
Typos: Follow-up to #50476 2023-06-02 13:28:09 +00:00
Robert Schulze
a22bb07fbd
Merge remote-tracking branch 'rschu1ze/master' into fix-typo-check-on-nested-docs 2023-06-02 12:33:16 +00:00
Robert Schulze
65cc92a78d
CI: Fix aspell on nested docs 2023-06-02 12:24:41 +00:00
Robert Schulze
d7002f8b94
Incorporate Dan's feedback 2023-05-30 17:46:21 +00:00
Mikhail f. Shiryaev
da59d8a5b7
Speed-up the shellcheck with parallel xargs 2023-05-24 00:27:29 +02:00
Mikhail f. Shiryaev
e1fa92e078
Add openSUSE and SLES to docs dictionary, sort it 2023-05-07 19:30:55 +02:00
alesapin
49a7eb71a7
Merge pull request #48547 from ClickHouse/keeper-bench-2.0
Keeper bench 2.0
2023-05-01 14:48:13 +02:00
Robert Schulze
2c7cb97ce0
Teach aspell something new 2023-04-24 20:31:58 +00:00
Alexey Milovidov
5d3edc9a83 Fix error 2023-04-22 15:06:26 +02:00
robot-ch-test-poll1
f466c89621
Merge pull request #48911 from Avogar/parquet-metadata-format
Add ParquetMetadata input format to read Parquet file metadata
2023-04-21 03:46:26 +02:00
Dan Roscigno
95b64eccbc
Merge pull request #48861 from DanRoscigno/add-transactions
move transactions to clickhouse repo
2023-04-20 10:55:42 -04:00
avogar
7a67951f64 Add more fields, fix style 2023-04-18 17:59:01 +00:00
Kruglov Pavel
59a74b47ee
Update aspell-dict.txt 2023-04-18 15:57:50 +02:00
DanRoscigno
7bc43e05b3 remove whitespace 2023-04-17 12:55:06 -04:00
DanRoscigno
79c89ad52f remove whitespace 2023-04-17 12:51:34 -04:00
DanRoscigno
bf302653c1 add related words to aspell 2023-04-17 12:30:57 -04:00
Antonio Andelic
6bc1ab7ab1 Add JSON output 2023-04-14 18:49:28 +00:00
DanRoscigno
c6907f2a32 add Observability to spell list 2023-04-11 09:53:40 -04:00
Alexander Tokmakov
1e4ae7a3f2
Merge pull request #48314 from azat/build/strong-typedefs
Fix ThreadPool for DistributedSink and use StrongTypedef for CurrentMetrics/ProfileEvents/StatusInfo to avoid further errors
2023-04-02 14:57:33 +03:00
Dan Roscigno
62ecac805f
Add mdadm to aspell-dict.txt 2023-04-01 18:58:48 -04:00
Azat Khuzhin
1794505428 check-style: do not count CurrentMetrics::get as metric 2023-04-01 16:02:28 +02:00
Raúl Marín
aace3cb34c Try to prevent large test numbers 2023-03-28 14:07:27 +02:00
Mikhail f. Shiryaev
290ee6bbf1
Merge pull request #47790 from CurtizJ/apply-black-to-all-files
Apply black formatter to all python scripts
2023-03-24 14:20:50 +03:00
Robert Schulze
14356e3ee6
Aspell dict: keep sorted things sorted
Follow-up to #47745
2023-03-22 09:18:22 +00:00
Robert Schulze
382aa60056
Merge pull request #47745 from jinjunzh/iaadeflate_doc_update
Create doc and scripts for qpl_deflate benchmark
2023-03-22 10:15:26 +01:00
jinjunzh
ab44903f15 add to the dictionary file 2023-03-22 10:28:24 -04:00
Anton Popov
21f5d20b9e apply black to all python scripts 2023-03-20 17:30:20 +00:00
Alexey Milovidov
b97154263d
Merge pull request #47703 from ClickHouse/add-style-check-for-dereference-after-cast
Add a style check for unsafe code
2023-03-18 22:07:47 +03:00
rfraposa
292793a231 Update aspell-dict.txt 2023-03-17 21:30:21 -05:00
Alexey Milovidov
aea421cc9b Add a style check for unsafe code 2023-03-18 03:29:14 +01:00
Alexey Milovidov
c7762bd667
Update check-style 2023-03-17 22:55:01 +03:00
Alexey Milovidov
b48c679328 Add style check for #47647 2023-03-17 20:51:58 +01:00
Boris Kuschel
663b4fb4a8
Small tweaks 2023-03-10 15:20:57 -05:00
Boris Kuschel
1df592b06b
Remove exclusion 2023-03-10 13:04:32 -05:00
Boris Kuschel
d26466bab9 aspell corrections 2023-03-10 13:01:26 -05:00
Mike Kot
02950ecf29 aspell fix 2023-03-01 15:34:10 +03:00
Alexander Tokmakov
99cf9abe54
Merge branch 'master' into tests/expect-timeout-fixes 2023-02-24 23:07:45 +03:00
rfraposa
7b1b4f1fd6 Update aspell-dict.txt 2023-02-24 11:54:12 -07:00
Azat Khuzhin
3d3f511cb4 Add style check for expect_after in tests
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-23 15:27:11 +01:00
Azat Khuzhin
2018559fa5 Add style check for using --history_file in expect tests
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-20 09:51:08 +01:00
Robert Schulze
81e943c7f8
More spelling fixes 2023-02-10 11:20:48 +00:00
Robert Schulze
06e1293909
Fix duplicate includes in poco 2023-02-10 10:50:18 +00:00
Robert Schulze
8144c28c3b
Fix spelling 2023-02-10 10:49:55 +00:00
Robert Schulze
d44c6dd1b3
Merge pull request #46133 from ClickHouse/rs/fix-warnings-in-poco
Stricter warnings + fix whitespaces in poco
2023-02-10 11:46:33 +01:00
Alexander Tokmakov
8101b044fa
Merge pull request #46091 from azat/sanity-assertions
Sanity assertions for closing file descriptors
2023-02-09 01:02:03 +03:00
serxa
8f87dd9957 add Yasm exception for spell checker 2023-02-08 18:23:15 +00:00
Robert Schulze
537a697f65
Fix whitespaces 2023-02-08 11:36:52 +00:00
Robert Schulze
b79ead9c84
Move poco to base/poco/ (#46075)
* Replicate poco into base/poco/

* De-register poco submodule

* Build poco from ClickHouse

* Exclude poco from stylecheck

* Exclude poco from whitespace check

* Exclude poco from typo check

* Remove x bit from sources/headers (the style check complained)

* Exclude poco from duplicate include check

* Fix fasttest

* Remove contrib/poco-cmake/*

* Simplify poco build descriptions

* Remove poco stuff not used by ClickHouse

* Glob poco sources

* Exclude poco from clang-tidy
2023-02-08 12:04:11 +01:00
Azat Khuzhin
0ab351c82e Add close() return value check in check-style
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-06 20:20:15 +01:00
Robert Schulze
b5f5018b10
Fix spelling 2023-01-31 11:55:45 +00:00
FArthur-cmd
3d8e8a84f6 ignore laion as it is dataset's name 2023-01-24 18:41:07 +03:00
Robert Schulze
099e30ef2a
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-16 08:04:49 +00:00
Mikhail f. Shiryaev
807e84da98
Delete unused website directory 2023-01-11 16:31:27 +01:00
Robert Schulze
0c3b034887
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-10 09:02:41 +00:00
Alexey Milovidov
17c797a405 Enable the check that was commented 2023-01-07 21:42:49 +01:00
Robert Schulze
45dbcf88e5
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-06 20:42:48 +00:00
Alexey Milovidov
428404a9f0
Merge pull request #44838 from ClickHouse/check-submodules-escape
Escape submodules in style-check
2023-01-02 17:43:13 +03:00
Mikhail f. Shiryaev
ae93af32a0
Escape submodules in style-check 2023-01-02 14:23:53 +01:00
Azat Khuzhin
26718ccddf check-style: check base for std::cerr/cout too
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-02 11:42:59 +01:00
Robert Schulze
e9e04166d9
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-02 08:20:27 +00:00
Dan Roscigno
bc456feb4b
Merge pull request #44708 from Avogar/schema-inference-docs
Add detailed documentation about schema inference
2022-12-30 11:19:09 -05:00
avogar
872d5a5699 Fix style 2022-12-29 20:45:10 +00:00
Azat Khuzhin
e719fd218d Add excludes for std::cout usage in LineReader
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-27 14:23:51 +01:00
Mikhail f. Shiryaev
b5a791ddbc
Merge pull request #44386 from ClickHouse/check-submodules
Add check for submodules sanity
2022-12-19 17:51:56 +01:00
Mikhail f. Shiryaev
815ba5b48f
Add check for submodules sanity 2022-12-19 17:36:03 +01:00
Mikhail f. Shiryaev
3c7cfc297c
Merge pull request #44377 from DanRoscigno/edit-dictionary
add runnable to ignore list
2022-12-19 16:47:03 +01:00
DanRoscigno
ca9f27b68c add runnable to ignore list 2022-12-19 08:36:18 -05:00
Robert Schulze
b93c56323c
Merge remote-tracking branch 'origin/master' into query-result-cache 2022-12-19 09:18:36 +00:00
Robert Schulze
56d9882b43
Fix spell check 2022-12-16 11:24:26 +00:00
Robert Schulze
3a0bd18b62
Typos 2022-12-15 13:06:24 +00:00
Dan Roscigno
59e93bc9c6
Merge branch 'master' into improve_build 2022-12-09 12:40:46 -05:00
Mikhail f. Shiryaev
a0bde8a974
Order the dictionary 2022-12-09 15:29:24 +01:00
Mikhail f. Shiryaev
5fddc411d3
Add retriable and ReplicatedMergeTree 2022-12-09 15:29:02 +01:00
Sema Checherinda
06d6b87bae
Merge pull request #44059 from ClickHouse/nvartolomei-nv/fix-mutate-fetch
Merging #36877
2022-12-09 11:16:57 +01:00
DanRoscigno
d3e5116e24 add changelogs 2022-12-08 18:15:19 -05:00
Alexey Milovidov
2bfe74e863 Add style check 2022-12-08 23:14:22 +01:00
Mikhail f. Shiryaev
9cb2aa1c46
Add python mypy check to CI 2022-11-29 16:50:22 +01:00
Nikita Taranov
8ed5cfc265
Memory bound merging for distributed aggregation in order (#40879)
* impl

* fix style

* make executeQueryWithParallelReplicas similar to executeQuery

* impl for parallel replicas

* cleaner code for remote sorting properties

* update test

* fix

* handle when nodes of old versions participate

* small fixes

* temporary enable for testing

* fix after merge

* Revert "temporary enable for testing"

This reverts commit cce7f8884c.

* review fixes

* add bc test

* Update src/Core/Settings.h
2022-11-28 00:41:31 +01:00
Kruglov Pavel
98d6b96c82
Merge pull request #42033 from mark-polokhov/BSONEachRow
Add BSONEachRow input/output format
2022-11-22 14:45:21 +01:00
Kruglov Pavel
6b3276a741
Fix style 2022-11-15 14:47:29 +01:00
kssenii
616da1f695 Review fixed, style check fix 2022-11-11 16:50:02 +01:00
avogar
cd36caf013 Fix style 2022-11-10 20:37:24 +00:00
Dan Roscigno
61c3de2ec5
Merge branch 'master' into improve_build 2022-10-26 16:23:48 -04:00
Dan Roscigno
c6d6873234
Update aspell-dict.txt 2022-10-24 09:12:15 -04:00
Azat Khuzhin
0c62e09a6e
check-style: fix ErrorCodes check
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-17 10:32:33 +00:00
Azat Khuzhin
631b8e1abb
check-style: fix pattern of allowed chars for ErrorCodes checks
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-14 11:42:52 +00:00
vdimir
ad255206f4
Exclude comments from style-check defined extern 2022-10-14 11:42:18 +00:00
Alexander Tokmakov
4175f8cde6 abort instead of __builtin_unreachable in debug builds 2022-10-07 21:49:08 +02:00
DanRoscigno
700deb152f add toolchain to ignore 2022-10-06 14:47:12 -04:00
Dan Roscigno
ef62f32dd0
Update codespell-ignore-words.list 2022-10-06 14:42:42 -04:00
Anton Popov
a4dee04f7e
fix style check 2022-10-04 15:01:29 +02:00
Kruglov Pavel
060adfbe93
Merge branch 'master' into new-json-formats 2022-09-12 19:37:46 +02:00
avogar
ad68b7be0f Better 2022-09-09 15:01:45 +00:00
Alexey Milovidov
74023efa66
Update aspell-dict.txt 2022-09-04 05:29:37 +03:00
Alexey Milovidov
1ae24b3e65 Update spelling dictionary 2022-09-04 04:07:10 +02:00
Antonio Andelic
e64436fef3 Fix typos with new codespell 2022-09-02 08:54:48 +00:00
Azat Khuzhin
35f5e56159 Update aspell-dict to fix doc check
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-29 00:27:19 +02:00
vdimir
f0c13b0531
Add CurrentMetrics::Value to check-style 2022-08-25 09:31:22 +00:00
Alexander Tokmakov
c9bb91c31f
Merge pull request #40232 from ClickHouse/fix_a_bug_with_symlinks_detection
Fix a bug with symlinks detection
2022-08-15 20:28:30 +03:00
Alexander Tokmakov
6f5a7c3bf7 fix a bug with symlinks detection 2022-08-15 12:30:47 +02:00
Kseniia Sumarokova
a6cfc7bc3b
Merge pull request #34651 from alexX512/master
New caching strategies
2022-08-12 17:23:37 +02:00
alexX512
8adf9f2448 fix compile error 2022-08-07 19:59:39 +00:00
alexX512
77def20394 Fix typos in some js code and ignore some typos 2022-08-07 19:59:39 +00:00
Kruglov Pavel
7bbc6c7292
Update aspell-dict.txt 2022-08-01 13:00:44 +02:00
Mikhail f. Shiryaev
f60dcc30fb
Push automatic fix for black format for PRs 2022-07-21 17:01:42 +02:00
Alexey Milovidov
87ebf51cdc Fix style 2022-07-11 22:26:50 +02:00
Azat Khuzhin
53d019a94b check-style: improve ZooKeeper path check for Replicated.*MergeTree tables
- detech all Replicated.*MergeTree tables
- allow default_path_test/uuid in zookeeper path
- improve pattern for filtering tests

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-08 13:19:24 +03:00
Robert Schulze
ee19c218f3
Teach ClickHouse's spellcheck "ClickHouse's" 2022-07-05 14:24:18 +02:00
Kruglov Pavel
4080f055b6
Merge pull request #38477 from Avogar/sql-insert-format
Add SQLInsert output format
2022-07-04 15:06:33 +02:00
Mikhail f. Shiryaev
7a58a8c19b
Merge pull request #38647 from ClickHouse/clickhouse-diagnostics
Clickhouse diagnostics
2022-07-04 12:14:33 +02:00
Mikhail f. Shiryaev
446ead1af4
Fix typos issues it clickhouse-diagnostics 2022-07-04 10:59:39 +02:00
Azat Khuzhin
e4b81e6de9 Add exp_internal for expect tests
This is to catch possible issues like 01565_reconnect_after_client_error in [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/38417/e33f236d502fe9f7906392f4ceffaee44e3c4ce4/stateless_tests__thread__actions__[3/3].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-02 17:08:06 +03:00
avogar
3b4ecc93bc Fix test and style 2022-06-28 10:48:20 +00:00
Robert Schulze
2c828338f4
Replace hyperscan by vectorscan
This commit migrates ClickHouse to Vectorscan. The first 10 min of
[0] explain the reasons for it.

(*) Addresses (but does not resolve) #38046

(*) Config parameter names (e.g. "max_hyperscan_regexp_length") are
    preserved for compatibility. Likewise, error codes (e.g.
    "ErrorCodes::HYPERSCAN_CANNOT_SCAN_TEXT") and function/class names (e.g.
    "HyperscanDeleter") are preserved as vectorscan aims to be a drop-in
    replacement.

[0] https://www.youtube.com/watch?v=KlZWmmflW6M
2022-06-24 10:47:52 +02:00
Alexey Milovidov
457f49a43e Add a word into spelling dictionary 2022-06-19 05:58:45 +02:00
Alexey Milovidov
d9e558720f Fix typos 2022-06-16 11:38:54 +02:00
vdimir
dc772335ee
Doc typos, dict 2022-06-08 14:31:01 +02:00
vdimir
226fcbdac7
Better check-doc-aspell 2022-06-08 14:28:45 +02:00
vdimir
27ebad89c5
Add doc_spell_output.txt to process_style_check_result.py 2022-06-08 14:28:44 +02:00
vdimir
e820291a02
Fix utils/check-style/check-typos 2022-06-08 14:28:44 +02:00
vdimir
94bddec0bc
More typos checked and fixed 2022-06-08 14:28:41 +02:00
vdimir
251403407f
Update spell check 2022-06-08 14:26:02 +02:00
vdimir
13f03ddb65
Update docspell check 2022-06-08 14:26:02 +02:00
vdimir
abce81058e
Add doc aspell 2022-06-08 14:25:56 +02:00
Alexey Milovidov
eef6a5ec96
Revert "Remove resursive submodules" 2022-06-02 09:41:12 +03:00
Alexey Milovidov
19b8e1324a Forbid recursive submodules 2022-05-28 04:05:10 +02:00
Antonio Andelic
2ca5b7812d Ignore reusable workflow error 2022-05-27 14:15:34 +00:00
Amos Bird
20f63a6fa4
Fix style check 2022-04-29 15:32:53 +08:00
Alexey Milovidov
40357637ec Remove Arcadia 2022-04-16 00:33:32 +02:00
Kruglov Pavel
666ef3586c
Fix typos check 2022-03-29 16:42:01 +02:00
Mikhail f. Shiryaev
31fa28a4c2
Improve black check: show diff in the output 2022-03-28 13:52:35 +02:00
Mikhail f. Shiryaev
5fea6d24fa
Add black formatting check 2022-03-22 17:38:48 +01:00
Mikhail f. Shiryaev
4309236e17
Adjust check-workflows to exit-on-errors 2022-03-22 17:38:46 +01:00
taiyang-li
1b9987ceb1 fix mistake in check-style 2022-03-05 14:22:56 +08:00
Mikhail f. Shiryaev
a7325bbe32
Fix check-workflows in style check, iterate over checks 2022-02-03 18:36:01 +01:00
Azat Khuzhin
7111f411df check-style: ignore comments for currentDatabase() check
Inaccurate, but should OK for check-style scripts.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-25 13:16:45 +03:00
Azat Khuzhin
5c8d02724c check-style: add a note about find_path/find_library check
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-21 10:11:23 +03:00
Azat Khuzhin
7dcc037296 check-style: add a check that there is no system-wide library in use 2022-01-20 10:02:02 +03:00
alesapin
5257b413d4
Merge pull request #33612 from ClickHouse/workflow-linting
Add actionlint configuration and fix all issues
2022-01-14 11:41:48 +03:00
Mikhail f. Shiryaev
49fa1a1cd3
Add linter and checker for workflow files 2022-01-13 21:40:21 +01:00
taiyang-li
1e102bc1b2 merge master 2022-01-01 09:01:06 +08:00
taiyang-li
9036b18c2f merge master 2021-12-27 15:12:48 +08:00
Azat Khuzhin
6d9d7df9d6 check-style: check for event_time/event_date = today() queries 2021-12-26 16:25:15 +03:00
Azat Khuzhin
78f66c6d72 check-style: remove absolete filters
Follow-up for: eaba6a7f59
2021-12-26 16:13:03 +03:00
avogar
602578deab Update bool serialization/deserialization for Values format 2021-12-24 13:20:58 +03:00
lgbo-ustc
2cebda874d remove debug modification 2021-12-20 11:50:38 +08:00
taiyang-li
2f4e7e1d4e merge master 2021-12-02 19:48:21 +08:00
Azat Khuzhin
b59e0c65ea Fix style-check for ProfileEvents checking 2021-12-01 10:26:00 +03:00
lgbo-ustc
1014ca8c58 make two loops in clearing cached files into one 2021-11-30 17:57:58 +08:00
Alexey Milovidov
ba74a268a4 Forbid files that differ only by character case 2021-11-26 01:27:56 +03:00
Azat Khuzhin
fbe80cd080 Improve style check for ProfileEvents and CurrentMetrics 2021-11-10 21:15:27 +03:00
Azat Khuzhin
e2cdd49dba check-style: remove Parser/New (antrl had been removed) 2021-11-10 21:15:27 +03:00
Azat Khuzhin
fa50dd885c Run pylint for ci scripts 2021-10-27 10:03:23 +03:00
alesapin
6d8853698b Merge branch 'master' into trying_actions 2021-10-19 17:45:37 +03:00
alesapin
1df70af14e Fix style check one more time: 2021-09-30 16:08:12 +03:00
alesapin
2aa852388f Fix style check 2021-09-30 15:34:44 +03:00
kssenii
410b17b4a1 Fix 2021-09-30 06:35:35 +00:00
Azat Khuzhin
e709ead11a Add std::cerr/std::cout style check 2021-09-28 10:28:28 +03:00
Alexey Milovidov
cd7f9d981c Remove ya.make 2021-09-25 04:22:54 +03:00
alexey-milovidov
2990cdfc6d
Update check-style 2021-08-27 23:59:56 +03:00
kssenii
3f7259f955 Check error codes in style-check, update test 2021-08-27 16:26:26 +03:00
Azat Khuzhin
673f3b4d8d check-style: refactor database column filter check 2021-08-09 09:50:50 +03:00
Azat Khuzhin
ba97ffb909 Add system.mutations for database filter check 2021-08-09 09:50:50 +03:00
Azat Khuzhin
2bfdf0d5a1 check-style: check system.projection_parts for database filter 2021-08-08 19:31:57 +03:00
Azat Khuzhin
3cda5960ec check-style: allow currentDatabase() for ReplicatedMergeTree definition too 2021-08-05 10:11:37 +03:00
Azat Khuzhin
09fa82c244 check-style: fix {database} macro pattern 2021-08-05 09:58:21 +03:00
Azat Khuzhin
507eae9aed check-style: skip *.gen for ReplicatedMergeTree check 2021-08-05 09:51:59 +03:00
Azat Khuzhin
a783b05755 check-style: improve check for ReplicatedMergeTree 2021-08-05 09:50:25 +03:00
Azat Khuzhin
6c61d3731e check-style: cover *.j2 too 2021-08-05 09:50:09 +03:00
Azat Khuzhin
617cdd5d4d check-style: add a check for ReplicatedMergeTree in *.sql 2021-08-05 09:49:48 +03:00
Azat Khuzhin
03e28e1cdf check-style: database filter for system.{tables,parts,parts_columns,columns} 2021-05-22 14:07:21 +03:00
Azat Khuzhin
1ad78a39ed check-style: improve current_database check 2021-05-22 14:07:21 +03:00
Alexey Milovidov
63a287ebee Remove garbage from CMakeLists (2) 2021-04-25 02:01:48 +03:00
Alexey Milovidov
4ff812db7f Maybe better support for paths with whitespaces 2021-04-24 22:47:52 +03:00
Azat Khuzhin
6c2622d451 Add style check for ReplicatedMergeTree path 2021-03-16 07:22:32 +03:00
Azat Khuzhin
b9cb8fdbad Exclude contrib for yamllint check 2021-02-21 10:45:05 +03:00
Azat Khuzhin
2db3a6af49 Add yamllint into style check 2021-02-20 23:25:21 +03:00
Anton Popov
47c610be14
Merge pull request #19726 from CurtizJ/style-check
Allow to run all style checks in one file
2021-02-08 16:24:49 +03:00
Azat Khuzhin
7d9c892e60 check-style: fix "fatal: not a git repository: /place/sandbox-data/tasks/0/2/882869720/ClickHouse/.git/modules/contrib/AMQP-CPP" error
check-style uses "git status" to see changed ya.make files.

However it seems that that the sources was cloned some ancient git
version, likely <2.8, since there was a bug, that has been fixed in 2.8
[1]:

    " * A partial rewrite of "git submodule" in the 2.7 timeframe changed
        the way the gitdir: pointer in the submodules point at the real
        repository location to use absolute paths by accident.  This has
        been corrected."

  [1]: cf11a67975/Documentation/RelNotes/2.8.3.txt (L33-L36)
2021-01-30 00:29:21 +03:00
Azat Khuzhin
480c75bacf check-style: pass path to rc file for pylint 2021-01-29 23:11:53 +03:00
Anton Popov
9c2130cc17 allow to run style check from other directories 2021-01-28 03:13:30 +03:00
Anton Popov
6c7ecc1aa0 allow to run all style checks in one file 2021-01-28 02:47:47 +03:00
Alexander Kuzmenkov
331e8211db
Merge pull request #19675 from azat/tests-query_log-current_database
Require current_database filter for tests with query_log/query_thread_log
2021-01-27 18:00:33 +03:00
Azat Khuzhin
9c5d83d6bc Check that tests with query_log/query_thread_log includes current_database filter 2021-01-27 00:18:32 +03:00
Azat Khuzhin
93d375f67a Check clickhouse-test with pylint during style check 2021-01-27 00:14:23 +03:00
Alexander Tokmakov
14e842c197 print stderr of failed subprocess 2021-01-22 17:27:23 +03:00
Alexey Milovidov
aa2e89611d Remove sumburConsistentHash function 2020-12-31 02:22:04 +03:00
Yatsishin Ilya
011d2b4631 disable couple checks for now 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
5869123a86 no empty line for check-duplicate-includes 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
a25fa1996b fix style checks 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
7e37743c37 run check-typos separately for now 2020-12-29 17:57:12 +03:00
Yatsishin Ilya
f36e8f13c0 more fixes after rebase 2020-12-24 13:48:10 +03:00
Yatsishin Ilya
ce1e2b18a3 Fix codespell warnings. Split style checks. Update style checks docker 2020-12-24 13:17:52 +03:00
Alexey Milovidov
5bdf287910 Check for conflict markers in docs 2020-12-22 00:55:54 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser (#11298) 2020-12-04 05:15:44 +03:00
vdimir
e2fac19686
Remove libbtrie 2020-11-21 21:31:15 +03:00
tavplubix
058aa8f85e
Merge pull request #16824 from ClickHouse/replace_stringstreams_with_buffers
Replace std::*stringstreams with DB::*Buffers
2020-11-12 01:11:44 +03:00
Alexander Tokmakov
b94cc5c4e5 remove more stringstreams 2020-11-10 21:22:26 +03:00
Danila Kutenin
811c3e5cd1 Fix submodules 2020-11-10 01:32:50 +03:00
Danila Kutenin
5d138f3475 Fix submodules for fast test 2020-11-10 01:31:24 +03:00
Alexander Tokmakov
5cdfcfb307 remove other stringstreams 2020-11-09 22:12:44 +03:00
Alexander Tokmakov
a06be511df pcg serialization 2020-11-09 16:07:38 +03:00
Alexey Milovidov
baf55437fa Better diagnostics in check-style script 2020-10-26 22:17:01 +03:00
Alexey Milovidov
32ed8c9681 Fix trailing whitespace 2020-10-26 22:12:40 +03:00
Alexey Milovidov
942828f4d5 Check style 2020-10-25 00:54:17 +03:00
Alexey Milovidov
85c69aad7f Add check for BOM 2020-10-24 09:23:54 +03:00
Alexey Milovidov
c23c7e3bba Check for executable bit on non-executable files 2020-10-11 19:26:11 +03:00
Alexey Milovidov
c214fd97b2 Addition to prev. revision 2020-10-10 23:23:58 +03:00
Alexey Milovidov
269b6383f5 Check for #pragma once in headers 2020-10-10 21:37:02 +03:00
Alexander Kuzmenkov
499e0766e5 Check docker scripts with shellcheck 2020-09-30 20:06:46 +03:00
Alexey Milovidov
425297e9c9 Check that ya.make files are auto-generated 2020-08-19 12:40:28 +03:00
Alexey Milovidov
e43746395e Merge branch 'master' into codespell-2 2020-08-16 14:57:21 +03:00
alexey-milovidov
966dd287b7
Merge branch 'master' into shellcheck3 2020-08-15 19:49:22 +03:00
Alexey Milovidov
145ad95e2a Revert check location of Docker compose files @qoega. 2020-08-15 07:23:23 +03:00
Yatsishin Ilya
ede56a7503 Fix 2020-08-14 17:41:03 +03:00
Yatsishin Ilya
ab337b243a Add docker for style check 2020-08-14 16:09:23 +03:00
Alexey Milovidov
e4d02f6b51 Update for useless script #13599 2020-08-12 06:03:47 +03:00
Alexey Milovidov
b633b49e07 Enable Shellcheck in CI 2020-08-09 02:26:59 +03:00
Alexey Milovidov
726f5b082a Fix build 2020-08-08 17:10:49 +03:00
Alexey Milovidov
6c4df0f27a Better tool 2020-08-08 17:10:49 +03:00
Alexey Milovidov
0688e1671f Run check-typos within check-style 2020-08-08 17:10:49 +03:00
Alexey Milovidov
cacca83839 Added a tool to check for typos; added dictionaries. 2020-08-08 17:10:27 +03:00
Alexey Milovidov
11228a127d Check for copy-pasted GPL code 2020-08-08 05:08:36 +03:00
Alexey Milovidov
e942104eb5 Add a check 2020-08-06 06:13:02 +03:00
Ivan Blinkov
2c0ff29c48 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-22 10:06:36 +03:00
Alexey Milovidov
dec883e21b Check for tests with "fail" in their names 2020-06-20 09:28:19 +03:00
Ivan Blinkov
709b4f42c8 Prototype sending crash reports on segfaults 2020-05-27 22:11:04 +03:00
Yatsishin Ilya
8787cde9c5 fix check-ungrouped-includes.sh 2020-04-14 10:15:02 +03:00
Yatsishin Ilya
c7d3417f62 fix check-include 2020-04-14 10:15:02 +03:00
Alexey Milovidov
1526722333 Enforce that there is no machine translation to russian #10191 2020-04-11 18:54:26 +03:00
Alexey Milovidov
110eb599c1 Fix "check style" tool 2020-04-06 02:57:24 +03:00
Alexey Milovidov
646f409b8e Fix "check style" tool 2020-04-06 02:51:26 +03:00
Ivan
97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00
Alexey Milovidov
e335926882 Check XML validity 2020-03-07 06:28:03 +03:00
Alexey Milovidov
c24cd0ea20 Ensure the number of empty lines 2020-03-03 05:45:20 +03:00
Alexey Milovidov
8f90c6ec12 Fixed ErrorCodes, part 3 2020-02-25 21:20:08 +03:00
Alexey Milovidov
3602126a1e Remove unused ErrorCodes 2020-02-25 17:35:37 +03:00
Alexey Milovidov
c76ff369bb Fix check-style #9161 2020-02-17 22:09:56 +03:00
Ivan Lezhankin
922add6244 Fix check-style util 2020-02-17 19:30:25 +03:00
Alexey Milovidov
b42f85e16b Added a check for double whitespaces 2019-08-23 21:30:04 +03:00
Alexey Milovidov
5fd649e663 Check for broken symlinks #6625 2019-08-23 18:10:33 +03:00
Alexey Milovidov
f38042f006 Check for namespace comments in "check-style" tool #5561 2019-06-13 13:45:32 +03:00
proller
cc3de4115f
Build fixes (#5261) 2019-05-14 12:58:33 +03:00
proller
525726a5e2
Remove pocoext (#5036) 2019-04-17 20:36:58 +03:00
proller
cf8001b6a9
Fix includes (#4673) 2019-03-13 16:58:04 +03:00
Alexey Milovidov
57e038c754 Added a script to check for ungrouped includes 2019-02-10 20:40:18 +03:00
Alexey Milovidov
fdf69f38c0 Added a script to check for duplicate includes 2019-02-10 20:00:29 +03:00
proller
0939387514
Build fixes (#4076)
Move copy_headers.sh and formath.sh from root.
Debian: use default build dir (obj-x86_64-linux-gnu)
Debian: add test after build (GLIBC_required_version)
cmake: dont run copy headers if already copied
2019-01-18 18:19:53 +03:00
proller
1a0a879a51 Build fixes 2018-12-27 18:23:37 +03:00
proller
bebaf9d861 Fix includes, Faster compile (#3898)
* Fix includes

* Faster compile

* WTFix

* Limit compile and linking jobs according to available memory

* Add comment

* fix

* Remove ALL from copy-headers target

* Freebsd fix

* Better

* cmake: split use libcxx
2018-12-23 17:19:11 +03:00
proller
6869771ae4 Fix includes 2018-12-19 20:57:51 +03:00
Alexey Milovidov
7d6fffff48 More style checks [#CLICKHOUSE-3] 2018-11-24 04:48:06 +03:00
Alexey Milovidov
5ec3db20cd More style checks [#CLICKHOUSE-2] 2018-11-23 21:55:43 +03:00
Alexey Milovidov
dbbacf4f87 Added more style checks [#CLICKHOUSE-3] 2018-11-23 21:52:00 +03:00
proller
5678d1ed98 Build fixes (#3545)
* StorageSystemContributors clean

* Fix

* ARM fixes

* Fix arm compile

* fix

* Fix macos?

* Fix includes

* fix

* fix

* Try fix apple build part 1

* Fix identation

* Fix static libc++ in clang

* fix arm build

* better

* fix

* fix

*  better check-include
2018-11-10 23:09:07 +03:00
proller
0ce1a9c095 Start making code quality tests : cmake .. -DENABLE_CODE_QUALITY=1 && ninja && ctest 2018-08-29 22:43:58 +03:00
Alexey Milovidov
a0cdfaaba1 Addition to prev. revision [#CLICKHOUSE-2] 2018-05-07 05:29:50 +03:00
Alexey Milovidov
711bc0ed7f Added a tool to fix code style [#CLICKHOUSE-2] 2018-05-07 05:27:11 +03:00