Commit Graph

108474 Commits

Author SHA1 Message Date
Kseniia Sumarokova
09a979f106
Merge branch 'master' into update-rabbit-producer 2023-02-21 11:50:30 +01:00
Kseniia Sumarokova
17959538d8
Merge pull request #46619 from azat/fix-client-reconnect
Update 01565_reconnect_after_client_error to not expect explicit reconnect
2023-02-21 11:48:48 +01:00
Vladimir C
a791250a4a
Merge pull request #38614 from bharatnc/ncb/profile-events-partlog 2023-02-21 11:06:44 +01:00
Han Fei
3e4abe5800
Merge pull request #46600 from hanfei1991/hanfei/update-llvm-project
update llvm-project to fix gwp-asan
2023-02-21 10:06:32 +01:00
Azat Khuzhin
e169b36b88 Replace 01565_reconnect_after_client_error with 01565_query_loop_after_client_error
There is no need in explicit reconnect in case of client errors
(#19353), so just rewrite the test to ensure that everything works.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 08:31:06 +01:00
Azat Khuzhin
2a0cebfc49 Fix timeouts in 01565_reconnect_after_client_error
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 08:31:06 +01:00
Azat Khuzhin
d905969006 Fix 01565_reconnect_after_client_error test (wrong expect code for multi-line mode)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 08:31:06 +01:00
Alexey Milovidov
f7df0fa0bf
Merge pull request #46582 from azat/tests/expect
Fix flakiness of expect tests for clickhouse-client by avoiding history overlap
2023-02-21 02:49:14 +03:00
Alexey Milovidov
924e9e027c
Merge pull request #46601 from ClickHouse/add-detail-to-changelog-instructions
Update changelog README
2023-02-21 02:16:53 +03:00
Alexey Milovidov
050b345172
Merge pull request #46627 from ClickHouse/alexey-milovidov-patch-6
Fix #46620
2023-02-21 02:11:14 +03:00
Alexey Milovidov
b1d9ba9da1
Fix #46620 2023-02-21 01:46:10 +03:00
Mikhail f. Shiryaev
2b4f5f82da
Merge pull request #46586 from ClickHouse/log-rollback-always
Always log rollback for release.py
2023-02-20 23:17:20 +01:00
Alexey Milovidov
92b93cce32
Merge pull request #46593 from ClickHouse/kssenii-patch-6
Update 00170_s3_cache.sql
2023-02-21 00:15:39 +03:00
Alexey Milovidov
c309dafc28
Merge pull request #46599 from ClickHouse/tavplubix-patch-5
Update compare.sh
2023-02-21 00:12:33 +03:00
Kruglov Pavel
b0424c1021
Merge pull request #46171 from Avogar/insert-null-as-default
Use default of column type in `insert_null_as_default` if column DEFAULT values is not specified
2023-02-20 21:45:02 +01:00
Maksim Kita
4d23f74a53
Merge pull request #46494 from kitaisreal/query-plan-filter-push-down-sorting-fix
Planner filter push down optimization fix
2023-02-20 21:36:34 +03:00
Kseniia Sumarokova
47604ad77e
Merge pull request #46106 from kssenii/return-materialized-postrgesql-tests-back
Enable disabled MaterializedPostgreSQL tests back in CI
2023-02-20 19:04:58 +01:00
SmitaRKulkarni
8ebbd03553
Merge pull request #46583 from ClickHouse/Support_parameterized_view_with_in_clause
Support for IN clause in parameterized views
2023-02-20 18:26:31 +01:00
kssenii
0a36398847 Update test 2023-02-20 16:53:06 +01:00
Kseniia Sumarokova
cc0daccec8
Merge pull request #46608 from ClickHouse/kssenii-patch-8
Temporarily disable test_rabbitmq_overloaded_insert
2023-02-20 16:45:17 +01:00
Kseniia Sumarokova
0d9a541441
Update test.py 2023-02-20 16:43:10 +01:00
Dan Roscigno
32de437533
Update changelog README 2023-02-20 09:49:14 -05:00
Han Fei
4715e2c172 update llvm-project to fix gwp-asan 2023-02-20 15:36:45 +01:00
Alexander Tokmakov
669c4e94d5
Update compare.sh 2023-02-20 17:35:30 +03:00
Alexey Milovidov
d076e17655
Merge pull request #46597 from ClickHouse/fix-install-arm64-deps
Fix dependencies for InstallPackagesTestAarch64
2023-02-20 17:27:14 +03:00
Mikhail f. Shiryaev
3272e7d778
Fix dependencies for InstallPackagesTestAarch64 2023-02-20 15:23:24 +01:00
Alexey Milovidov
5ef159fa10
Merge pull request #46565 from ClickHouse/remove-pvs-studio
Remove PVS-Studio
2023-02-20 17:10:53 +03:00
kssenii
80a0aa1327 Merge remote-tracking branch 'upstream/master' into return-materialized-postrgesql-tests-back 2023-02-20 14:37:39 +01:00
kssenii
591510c20e Uodate test 2023-02-20 14:36:53 +01:00
kssenii
361678ad73 rabbitmq-test-fix 2023-02-20 14:16:40 +01:00
Azat Khuzhin
a6d420a1c6 One cannot use /dev/null as a history file since replxx run chmod
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-20 13:59:46 +01:00
vdimir
78c35ffc45
finally fix attachProfileCountersScope 2023-02-20 12:28:44 +00:00
Kseniia Sumarokova
9fb7d4fd05
Update .reference 2023-02-20 12:55:24 +01:00
Kseniia Sumarokova
34cda2bcb2
Update 00170_s3_cache.sql 2023-02-20 12:54:13 +01:00
Azat Khuzhin
9bdb3220b9 tests: add a note about alacritty for 02132_client_history_navigation
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-20 12:28:27 +01:00
Azat Khuzhin
dbb4bdee1d Allow parallel execution of 02003_memory_limit_in_client
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-20 11:40:04 +01:00
SmitaRKulkarni
90834d4aa5
Merge pull request #46487 from ClickHouse/45185_Inner_join_with_where
Updated to not clear on_expression from table_join
2023-02-20 11:38:31 +01:00
Robert Schulze
135170b27d
Merge pull request #44973 from ClickHouse/remove-smp-limitation
Slightly modify the detection of the number of CPU cores
2023-02-20 11:22:39 +01:00
Mikhail f. Shiryaev
9c7fc29778
Add dedicated key for checking launching release.py from master 2023-02-20 11:16:08 +01:00
Mikhail f. Shiryaev
d39cffb3f2
Add rollback commands for the case of broad error 2023-02-20 11:16:07 +01:00
Azat Khuzhin
6e1f284eda Improve detection of debug builds in 01945_show_debug_warning
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-20 09:51:08 +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
Azat Khuzhin
238d44783b Fix flakiness of expect tests for clickhouse-client by avoiding history overlap
Yes, all writes to the history file is done under flock, *but*, before
writing the history file there is sort(), and so if you will run the
following tests the 01300_client_save_history_when_terminated_long will fail:

    $ /src/tests/clickhouse-test --print-time -j2 01180_client_syntax_errors 01300_client_save_history_when_terminated_long 0001_select

And it has nothing todo with timeouts:

    expect: does "" (spawn_id exp8) match glob pattern "for the history"? no
    f8f1dbfdaaca :) select (1, 2
    expect: does "\u001b[1Gf8f1dbfdaaca :) select \u001b[0;22;33m(\u001b[0;22;32m1\u001b[0;1m,\u001b[0m \u001b[0;22;32m2\u001b[0m\u001b[J" (spawn_id exp8) match glob pattern "for the history"? no

    expect: does "\u001b[1Gf8f1dbfdaaca :) select \u001b[0;22;33m(\u001b[0;22;32m1\u001b[0;1m,\u001b[0m \u001b[0;22;32m2\u001b[0m\u001b[J\u001b[29G" (spawn_id exp8) match glob pattern "for the history"? no
    expect: timed out

The "select (1, 2" is from 01180_client_syntax_errors

And use real file only when the history should be preserved across runs
(i.e. there are multiple invocations of clickhouse-client)

CI: https://s3.amazonaws.com/clickhouse-test-reports/0/1adfbac19fed9813725d8b1df14e617b58a45d20/stateless_tests__asan__[2/2].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-20 09:51:08 +01:00
Smita Kulkarni
e5e1027637 Support for IN clause in parameterized views
Implementation:
* In case of parameterized views, the IN clause cannot be evaluated as constant expression during CREATE VIEW, added a check to ignore this step in case of parameterized view.
* If parmeters are not in IN clause, we continue to evaluate it as constant expression.
2023-02-20 09:48:55 +01:00
robot-clickhouse-ci-2
1d5cc9b387
Merge pull request #46579 from ClickHouse/rs/sparkbar-docs
Small update of sparkbar docs
2023-02-20 09:19:01 +01:00
Robert Schulze
5557e66766
Small update of sparkbar docs
- parameter name "width" was misleading
2023-02-20 08:03:40 +00:00
Yakov Olkhovskiy
d9bc4bcccb
Merge pull request #46296 from jh0x/feature-array-partial-sort
Add arrayPartialSort and arrayPartialReverseSort
2023-02-20 02:49:38 -05:00
Alexey Milovidov
179957fd7c
Merge pull request #46567 from ClickHouse/fix-double-whitespace
Fix double whitespace in comment in test
2023-02-20 05:36:21 +03:00
Alexey Milovidov
ee07f05224
Merge pull request #46568 from ClickHouse/rename-test
Rename test
2023-02-20 05:35:05 +03:00
Alexey Milovidov
7016cb5e6d
Merge pull request #46566 from ClickHouse/fix-direct-io-test
Inhibit settings randomization in `01304_direct_io_long.sh`
2023-02-20 05:34:45 +03:00