Commit Graph

108691 Commits

Author SHA1 Message Date
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
Alexey Milovidov
1bd9629ed0 Simpler 2023-02-20 00:21:14 +01:00
Alexey Milovidov
b6394ae559 Add bug 2023-02-20 00:17:53 +01:00
Alexey Milovidov
b5cbcea677 Rename test 2023-02-20 00:13:53 +01:00
Alexey Milovidov
66984088d6 Fix double whitespace in comment in test 2023-02-19 23:53:50 +01:00
Alexey Milovidov
28c020692a Inhibit settings randomization in 01304_direct_io_long.sh 2023-02-19 23:42:00 +01:00
Alexey Milovidov
a764628673
Merge pull request #46562 from ClickHouse/fix-test-01551
Inhibit randomization in test `01551_mergetree_read_in_order_spread.sql`
2023-02-20 01:35:39 +03:00
Alexey Milovidov
d8cda3dbb8 Remove PVS-Studio 2023-02-19 23:30:05 +01:00
Alexey Milovidov
3a88ec0bf5 Inhibit randomization in test 2023-02-19 21:02:23 +01:00
Arthur Passos
3d9b23e5f3
Merge branch 'master' into add_select_final_mt_setting 2023-02-19 15:01:41 -03:00
Alexey Milovidov
60d517c49c
Merge pull request #46516 from azat/tests/integration/zstd
Compress tar archives with zstd in intergration tests
2023-02-19 19:56:40 +03:00
Han Fei
06e679d6cd
Merge pull request #46549 from hanfei1991/hanfei/fix-async-insert-query-num-setting
enable async-insert-max-query-number only if async_insert_deduplicate
2023-02-19 17:53:16 +01:00
Alexey Milovidov
17992b178a
Merge pull request #45364 from nickitat/aggr_partitions_independently
Add option to aggregate partitions independently
2023-02-19 17:44:18 +03:00
Alexey Milovidov
fa7f7e1d3a
Merge pull request #37870 from zzachimed/Aggregate_Sum_AVX512
Add avx512 support for Aggregate Sum, function unary arithmetic, func…
2023-02-19 17:21:16 +03:00
Alexey Milovidov
1adfbac19f
Merge pull request #37894 from yaqi-zhao/lower_upper
add avx512 support for Lower/Upper function
2023-02-19 17:18:10 +03:00
Yakov Olkhovskiy
b27efa928f
add EOL 2023-02-19 08:40:00 -05:00
Yakov Olkhovskiy
2b9ce319b8
remove unnecessary include 2023-02-19 08:37:51 -05:00
Alexey Milovidov
5359dcc014
Merge pull request #46554 from ucasfl/iceberg-fix
fix build without avro
2023-02-19 14:35:29 +03:00
Alexander Gololobov
520b381675 Fixes for executing actions on block with unknown row count 2023-02-19 12:14:23 +01:00
Maksim Kita
f5f220ed81 Added tests 2023-02-19 12:05:43 +01:00
Maksim Kita
72719584ea Planner filter push down optimization fix 2023-02-19 12:02:59 +01:00
Alexander Gololobov
1d28da3263 Test for bug with missing column in PREWHERE step 2023-02-19 11:56:14 +01:00
Maksim Kita
6dffe52e68
Merge pull request #46471 from kitaisreal/analyzer-planner-fixes-before-enable-by-default
Analyzer planner fixes before enable by default
2023-02-19 13:49:18 +03:00
Alexander Gololobov
1b8cae8ee5
Merge pull request #46529 from ClickHouse/regexp_extract
Merge #46469
2023-02-19 10:28:35 +01:00