Kseniia Sumarokova
81db081b88
Merge pull request #36639 from kssenii/better-drop-cache
...
Improve drop cache query
2022-04-26 11:25:46 +02:00
Azat Khuzhin
87421d81ce
tests: use TSVRaw format in 02117_show_create_table_system
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-26 12:15:00 +03:00
Azat Khuzhin
b6f127c977
tests: fix system.processes definition in 02117_show_create_table_system
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-26 12:15:00 +03:00
Azat Khuzhin
c2c8b5cd7e
clickhouse-test: improve left queries after the test hardening
...
Right now it is possible to have "false-positive" for this hardening,
because there is a tiny delay (that can be quite significant on CI, when
it is under pressure) between when the server sends EndOfStream and the
server removes an entry from system.processes.
But now system.processes has is_all_data_sent column, that means that
the EndOfStream was sent, and we can use it to avoid false positive.
Here is an example of such report [1]:
2022-04-25 03:47:18 00806_alter_update: [ FAIL ] 0.95 sec. - Queries left in background after the test finished:
2022-04-25 03:47:18 "elapsed": 0.100084746,
2022-04-25 03:47:18 "is_cancelled": 0,
2022-04-25 03:47:18 "query": "DROP TABLE alter_update_00806;",
2022-04-25 03:47:18 "thread_ids": [
2022-04-25 03:47:18 "8950"
2022-04-25 03:47:18 ],
2022.04.25 03:47:17.887095 [ 8950 ] {7c062004-4c22-486c-934a-f405846e2c81} <Debug> executeQuery: (from [::1]:52012) (comment: 00806_alter_update.sql) DROP TABLE alter_update_00806;
2022.04.25 03:47:17.887493 [ 8950 ] {7c062004-4c22-486c-934a-f405846e2c81} <Trace> ContextAccess (default): Access granted: DROP TABLE ON test_7ntsjn.alter_update_00806
2022.04.25 03:47:17.887765 [ 8950 ] {7c062004-4c22-486c-934a-f405846e2c81} <Trace> test_7ntsjn.alter_update_00806 (1bc92bca-10a7-444e-be5e-7f61f4650169): Found 2 old parts to remove.
2022.04.25 03:47:17.887947 [ 8950 ] {7c062004-4c22-486c-934a-f405846e2c81} <Debug> test_7ntsjn.alter_update_00806 (1bc92bca-10a7-444e-be5e-7f61f4650169): Removing part from filesystem 20180101_20180101_1_1_0
2022.04.25 03:47:17.888960 [ 8950 ] {7c062004-4c22-486c-934a-f405846e2c81} <Debug> test_7ntsjn.alter_update_00806 (1bc92bca-10a7-444e-be5e-7f61f4650169): Removing part from filesystem 20180102_20180102_2_2_0
2022.04.25 03:47:17.890620 [ 8950 ] {7c062004-4c22-486c-934a-f405846e2c81} <Debug> DatabaseCatalog: Waiting for table 1bc92bca-10a7-444e-be5e-7f61f4650169 to be finally dropped
2022.04.25 03:47:17.895046 [ 8950 ] {7c062004-4c22-486c-934a-f405846e2c81} <Debug> MemoryTracker: Peak memory usage (for query): 0.00 B.
...
2022.04.25 03:47:17.938328 [ 4422 ] {aa01985a-78f5-4c0e-b646-8d04a4a1dc77} <Debug> executeQuery: (from [::1]:59416) (comment: 00806_alter_update.sql) DROP DATABASE test_7ntsjn
2022.04.25 03:47:17.938667 [ 4422 ] {aa01985a-78f5-4c0e-b646-8d04a4a1dc77} <Trace> ContextAccess (default): Access granted: DROP DATABASE ON test_7ntsjn.*
...
2022.04.25 03:47:18.154847 [ 8950 ] {} <Debug> TCPHandler: Processed in 0.269358257 sec.
2022.04.25 03:47:18.154991 [ 8950 ] {} <Debug> TCPHandler: Done processing connection.
2022.04.25 03:47:18.155181 [ 8950 ] {} <Debug> TCP-Session: e1d8176a-ee62-4e0a-9855-fe9eb52e06dc Destroying unnamed session of user 94309d50-4f52-5250-31bd-74fecac179db
[1]: https://s3.amazonaws.com/clickhouse-test-reports/36319/a646cf76b6d4699f06aea1e8d777edb1ad6fd2c5/stateless_tests__debug__actions__[1/3]/runlog.log
So as you can see here DROP TABLE was captured when elapsed was 0.1,
while TCPHandler processes it for 0.26 seconds.
Also from the same report you are seeing that DROP DATABASE was executed
before TCPHandler stopoped processing DROP TABLE.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-26 12:15:00 +03:00
Anton Popov
e051751012
Merge pull request #36637 from CurtizJ/dynamic-columns-11
...
Fix merges of wide parts with type `Object`
2022-04-26 10:34:04 +02:00
Memo
22ecd92ed3
fix reference
2022-04-26 16:24:21 +08:00
Vitaly Baranov
78bcb96098
Rename backup & restore setting 'async' -> 'sync', and make backup & restore async by default.
2022-04-26 09:51:19 +02:00
Robert Schulze
718a173ce9
Merge remote-tracking branch 'origin/master' into clang-tidy-cleanup
...
Conflicts:
- cmake/clang_tidy.cmake
2022-04-26 09:42:47 +02:00
Robert Schulze
15e75e79e4
analysis.cmake --> clang_tidy.cmake
2022-04-26 09:41:56 +02:00
Amos Bird
298c0dd673
Fix flaky test
2022-04-26 15:06:50 +08:00
Antonio Andelic
cf022542bd
Merge branch 'master' into keeper-recovery-mode
2022-04-26 06:50:02 +00:00
Alexey Milovidov
0cb227501f
Merge pull request #36587 from azat/client-reconnect
...
client: add a message on reconnect (under warning log level)
2022-04-26 08:44:27 +03:00
mergify[bot]
4e82b56a8d
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-26 05:40:49 +00:00
mergify[bot]
56f92f5f31
Merge branch 'master' into 22.4-tests-fixes
2022-04-26 02:55:31 +00:00
Alexey Milovidov
86bf67c93c
Merge pull request #36526 from Joeywzr/to_start_of_five_minutes
...
Replace toStartOfFiveMinute to toStartOfFiveMinutes
2022-04-26 05:52:02 +03:00
alesapin
d265ad619b
Merge pull request #35971 from azat/column-ttl-test
...
Regression test for CHECKSUM_DOESNT_MATCH error because of per-column TTL bug
2022-04-25 23:53:58 +02:00
mergify[bot]
a5aab53b70
Merge branch 'master' into add_query_level_settingss
2022-04-25 21:41:36 +00:00
mergify[bot]
178f244c8b
Merge branch 'master' into dynamic-columns-11
2022-04-25 21:36:56 +00:00
mergify[bot]
f7d2a7dec9
Merge branch 'master' into tuple-numeric-identifiers
2022-04-25 21:32:25 +00:00
alesapin
012f85a569
Merge pull request #36539 from ClickHouse/fix-01161-all-system-tables
...
Fix 01161_all_system_tables
2022-04-25 23:30:36 +02:00
alesapin
7a901c0826
Merge pull request #36602 from azat/netlink-strict-resubmit
...
Strict taskstats parser (resubmit)
2022-04-25 23:28:08 +02:00
alesapin
b74cd2ba08
Merge pull request #36622 from ClickHouse/lambda-cancel-sync
...
Lambda cancel sync
2022-04-25 23:20:27 +02:00
alesapin
c04c62795e
Merge pull request #36634 from azat/01502_long_log_tinylog_deadlock_race-test
...
Properly wait for queries in 01502_long_log_tinylog_deadlock_race test
2022-04-25 23:11:37 +02:00
Alexander Tokmakov
049d2a0897
fix tests
2022-04-25 22:18:45 +02:00
Kseniia Sumarokova
3215faca72
Update storage_conf.xml
2022-04-25 21:15:38 +02:00
Alexander Tokmakov
cfcf8dbfbe
fix backward incompatibility
2022-04-25 21:00:39 +02:00
Nikita Taranov
d7ff09b8e0
update tests
2022-04-25 18:23:24 +00:00
alesapin
88f05ac14a
Fix black
2022-04-25 20:08:05 +02:00
mergify[bot]
d2ac9b2223
Merge branch 'master' into to_start_of_five_minutes
2022-04-25 17:36:38 +00:00
mergify[bot]
f2233e6844
Merge branch 'master' into client-reconnect
2022-04-25 17:31:14 +00:00
mergify[bot]
21238b44a2
Merge branch 'master' into 22.4-tests-fixes
2022-04-25 17:30:19 +00:00
Nikita Taranov
5dc9478bac
fix SortingStep::updateOutputStream()
2022-04-25 17:29:14 +00:00
mergify[bot]
e79de5a577
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-25 17:29:11 +00:00
mergify[bot]
fdc895462e
Merge branch 'master' into fix-trash-s3-metrics
2022-04-25 17:28:06 +00:00
kssenii
a76a35d3ce
Better drop cache
2022-04-25 19:20:25 +02:00
Anton Popov
d28b1559e6
fix merges of wide parts with type Object
2022-04-25 16:44:24 +00:00
mergify[bot]
265398d1b6
Merge branch 'master' into feat/add_part_offset
2022-04-25 15:58:16 +00:00
Azat Khuzhin
01438e1060
tests: properly wait for queries in 01502_long_log_tinylog_deadlock_race
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 18:26:47 +03:00
fenglv
85f35a6857
Fix format crash when default expression follow EPHEMERAL not literal
2022-04-25 14:57:14 +00:00
alesapin
268cb29230
Disble test postgresql replica with asan
2022-04-25 16:37:50 +02:00
Vitaly Baranov
4de4fff590
Fix tests.
2022-04-25 16:34:34 +02:00
Vitaly Baranov
68a020ecea
Implement BACKUP/RESTORE ON CLUSTER.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
ec5b89a6ac
Revert backup version 2. Add parameter data_file_path to handle duplicate files more easily without introducing a new backup format.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
f14613f433
Implemented backup version 2: now files in backups are named by their checksums.
...
It will allow to store duplicate files only one time.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
acd28d8a1d
Implement RESTORE for replicated tables.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
d20b3d78c5
Rename some restore settings.
2022-04-25 16:34:17 +02:00
Meena Renganathan
2da4f168d6
Removed the tests aes-192-cfb128 and aes-256-cfb128 since the latest boringssl module does n't support.
2022-04-25 06:55:34 -07:00
Azat Khuzhin
3c43914f9a
tests: simplify 01834_alias_columns_laziness_filimonov
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 16:51:39 +03:00
Mikhail f. Shiryaev
824335ca33
Filter out sychronized events globbaly
2022-04-25 14:45:11 +02:00
Mikhail f. Shiryaev
f53040b95e
Merge pull request #36559 from ClickHouse/performance-rebalance
...
Use just index to split performance tests by group
2022-04-25 14:15:23 +02:00
alesapin
46ac2f3e36
Merge pull request #36607 from ClickHouse/exclude_bc_test
...
Exclude test `02271_fix_column_matcher_and_column_transformer` from bc check
2022-04-25 14:00:13 +02:00
Azat Khuzhin
23347a878d
tests: update 01173_transaction_control_queries
...
Since now on INSERT failures reconnect does not happens.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 14:42:30 +03:00
Kseniia Sumarokova
2106a7b895
Merge pull request #36489 from awakeljw/fork_chmaster
...
fix ConvertDecimalType unexpected behavior
2022-04-25 13:23:54 +02:00
Nikolai Kochetov
0fa63a8d65
Merge pull request #36549 from ClickHouse/interpolate-alias-fix
...
Avoid projections if INTERPOLATE with expressions is present
2022-04-25 13:18:00 +02:00
Kruglov Pavel
34c342fdd3
Merge pull request #36205 from Avogar/improve-globs
...
Some refactoring around schema inference with globs
2022-04-25 13:14:46 +02:00
Robert Schulze
63221c8779
Update outdated clang-tidy instructions
2022-04-25 12:56:45 +02:00
tavplubix
7246101f61
better fix for tests
2022-04-25 13:51:33 +03:00
Alexander Gololobov
5e85b1a7b4
More test cases
2022-04-25 12:11:07 +02:00
Mikhail f. Shiryaev
f3aaff773a
Disable broken performance test
2022-04-25 11:26:05 +02:00
alesapin
a8f3f9704e
Exclude test from bc check
2022-04-25 11:20:22 +02:00
Azat Khuzhin
35613e3010
tests: adopt 01268_procfs_metrics for difference between proc and taskstruct
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 08:49:17 +03:00
Azat Khuzhin
aaa222821c
tests: simplify 01268_procfs_metrics
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 08:49:08 +03:00
Yakov Olkhovskiy
a15c864ec7
Update 02233_interpolate_1.sql
...
new line
2022-04-24 23:50:19 -04:00
ndchikin
7bc0626e55
nth_value bug fix
2022-04-25 02:47:30 +00:00
Alexey Milovidov
f27c4d5fd4
Update 01958_partial_hour_timezone.reference
2022-04-25 03:25:00 +03:00
mergify[bot]
705d5af3a0
Merge branch 'master' into to_start_of_five_minutes
2022-04-24 22:24:24 +00:00
Alexey Milovidov
52dc76eb28
Merge pull request #36433 from PolyProgrammist/integration-tests-notion
...
Notion for integration tests to build with ENABLE_CLICKHOUSE_ALL=ON
2022-04-25 01:23:14 +03:00
Alexey Milovidov
5ce6f0aae0
Fix test
2022-04-25 00:08:26 +02:00
Alexey Milovidov
f51e137a2d
Update test.py
2022-04-24 22:39:06 +03:00
awakeljw
d58a21678a
fix ConvertDecimalType unexpected behavior
2022-04-24 23:35:58 +08:00
alesapin
edc78247f0
Merge pull request #36299 from ClickHouse/fix_trash
...
Trying to fix some trash in zero copy replication
2022-04-24 13:19:43 +02:00
Alexey Milovidov
7a34dfef6e
Update test
2022-04-24 08:43:49 +02:00
Alexey Milovidov
90297e225c
Merge pull request #36430 from amosbird/fixcolumnmatcher
...
Fix column matcher and column transformer
2022-04-24 09:11:21 +03:00
Alexey Milovidov
28ab036e08
Merge pull request #35976 from kitaisreal/performance-tests-fix
...
Fix performance tests
2022-04-24 06:17:40 +03:00
Alexey Milovidov
fe004c3486
Merge pull request #36486 from kitaisreal/executable-user-defined-functions-fix-group-by
...
ExecutableUserDefinedFunction fix usage in GROUP BY
2022-04-24 06:11:57 +03:00
Alexey Milovidov
da1b0b491f
Merge pull request #36487 from FArthur-cmd/fix_certificates
...
Add passphrase for certificates
2022-04-24 04:58:21 +03:00
Kruglov Pavel
3936b3e800
Merge pull request #36207 from Avogar/improve-json-schema-inference
...
Improve schema inference for json objects
2022-04-23 16:42:27 +02:00
Mikhail f. Shiryaev
2aaaf41ee4
Speed-up file_table_function 20 times
2022-04-23 14:33:03 +02:00
alesapin
f0f92341e0
Merge pull request #36492 from ClickHouse/fix-keeper-hostname-check
...
Fix hostname checks in clickhouse-keeper
2022-04-23 13:54:57 +02:00
tavplubix
e49323ca9c
Update 01161_all_system_tables.sh
2022-04-23 14:23:33 +03:00
alesapin
46792379e7
Merge branch 'master' into fix_trash
2022-04-23 12:05:35 +02:00
wuxiaobai24
751185a366
allow file descriptor in table function file()
2022-04-23 11:01:27 +08:00
alesapin
7380a71333
Merge pull request #31833 from ClickHouse/musl-check
...
Build clickhouse-keeper with Musl
2022-04-22 22:41:16 +02:00
alesapin
0e8949200e
Merge pull request #36552 from ClickHouse/fix-docker-server-check
...
Fix version autodetection for docker_server.py
2022-04-22 22:15:55 +02:00
avogar
700621e4e0
Fix tests
2022-04-22 17:38:39 +00:00
avogar
80eacc8533
Merge branch 'master' of github.com:ClickHouse/ClickHouse into improve-json-schema-inference
2022-04-22 17:18:44 +00:00
Anton Popov
50879555ef
Update 02286_tuple_numeric_identifier.sql
2022-04-22 18:29:57 +02:00
Yakov Olkhovskiy
5d59001d44
test is added
2022-04-22 11:07:32 -04:00
Mikhail f. Shiryaev
83c02e8014
Fix version autodetection for docker_server.py
2022-04-22 16:51:29 +02:00
tavplubix
48dddc53b9
Update 01161_all_system_tables.sh
2022-04-22 17:32:53 +03:00
mergify[bot]
eefc302779
Merge branch 'master' into fix-keeper-hostname-check
2022-04-22 14:07:53 +00:00
alesapin
18d094d79d
Merge pull request #35865 from azat/clickhouse-test-left-queries
...
clickhouse-test: fix left-queries-check, to fix test log parser
2022-04-22 15:59:38 +02:00
Nikita Mikhaylov
224f4dc620
Made parallel_reading_from_replicas
work with localhost replica ( #36281 )
2022-04-22 15:52:38 +02:00
Anton Popov
5b5dd4fa46
Merge pull request #36423 from CurtizJ/return-back-36126
...
Return back #36126
2022-04-22 14:27:57 +02:00
Anton Popov
39fa397e9f
allow names of tuple elements starting from digits
2022-04-22 12:07:23 +00:00
Antonio Andelic
2e187e4b97
Merge pull request #36439 from xiedeyantu/temp-table-improve
...
temporary table can show total rows and total bytes
2022-04-22 13:41:25 +02:00
Antonio Andelic
357dd7354c
Fix no-parallel tag
2022-04-22 11:39:36 +00:00
Kseniia Sumarokova
33bb48106f
Merge pull request #36314 from CurtizJ/print-bad-filenames
...
Show names of erroneous files in case of parsing errors while executing table functions
2022-04-22 13:24:55 +02:00
Memo
523f33d57d
add bin tests
2022-04-22 18:59:55 +08:00
alesapin
32f5bc8d52
Merge pull request #36091 from ClickHouse/thin-ckeckout
...
Thin checkout
2022-04-22 11:22:46 +02:00
Antonio Andelic
4e389d8df1
Rename to hostname, add tests
2022-04-22 08:16:14 +00:00
Alexey Milovidov
e8575f5f35
Merge pull request #36327 from ucasfl/alias
...
Add aliases JSONLines and NDJSON for JSONEachRow
2022-04-22 07:08:02 +03:00
Memo
956d525840
fix conflict
2022-04-22 11:22:50 +08:00
Memo
39aadf0975
replaced toStartOfFiveMinute to toStartOfFiveMinutes
2022-04-22 10:49:59 +08:00
mergify[bot]
cd8fa75546
Merge branch 'master' into fix_trash
2022-04-21 21:45:31 +00:00
Maksim Kita
bac1f12a2b
Merge pull request #36167 from kitaisreal/special-operators-broken-aliases-fix
...
Fix broken aliases during parsing of special operators
2022-04-21 22:31:45 +02:00
Mikhail f. Shiryaev
2dfdbe0afa
Update contributors each release
2022-04-21 20:10:12 +02:00
Mikhail f. Shiryaev
c65c832edb
Adjust git_helper and version_helper for shallow clone
2022-04-21 20:08:55 +02:00
Mikhail f. Shiryaev
9abd28ebc9
Prepare update_contributors for release.py step
2022-04-21 20:08:54 +02:00
Mikhail f. Shiryaev
fc5107623f
Checkout shallow repository for builds
2022-04-21 20:08:52 +02:00
mergify[bot]
e38a3c3595
Merge branch 'master' into alias
2022-04-21 15:02:30 +00:00
Anton Popov
a87f19b493
fix more cases with nested arrays
2022-04-21 14:57:12 +00:00
Mikhail f. Shiryaev
139811b6f1
Consistent "force tests" label
2022-04-21 16:37:51 +02:00
Dmitry Novik
77a82cc090
Merge pull request #35631 from amosbird/projection-fix1
...
Fix broken SET reuse during projection analysis.
2022-04-21 15:32:52 +02:00
FArthur-cmd
72efd079c6
fix check_black
2022-04-21 12:57:05 +00:00
FArthur-cmd
7d1b3f84d0
fix check_black
2022-04-21 12:48:00 +00:00
mergify[bot]
04e3356d50
Merge branch 'master' into temp-table-improve
2022-04-21 12:43:55 +00:00
Antonio Andelic
03779fd463
Merge branch 'master' into keeper-recovery-mode
2022-04-21 12:34:18 +00:00
FArthur-cmd
f0a4009f60
Add passphrase for certificates
2022-04-21 12:26:30 +00:00
mergify[bot]
1ba1cad5cf
Merge branch 'master' into improve-globs
2022-04-21 11:52:13 +00:00
Kruglov Pavel
ae1f38ebe7
Fix test
2022-04-21 13:49:56 +02:00
Maksim Kita
01e09ba44e
Fixed tests
2022-04-21 13:47:43 +02:00
Maksim Kita
fb28791d83
Fixed tests
2022-04-21 13:47:43 +02:00
Maksim Kita
90e3a75874
Fixed tests
2022-04-21 13:47:43 +02:00
Maksim Kita
00ac3231b2
Fix broken aliases during parsing of special operators
2022-04-21 13:47:43 +02:00
Maksim Kita
397603e9be
ExecutableUserDefinedFunction fix usage in GROUP BY
2022-04-21 13:44:56 +02:00
Kruglov Pavel
7fb0f2284d
Merge branch 'master' into fix-s3-cluster
2022-04-21 13:39:52 +02:00
Kruglov Pavel
a6186f7ba4
Merge pull request #36333 from ClickHouse/bool-sync-after-error
...
Fix tech debt for Bool and Map data types
2022-04-21 13:32:14 +02:00
Kruglov Pavel
016da97d4f
Merge pull request #36454 from azat/fix-limit-by
...
Fix "Cannot find column" error for distributed queries with LIMIT BY
2022-04-21 12:50:27 +02:00
xiedeyantu
53337cf021
fix style check fail
2022-04-21 09:18:34 +08:00
Alexey Milovidov
dd93d5d872
Merge pull request #36422 from ClickHouse/check-revert-prs
...
Check revert prs
2022-04-21 02:25:34 +03:00
Alexey Milovidov
ec9b86fd03
Merge branch 'master' into fixcolumnmatcher
2022-04-21 02:15:25 +03:00
alesapin
cbfe00bb47
Fix tidy
2022-04-21 00:30:13 +02:00
Sergei Trifonov
2f38e7bc5c
Merge pull request #36400 from azat/dyn-linker-vars
...
Add more harmful variables for OSX
2022-04-21 00:02:51 +02:00
Azat Khuzhin
9a882cc8a6
Regression test for CHECKSUM_DOESNT_MATCH error because of per-column TTL bug
...
This is a regression test for possible CHECKSUM_DOESNT_MATCH due to
per-column TTL bug, that had been fixed in [1].
[1]: https://github.com/ClickHouse/ClickHouse/pull/35820
v2: mark 02265_column_ttl as long
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:49:48 +03:00
Azat Khuzhin
836c43092b
tests: increase timeout in 02151_http_s_structure_set_eof
...
Otherwise sometimes 0.15s seems not enough to start the query
CI: https://s3.amazonaws.com/clickhouse-test-reports/35865/e330d691a3a1981582ebbe20e3ecc15247644f19/stateless_tests_flaky_check__address__actions_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:31 +03:00
Azat Khuzhin
efcff2a725
tests: mark 02151_http_s_structure_set_eof as long
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
CI: https://s3.amazonaws.com/clickhouse-test-reports/35865/e330d691a3a1981582ebbe20e3ecc15247644f19/stateless_tests_flaky_check__address__actions_/runlog.log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:31 +03:00
Azat Khuzhin
06532cb2f8
tests: use proper wait in 01502_log_tinylog_deadlock_race
...
CI: https://s3.amazonaws.com/clickhouse-test-reports/35865/e330d691a3a1981582ebbe20e3ecc15247644f19/stateless_tests__address__actions__[2/2].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:31 +03:00
Azat Khuzhin
4d2aa3308b
tests: use more unique user name in 02104_overcommit_memory
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:31 +03:00
Azat Khuzhin
dc177a72df
tests: use proper query termination in 02104_overcommit_memory via SIGINT
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:31 +03:00
Azat Khuzhin
7b5ed949a1
tests: wait queries that may left
...
v2: wait for queries in 01085_max_distributed_connections_http
CI: https://s3.amazonaws.com/clickhouse-test-reports/35865/e330d691a3a1981582ebbe20e3ecc15247644f19/stateless_tests__debug__actions__[2/3].html
v3: wait left queries in 01675_data_type_coroutine*
CI: https://s3.amazonaws.com/clickhouse-test-reports/36400/828d23c933681ecfc19a09a78947918c545e5558/stateless_tests__debug__actions__[2/3].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:08 +03:00
Azat Khuzhin
5d49bf1b81
clickhouse-test: fix left-queries-check, to fix test log parser
...
Before:
00170_s3_cache:
Found queries left in processlist after running 00170_s3_cache.sql (database=test_8zpbah):
[
...
]
2022-03-27 00:11:27 [ FAIL ] 600.06 sec. - Timeout!
After:
02263_test: [ FAIL ] - Queries left in background after the test finished:
[
...
]
Settings used in the test: --max_insert_threads=11 --group_by_two_level_threshold=100000 --group_by_two_level_threshold_bytes=50000000 --distributed_aggregation_memory_efficient=0 --fsync_metadata=0 --priority=2 --output_format_parallel_formatting=1 --input_format_parallel_parsing=0 --min_chunk_bytes_for_parallel_parsing=12372842 --max_read_buffer_size=855730 --prefer_localhost_replica=1 --max_block_size=74323 --max_threads=56
Database: default
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:31:39 +03:00
Kseniia Sumarokova
842879beea
Merge pull request #36272 from kssenii/mongo-fix
...
Allow missing columns for mongo storage
2022-04-20 17:54:35 +02:00
xiedeyantu
8334648767
fix test
2022-04-20 23:34:05 +08:00
Yakov Olkhovskiy
95fc6243b1
Merge pull request #36386 from Joeywzr/hex_support_uint128
...
hex support Int128/Int256/UInt128/UInt256
2022-04-20 11:11:51 -04:00
Kruglov Pavel
3916436a10
Fix style
2022-04-20 16:35:24 +02:00
Kruglov Pavel
6ddebf7d38
Fix style
2022-04-20 16:34:05 +02:00
Kruglov Pavel
813e228fcc
Merge branch 'master' into improve-globs
2022-04-20 16:31:47 +02:00
xiedeyantu
2ecbf3e1be
add test for temporary table can show total rows and total bytes
2022-04-20 22:02:47 +08:00
mergify[bot]
ded06ff100
Merge branch 'master' into return-back-36126
2022-04-20 13:01:32 +00:00
Azat Khuzhin
c6ffec1fec
Fix "Cannot find column" error for distributed queries with LIMIT BY
...
Consider the following example:
SELECT k FROM (SELECT materialize('foo') AS k, -1 AS v) ORDER BY abs(v) AS _v ASC LIMIT 1 BY k
The problem here is that in case of query has LIMIT BY for
WithMergeableState* (which is the final state on the remote shard for
distributd queries) it returns the following columns:
- k
- v
While it should return:
- k
- abs(v)
So as query w/o LIMIT BY, so that initiator will be able to do the sorting
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 15:23:24 +03:00
Kruglov Pavel
5801de7f72
Merge pull request #36254 from Avogar/improve-client
...
Send both stdin data and data from query/data from infile in client
2022-04-20 13:55:04 +02:00
李扬
a1e54c3918
Fix wrong result of datetime64 when negative ( #35440 )
2022-04-20 13:11:31 +02:00
alesapin
40c15222f8
Merge branch 'master' into fix_trash
2022-04-20 12:45:49 +02:00
Antonio Andelic
6c95a2c195
Wait for node1 to connect
2022-04-20 10:35:35 +00:00
alesapin
ba81816dc1
Better cmake
2022-04-20 12:11:55 +02:00
kssenii
b1d699aea1
Fix test
2022-04-20 11:24:59 +02:00
tavplubix
2c54381520
Merge pull request #36200 from ClickHouse/fix_create_as_replicated_default_args
...
Fix CREATE AS for ReplicatedMergeTree with default arguments
2022-04-20 12:01:13 +03:00
Mikhail f. Shiryaev
1e9d80a9c2
Merge pull request #36297 from ClickHouse/docs-staging
...
Docs staging
2022-04-20 10:47:54 +02:00
Mikhail f. Shiryaev
462a28a2e6
Remove innecessary requirement
2022-04-20 10:24:12 +02:00
Antonio Andelic
bb0d941add
Run tests on a single cluster
2022-04-20 08:06:17 +00:00
Yakov Olkhovskiy
f6a7b6c2a1
Merge pull request #36352 from awakeljw/fork_chmaster
...
Possible range issues in automatic assigned enums, also fix error message.
2022-04-19 23:34:35 -04:00
Mikhail f. Shiryaev
8e2874328f
Prepare docs_check.py to be used in docs-clickhouse
2022-04-19 23:35:39 +02:00
Vadim Volodin
1bffa4e80d
Notion for integration tests to build as a whole
2022-04-19 21:25:57 +03:00
avogar
9a81b67ba5
Fix bug in s3Cluster schema inference
2022-04-19 18:23:04 +00:00
Kruglov Pavel
7fb7fc9daa
Merge pull request #36275 from Avogar/fix-insert-select
...
Place new logic of schema inference in insert select from table function under setting
2022-04-19 20:19:28 +02:00
Vadim Volodin
97c9ac0531
Fix docs for integration tests ( #36426 )
2022-04-19 19:42:43 +02:00
Amos Bird
158a25d5fa
Fix column matcher and column transformer
2022-04-20 01:22:04 +08:00
Anton Popov
bee4ca9b62
add more tests for error diagnostics in files
2022-04-19 15:56:34 +00:00
alesapin
fac600830e
Merge pull request #36412 from ClickHouse/pr-info-api-fallback
...
Fallback to a default event data when API is broken
2022-04-19 17:31:24 +02:00
Anton Popov
3e361c9759
Merge remote-tracking branch 'upstream/master' into HEAD
2022-04-19 14:18:04 +00:00
Anton Popov
056500f2ad
Merge pull request #33391 from zhongyuankai/fix_storage_distributed_ttl
...
Fix Alter ttl modification unsupported table engine
2022-04-19 15:47:01 +02:00
Anton Popov
7b7939c52c
fix parsing of ints
2022-04-19 13:31:45 +00:00
Mikhail f. Shiryaev
da55ba6af2
Check Revert
PRs and mark it as pr-not-for-changelog
2022-04-19 14:48:58 +02:00
Mikhail f. Shiryaev
44269d06b5
Improve some variables
2022-04-19 14:47:18 +02:00
Antonio Andelic
70f3d3a863
Merge branch 'master' into keeper-recovery-mode
2022-04-19 12:32:48 +00:00
Kruglov Pavel
ec4e1cb6d8
Merge pull request #36211 from Avogar/insert-select-all-formats
...
Allow insert select for files with formats without schema inference
2022-04-19 14:25:59 +02:00
Kruglov Pavel
031cfcdce3
Merge pull request #36250 from Avogar/fix-tests
...
Split test 01675_data_type_coroutine into 2 tests to prevent possible timeouts
2022-04-19 14:25:00 +02:00
mergify[bot]
3c1dd44b80
Merge branch 'master' into fix-insert-select
2022-04-19 12:17:31 +00:00
tavplubix
99ea71b371
Update 01148_zookeeper_path_macros_unfolding.sql
2022-04-19 15:17:16 +03:00
avogar
996be9fe54
Fix tests
2022-04-19 12:16:45 +00:00
alesapin
ee8d26ff0e
Better test and fix for move
2022-04-19 13:27:55 +02:00
mergify[bot]
d894aed7ae
Merge branch 'master' into mongo-fix
2022-04-19 09:32:51 +00:00
Mikhail f. Shiryaev
7925d925a9
Merge branch 'master' into docs-staging
2022-04-19 11:00:03 +02:00
Antonio Andelic
608c0996d0
Fix tests
2022-04-19 08:59:44 +00:00
Mikhail f. Shiryaev
40dafbe015
Don't put built documentation to output path
2022-04-19 10:43:12 +02:00
Mikhail f. Shiryaev
c1014aa60c
Use a new builder as a check image
2022-04-19 10:43:11 +02:00
Antonio Andelic
cd548aeb30
Refactor test for multiple cluster size
2022-04-19 08:08:36 +00:00
Antonio Andelic
c968353ee9
Define tests for 3 node cluster
2022-04-19 08:08:35 +00:00
Mikhail f. Shiryaev
e96ba17c30
Fallback to a default event data when API is broken
2022-04-19 09:45:40 +02:00
Memo
8d4e433c7d
add int8 int16 int32 int64 and tests
2022-04-19 14:38:16 +08:00
alesapin
c81cb9e563
Better
2022-04-19 01:12:07 +02:00
alesapin
bd7b3847c1
Some code
2022-04-19 01:09:09 +02:00
Azat Khuzhin
c32e151bc2
Add a test for dynamic linker variables
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-18 23:34:13 +03:00
Anton Popov
56bdc654d4
Revert "Merge pull request #36337 from ClickHouse/revert-36126-fork_chmaster2"
...
This reverts commit e04f80d4a7
, reversing
changes made to 06e0afb67f
.
2022-04-18 17:59:46 +00:00
mergify[bot]
daca157111
Merge branch 'master' into fix_storage_distributed_ttl
2022-04-18 17:31:59 +00:00
Memo
3979f858fe
fix style
2022-04-18 21:09:50 +08:00
Memo
335be4c807
hex support Int128/Int256/UInt128/UInt256
2022-04-18 20:13:43 +08:00
alesapin
5802b67c2a
Merge pull request #36257 from ClickHouse/fix_integration_tests_parser_bug
...
Fix integration tests report parser
2022-04-18 11:41:34 +02:00
tavplubix
9d2b5ae498
Update 01148_zookeeper_path_macros_unfolding.sql
2022-04-18 11:42:45 +03:00
Memo
d03621115a
fix code style
2022-04-18 12:21:48 +08:00
Memo
b3adf150b5
add_query_level_settings
2022-04-18 12:15:41 +08:00
Alexey Milovidov
f5e270b2f8
Merge pull request #36353 from ucasfl/type-infer-null
...
Implement type inference for INSERT INTO function null()
2022-04-18 07:06:54 +03:00
Alexey Milovidov
0af183826d
Merge pull request #36358 from ClickHouse/don-t-randomize-priority
...
Do not randomize "priority" setting
2022-04-18 07:04:36 +03:00
Alexey Milovidov
1333b4cd89
Merge pull request #36345 from ucasfl/throw-no-data
...
Add setting throw_if_no_data_to_insert
2022-04-18 07:04:16 +03:00
Alexey Milovidov
76f41040a0
Merge pull request #36363 from ClickHouse/fix-slow-test
...
Fix slow test
2022-04-18 07:01:30 +03:00
mergify[bot]
83ba5cfddd
Merge branch 'master' into fix_integration_tests_parser_bug
2022-04-18 03:47:40 +00:00
Alexey Milovidov
c5883872da
Add test reference
2022-04-18 04:20:47 +02:00
Alexey Milovidov
4c9d6fd5b6
Update test
2022-04-18 03:09:36 +02:00
Alexey Milovidov
4a5dc04772
Add test
2022-04-18 02:48:30 +02:00
Alexey Milovidov
56df9bbc0d
Update test.py
2022-04-18 02:59:31 +03:00
Alexey Milovidov
24c13853c3
Fix slow test
2022-04-18 01:45:44 +02:00
Alexey Milovidov
1959ae2c9e
Fix integration tests
2022-04-18 01:00:18 +02:00
Alexey Milovidov
19a8207ab7
Debug integration tests
2022-04-18 00:16:53 +02:00
Alexey Milovidov
aa93f4a074
Do not randomize "priority" setting
2022-04-17 20:48:02 +02:00
fenglv
1ffd9fe34c
update test
2022-04-17 16:29:13 +00:00
fenglv
293d0a5d46
Implement type inference for INSERT INTO function null()
2022-04-17 15:07:56 +00:00
Alexey Milovidov
89deaf0af1
Merge pull request #36056 from azat/client-trailing-space
...
Remove trailing whitespace in default client_name
2022-04-17 17:37:43 +03:00
mergify[bot]
4fed033dca
Merge branch 'master' into alias
2022-04-17 14:37:04 +00:00
awakeljw
017777793a
Possible range issues in automatic assigned enums, also fix error message.
2022-04-17 21:40:48 +08:00
fenglv
b25850a665
Add setting throw_if_no_data_to_insert
2022-04-17 05:42:07 +00:00
Alexey Milovidov
cb9675d0f2
Revert "support UNSIGNED modifier with unused parameters of INT"
2022-04-16 21:23:57 +03:00
fenglv
9f3c707b9e
fix test
2022-04-16 08:15:07 +00:00
fenglv
74ef1b0198
Add aliases JSONLines and NDJSON for JSONEachRow
2022-04-16 06:01:07 +00:00
Anton Popov
2de6668b3f
show names of erroneous files
2022-04-16 00:10:47 +00:00
alesapin
722af5a2f5
Merge pull request #36269 from ClickHouse/fix-cancel-lambda
...
Fix cancel-lambda for closed PRs
2022-04-15 12:32:25 +02:00
mergify[bot]
8438c17685
Merge branch 'master' into fix_integration_tests_parser_bug
2022-04-15 09:48:43 +00:00
Yakov Olkhovskiy
51b4cef6f8
Merge pull request #36101 from awakeljw/fork_chmaster
...
Auto assign numbers for Enum elements
2022-04-14 23:53:03 -04:00
Mikhail f. Shiryaev
401efa5fd4
Improve docker building and logging for approve lambda
2022-04-15 01:28:14 +02:00
Mikhail f. Shiryaev
e689322980
Improve logic to decide cancelling workflow
2022-04-15 01:28:13 +02:00
Mikhail f. Shiryaev
fad0aeb0d3
Fix some linter issues
2022-04-15 01:28:13 +02:00
Mikhail f. Shiryaev
646fd45645
Request unfiltered workflows in threads
2022-04-15 01:28:12 +02:00
Mikhail f. Shiryaev
3e6dc24a7b
Do not fail the whole lambda if one page failed
2022-04-15 01:28:12 +02:00
Mikhail f. Shiryaev
52a7544aa4
Fix cancel-lambda for closed PRs
...
- Create a fallback function for some edge cases
- Process synchronized PRs as help for cancel-workflow action
2022-04-15 01:28:12 +02:00
avogar
ae01646136
Place new logic of schema inference in insert select from table function under setting
2022-04-14 19:05:20 +00:00
kssenii
d8e2d693e5
Allow missing columns for mongo storage
2022-04-14 19:31:07 +02:00
Alexander Tokmakov
1e061ac39e
fix formatting
2022-04-14 15:31:49 +02:00
Anton Popov
305dd57262
Merge branch 'master' into fix_storage_distributed_ttl
2022-04-14 14:51:15 +02:00
Alexander Tokmakov
819eac6297
fix
2022-04-14 14:48:24 +02:00
alesapin
c74b6c547b
Black
2022-04-14 14:40:56 +02:00
alesapin
428753a4a7
Fix integration tests parser
2022-04-14 14:39:36 +02:00
Anton Popov
c76b9cc9f5
Merge pull request #36215 from CurtizJ/fix-reading-empty-arrays
...
Fix reading of empty arrays in reverse order
2022-04-14 13:51:48 +02:00
Anton Popov
791454678b
Merge pull request #36126 from awakeljw/fork_chmaster2
...
support UNSIGNED modifier with unused parameters of INT
2022-04-14 13:43:51 +02:00
avogar
a4e3a5e05e
Send both stdin data and data from query/data from infile in client
2022-04-14 11:30:52 +00:00
Mikhail f. Shiryaev
323cf6c5bf
Merge TRUSTED_CONTRIBUTORS in lambda and import in check
2022-04-14 13:25:54 +02:00
avogar
31f469a874
Split test 01675_data_type_coroutine into 2 tests to prevent possible timeouts
2022-04-14 10:18:55 +00:00
alesapin
df5453874a
Merge pull request #36214 from ClickHouse/tavplubix-patch-4
...
Make stateless tests with s3 always green
2022-04-14 12:04:15 +02:00
Kruglov Pavel
86a5b2c7f9
Update 02267_file_globs_schema_inference.reference
2022-04-14 11:58:30 +02:00
Kruglov Pavel
af14431527
Update 02267_file_globs_schema_inference.sql
2022-04-14 11:56:31 +02:00
Kruglov Pavel
53ede707ae
Update 02268_json_maps_and_objects.sql
2022-04-14 11:52:32 +02:00