Commit Graph

108664 Commits

Author SHA1 Message Date
Dmitry Novik
3c4c527bce Fix MemoryTracker counters for async inserts 2023-02-20 18:40:57 +00: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
Arthur Passos
6ed71120fb possibly fix explain syntax test 2023-02-20 14:46:45 -03: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
Alexander Gololobov
c84a64d22f Return chunks with 0 rows from MergeTreeSource to report progress when rows are filtered in PREWHERE 2023-02-20 17:35:01 +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
kssenii
9d16205c8a Load named collections on first access 2023-02-20 16:33:45 +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
avogar
a80ce02199 Update test 2023-02-20 13:50:20 +00:00
avogar
1539f812b3 Fix processing Const(LowCardinality) in arrayMap 2023-02-20 13:48:52 +00: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
Kseniia Sumarokova
514e3cbf90
Update test.py 2023-02-20 14:29:04 +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
Jus
d48ec14cab
Add description function
Add description function.
Fix bugs
2023-02-20 10:59:57 +04: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
Alexey Milovidov
062bb19da7
Merge pull request #46570 from ClickHouse/evillique-patch-1
Fix ASTAsterisk::clone()
2023-02-20 04:36:19 +03:00
Alexey Milovidov
e8b4869ec0 Simpler 2023-02-20 00:28:29 +01:00
Alexey Milovidov
5427368fda Simpler 2023-02-20 00:26:46 +01:00
Nikolay Degterinsky
f9dac6d4cf
Fix ASTAsterisk::clone() 2023-02-20 00:26:14 +01:00
Alexey Milovidov
d9c675e1ca Simpler 2023-02-20 00:24:41 +01:00
Alexey Milovidov
77373a9381 Simpler 2023-02-20 00:23:30 +01:00
Alexey Milovidov
f63ed43f21 Simpler 2023-02-20 00:21:51 +01:00