Commit Graph

14639 Commits

Author SHA1 Message Date
alesapin
119b8628e5
Merge pull request #33135 from ClickHouse/fix_pvs_studio
Fix PVS check
2021-12-24 15:34:24 +03:00
alesapin
2a402f7df1
Merge pull request #33136 from ClickHouse/fix_error_report_in_build_check
Upload build artifact in case of build failures
2021-12-24 15:00:50 +03:00
alesapin
3dbf7a9da9 More clear exception 2021-12-24 13:35:40 +03:00
alesapin
9461b7dba2 Finally fix jepsen 2021-12-24 13:32:32 +03:00
avogar
602578deab Update bool serialization/deserialization for Values format 2021-12-24 13:20:58 +03:00
alesapin
d68d26e4c1 Fix woboq codebrowser 2021-12-24 13:05:09 +03:00
alesapin
1a3cdc3388 Upload build artifact in case of build failures 2021-12-24 12:56:09 +03:00
alesapin
e3d8457a6f Fix PVS 2021-12-24 12:41:01 +03:00
Alexey Milovidov
d1df2af2df Move two tests out of fast test 2021-12-24 12:25:27 +03:00
Alexey Milovidov
f9d3e45e49 Remove strange whitespace 2021-12-24 12:25:27 +03:00
Alexey Milovidov
f6dc07b475 Update test 2021-12-24 12:25:27 +03:00
Alexey Milovidov
fb5b1c3d6a Make tests not depend on subtle changes in math functions 2021-12-24 12:25:27 +03:00
mergify[bot]
da4dc1680a
Merge branch 'master' into add_jepsen_test 2021-12-24 07:31:25 +00:00
Kevin Michel
ffc1fca296
Start/stop servers when listen_host/*_port changes
This allows starting and stopping separately each protocol server
without restarting ClickHouse.

This also allows adding or removing `listen_host` entries, which
start and stops servers for all enabled ports.

When stopping a server, the listening socket is immediately closed
(and available for another server).

Protocols with persistent connections try to wait for any currently
running query to finish before closing the connection, but idle
connection are closed quickly (depending on how often the protocol
is polled).

An extra ProfileEvent is added, `MainConfigLoads`, it is
incremented every time the configuration is reloaded. This helps
when trying to assess whether the new configuration was applied.
2021-12-24 08:26:02 +01:00
mergify[bot]
d4ec469ed1
Merge branch 'master' into query-kind-concurent_restriction 2021-12-24 07:02:00 +00:00
Alexey Milovidov
df8689ce22 Fix test that was dependent on time zone 2021-12-24 03:57:50 +03:00
alexey-milovidov
0e3af2f19a
Merge pull request #33097 from kssenii/clickhouse-local-send-profile-onfo
clickhouse-local send profile info
2021-12-24 02:29:36 +03:00
avogar
47ad4200c9 Fix test 2021-12-23 21:00:22 +03:00
avogar
ce68c54b03 Fix comments, reduce extra copying 2021-12-23 19:47:29 +03:00
avogar
5e5d6609ed Proper cast to bool 2021-12-23 19:47:29 +03:00
avogar
19faf46b68 Improve Bool data type 2021-12-23 19:47:29 +03:00
Raúl Marín
66c0735a38 Check that progress is sent while processing scalar subqueries 2021-12-23 16:14:10 +01:00
Raúl Marín
b71a71d7f5 Test that JSON output statistics include the rows read in scalar subqueries 2021-12-23 16:14:10 +01:00
Raúl Marín
cb22091b33 Merge remote-tracking branch 'blessed/master' into kill_scalar_github 2021-12-23 13:59:33 +01:00
Raúl Marín
d9bcb633de Change perf set_index test to check build index 2021-12-23 13:53:36 +01:00
Raúl Marín
77db850c0b Merge remote-tracking branch 'blessed/master' into libcxx13_take2 2021-12-23 12:42:39 +01:00
Nikolai Kochetov
b84591d17a
Merge pull request #32862 from ClickHouse/fix-mv-result-with-many-chunks
Fix MV query with multiple chunk result.
2021-12-23 14:37:17 +03:00
Kruglov Pavel
a1455c0f2a
Merge pull request #32981 from Avogar/fix-csv-tuples
Fix tuple output in CSV format
2021-12-23 13:27:34 +03:00
kssenii
8cf52918b9 clickhouse local send profile info 2021-12-23 12:37:29 +03:00
Nikolay Degterinsky
826f7cb0f5
Merge pull request #32240 from benbiti/master
Fix unix timestamp Millisecond convert to DateTime64, fractional part calc reversed
2021-12-23 12:11:53 +03:00
Nikita Mikhaylov
768c746fe4
Merge branch 'master' into merging-dev-sum-bug 2021-12-23 11:52:06 +03:00
Nikolay Degterinsky
6757afa052
Merge pull request #32843 from nkolotov/fix_echo_option_not_used_in_batch_mode
Fixed --echo option is not used by clickhouse-client in batch mode with single query
2021-12-23 11:37:02 +03:00
Raúl Marín
88b8fd8b60 Merge remote-tracking branch 'blessed/master' into libcxx13_take2 2021-12-23 09:16:19 +01:00
Kseniia Sumarokova
f0434f21ce
Merge pull request #33039 from kssenii/fix-azure-exception
Fix exception in azure write buffer desctructor
2021-12-23 10:26:40 +03:00
alexey-milovidov
0f8295de98
Merge pull request #33046 from ClickHouse/fix-prefetch-for-lc
Fix preferch for LowCardinality.
2021-12-23 08:56:16 +03:00
alexey-milovidov
26e651eaf4
Merge pull request #32916 from azat/jemalloc-percpu-fix
Disable percpu arena in jemalloc in case of non deterministic CPU count
2021-12-23 08:05:43 +03:00
alexey-milovidov
8c9843caf2
Merge pull request #32982 from azat/http-context-leak
Fix Context leak in case of cancel_http_readonly_queries_on_client_close
2021-12-23 07:58:18 +03:00
alexey-milovidov
476b8266a1
Merge pull request #33065 from ClickHouse/merge-33050
Merge #33050
2021-12-23 07:52:00 +03:00
alexey-milovidov
2a1099812e
Merge pull request #33062 from ClickHouse/merge-33022
Merge #33022
2021-12-23 07:51:26 +03:00
Vitaly Baranov
7660530fcc
Merge pull request #32955 from azat/read-fix
Fix UB in case of unexpected EOF during filling a set from HTTP query
2021-12-23 06:41:14 +03:00
Alexey Milovidov
10d48f1203 Add a test 2021-12-23 02:20:11 +03:00
Alexey Milovidov
5bceffaaef Adapt test 2021-12-23 01:30:56 +03:00
Harry-Lee
846c46ac4b Fix issue #80: union index out of boundary 2021-12-23 01:30:56 +03:00
Kseniia Sumarokova
639c2c1ce7
Merge pull request #32976 from Avogar/fix-hdfs-url-check
Fix hdfs url check
2021-12-22 23:57:49 +03:00
kssenii
182a065c9b Add test 2021-12-22 23:47:16 +03:00
Kseniia Sumarokova
764bb1181f
Merge pull request #33017 from stigsb/table-overrides-drop-add-column-support
Remove the possibility of adding columns with table overrides
2021-12-22 22:30:21 +03:00
Azat Khuzhin
c07012108e tests: fix 01502_jemalloc_percpu_arena with debug binary 2021-12-22 21:06:40 +03:00
Azat Khuzhin
b2d4520870 tests/integration/test_jemalloc_percpu_arena: cover explicit narenas 2021-12-22 21:06:21 +03:00
Azat Khuzhin
c82701b1ef tests/integration/test_jemalloc_percpu_arena: add support of fast-test binary 2021-12-22 21:05:11 +03:00
Azat Khuzhin
ba9588fc27 tests/stateless: add a test with explicit number of jemalloc narenas 2021-12-22 21:05:11 +03:00
Azat Khuzhin
b41db62621 tests: mark 01505_pipeline_executor_UAF as long 2021-12-22 21:05:11 +03:00
Azat Khuzhin
6efa3b3667 Add a test for jemalloc percpu arena with different number of online CPUs 2021-12-22 21:05:11 +03:00
Azat Khuzhin
b28e0dd689 01502_jemalloc_percpu_arena: add a test with MALLOC_CONF=abort_conf:true 2021-12-22 21:05:10 +03:00
Azat Khuzhin
6c7ec9c762 01502_jemalloc_percpu_arena: do not export MALLOC_CONF
Since after #15828 unbundled jemalloc support had been removed.
2021-12-22 21:05:10 +03:00
Azat Khuzhin
a43e423506 tests/01505_pipeline_executor_UAF: disable abort_conf for jemalloc 2021-12-22 21:05:10 +03:00
Raúl Marín
781fe36391 Add some basic tests to read rows with scalar subqueries 2021-12-22 18:55:16 +01:00
Raúl Marín
2470a8d380 Move tests 2021-12-22 18:26:50 +01:00
mergify[bot]
059cd1f708
Merge branch 'master' into add_jepsen_test 2021-12-22 17:04:09 +00:00
tavplubix
c297c2c4c3
Revert "Dictionaries added Date32 type support" 2021-12-22 19:41:52 +03:00
Dmitry Novik
1c83f31e51
Merge pull request #31885 from amosbird/optimizeprojectionmat
Optimize single part projection materialization
2021-12-22 19:36:40 +03:00
Dmitry Novik
5ae3764f4c
Merge pull request #32625 from azat/clickhouse-test-unknown
clickhouse-test: avoid failing with UNKNOWN status in some cases
2021-12-22 19:28:44 +03:00
Maksim Kita
97b0a343f8
Merge pull request #32971 from kitaisreal/dictionaries-added-date32-type-support
Dictionaries added Date32 type support
2021-12-22 19:22:01 +03:00
alesapin
be8187df09 Fix report upload 2021-12-22 19:16:54 +03:00
Raúl Marín
1d9916eb25 Merge remote-tracking branch 'blessed/master' into kill_scalar_github 2021-12-22 16:42:10 +01:00
Dmitry Novik
d256c3a9ca
Merge pull request #29224 from ClickHouse/fix_IP_conversion
Merging #27914
2021-12-22 18:36:13 +03:00
Kseniia Sumarokova
01f2e4c00d
Merge pull request #33037 from kssenii/fix-s3-empty-file
Fix s3 table function reading empty file
2021-12-22 18:17:29 +03:00
tavplubix
85d49bf557
Merge pull request #33044 from ClickHouse/tavplubix-patch-5
Decrease default timeout for integration test
2021-12-22 17:26:23 +03:00
Nikolay Degterinsky
e1a58d0889
Merge pull request #33021 from DevTeamBK/Issue135
Fix null pointer dereference in low cardinality data
2021-12-22 17:03:23 +03:00
mergify[bot]
04f727e84c
Merge branch 'master' into read-fix 2021-12-22 13:49:04 +00:00
tavplubix
d8fb293d57
Merge pull request #32900 from zzsmdfj/issue/#15182_MaterializeMySQL_support_bit_type
Add support for BIT data type in MaterializedMySQL
2021-12-22 15:58:29 +03:00
Nikolai Kochetov
bb24a494ca Fix preferch for LowCardinality. 2021-12-22 15:26:16 +03:00
tavplubix
8775afc25e
Update pytest.ini 2021-12-22 14:53:40 +03:00
kssenii
11731cde92 Fix test 2021-12-22 13:57:08 +03:00
alesapin
7e714641ac Add newline 2021-12-22 13:46:41 +03:00
alesapin
e63b2f0de8 Merge branch 'master' into add_jepsen_test 2021-12-22 13:30:48 +03:00
alesapin
0a716b9d9a
Merge pull request #33036 from ClickHouse/fix_can_be_tested
Make `can be tested` great again
2021-12-22 13:26:56 +03:00
alesapin
e31be8f056 Better check in lambda 2021-12-22 12:25:16 +03:00
tavplubix
4ba76dd8e3
Update materialize_with_ddl.py 2021-12-22 12:19:51 +03:00
kssenii
d8ed4db6d4 Fix 2021-12-22 11:42:23 +03:00
alesapin
20e287f5b6 Followup 2021-12-22 11:15:31 +03:00
alesapin
b300de6a4a Better 2021-12-22 11:13:04 +03:00
alesapin
7a00bc96ed Make great again 2021-12-22 10:54:50 +03:00
Stig Bakken
1cc70ad524 Remove the possibility of adding columns with table overrides
(except ALIAS columns)

Supporting this properly requires more comprehensive changes.
2021-12-22 08:20:14 +01:00
Kseniia Sumarokova
5ae2f0028f
Merge pull request #32961 from kssenii/fix-positional-args
Fix for positional args
2021-12-22 09:41:55 +03:00
Kseniia Sumarokova
484a4d62dd
Merge pull request #32835 from kssenii/fising-s3
Fix optimization with lazy seek for async reads from remote fs
2021-12-22 09:38:23 +03:00
alesapin
ca9526e3a4 Stupid fix 2021-12-22 00:39:51 +03:00
alesapin
bc03e5e10f
Merge pull request #32983 from ClickHouse/add_woboq_build
Trying to add woboq to new CI
2021-12-21 23:05:38 +03:00
Kseniia Sumarokova
b8f6ca470a
Merge pull request #32985 from kssenii/rabbit-fix-tests
RabbitMQ tests fix
2021-12-21 21:32:39 +03:00
Ben
23c10d06b6
Update 01821_to_date_time_ubsan.reference
new line
2021-12-22 02:23:17 +08:00
benbiti
81f024c718 update tests 2021-12-22 01:33:24 +08:00
alesapin
84811a55c5 Fix path 2021-12-21 18:17:53 +03:00
Amos Bird
3988eb01c6
Add test 2021-12-21 22:40:09 +08:00
ianton-ru
e6fd4bfb50
Merge branch 'master' into MDB-15474 2021-12-21 17:38:36 +03:00
Anton Ivashkin
0c0bf66334 Merge master 2021-12-21 17:27:54 +03:00
alesapin
3ab250a869 Add region name: 2021-12-21 16:47:23 +03:00
N. Kolotov
cb77320566 Fixed test env, removed chaining. 2021-12-21 16:28:21 +03:00
alesapin
37d90e071f Group params 2021-12-21 16:16:01 +03:00
alesapin
49a50bbdc9 Merge branch 'master' into add_jepsen_test 2021-12-21 16:15:40 +03:00
alesapin
decd53b1e5
Merge pull request #33005 from ClickHouse/add_workflow_rerun
Add backport workflow rerun
2021-12-21 16:14:29 +03:00
alesapin
45aef649a1 Add backport workflow rerun 2021-12-21 16:13:44 +03:00
alesapin
af7cd00e30 Don't use too powerful key 2021-12-21 16:05:02 +03:00
mergify[bot]
7da6d8b310
Merge branch 'master' into fix_IP_conversion 2021-12-21 12:16:05 +00:00
alesapin
627bd2cec4 Add Keeper Jepsen check to new CI 2021-12-21 15:07:10 +03:00
alesapin
a89a05c0da Finally woboq is ready 2021-12-21 14:16:21 +03:00
mergify[bot]
1daf469799
Merge branch 'master' into clickhouse-test-unknown 2021-12-21 10:55:11 +00:00
Haavard Kvaalen
9a2b0680a1 Fix weird permission on log directories
Several log directories for integration tests were created with full
permissions for "others" but no permission for the owner of the
directory.  This caused issues when trying to run integration tests
again without manually wiping files from previous runs.  The test would
fail with "PermissionError: [Errno 13] Permission denied: 'logs'".

The intention may have been to do the equivalent of 'chmod o+rwx logs',
but it instead did the equivalent of 'chmod 007 logs'.
2021-12-21 11:50:54 +01:00
Raúl Marín
eddccb0065 Merge remote-tracking branch 'blessed/master' into kill_scalar_github 2021-12-21 10:00:17 +01:00
kssenii
ebcb66a361 Fix 2021-12-21 10:58:02 +03:00
alesapin
532b01c371 Followup 2021-12-21 10:49:22 +03:00
Kseniia Sumarokova
e0f2fe457d
Update test.py 2021-12-21 10:29:27 +03:00
Azat Khuzhin
7193bb9579 Add a test with EOF during creating set over HTTP
v2: update some comments
2021-12-21 08:38:41 +03:00
N. Kolotov
66eb6bf560 Added test to check client option --echo. 2021-12-21 00:59:35 +03:00
alexey-milovidov
04fb8aeaa5
Merge pull request #32946 from antonio2368/feature/hints-for-settings
Hints for invalid settings in query and HTTP requests
2021-12-21 00:52:42 +03:00
kssenii
175ad8a989 Fix 2021-12-21 00:20:08 +03:00
Kseniia Sumarokova
d51b101244
Update test.py 2021-12-21 00:06:24 +03:00
kssenii
a064410a39 Fix 2021-12-21 00:03:55 +03:00
Kseniia Sumarokova
2ac7897470
Merge pull request #32841 from lingtaolf/feature/add-clickhouse-client-hints
Add clickhouse client hints
2021-12-20 23:48:50 +03:00
Azat Khuzhin
a367326abb Mark 02152_http_external_tables_memory_tracking as no-tsan 2021-12-20 23:30:44 +03:00
alesapin
e194b38096 Followup 2021-12-20 22:54:04 +03:00
alesapin
62eb504029 Trying to add woboq 2021-12-20 22:43:37 +03:00
Antonio Andelic
4eae5ce00e Fix http request check 2021-12-20 20:39:31 +01:00
Azat Khuzhin
6afcb1d1c8 Replace uuidgen(1) with generateUUID() function in 02152_http_external_tables_memory_tracking
uuidgen (from e2fsprogs) does not exists on CI images, so use internal
clickhouse function.
2021-12-20 21:43:26 +03:00
Azat Khuzhin
095f558ba1 Cover memory tracking of external tables via HTTP queries
Thanks to @den-crane
2021-12-20 21:05:37 +03:00
Anton Ivashkin
c724b074ae Remove zero-copy version converter 2021-12-20 20:23:25 +03:00
Maksim Kita
daa23a2827
Merge pull request #32973 from kitaisreal/short-circuit-throw-if-support
Short circuit evaluation function throwIf support
2021-12-20 19:50:53 +03:00
Raúl Marín
b553e51969 Merge remote-tracking branch 'blessed/master' into libcxx13_take2 2021-12-20 17:47:57 +01:00
Vitaly Baranov
e61d3eef0c
Merge pull request #32747 from vitlibar/improve-grpc-compression
Improve gRPC compression support
2021-12-20 19:44:58 +03:00
avogar
ba6a513db0 Fix tuple output in CSV format 2021-12-20 19:27:09 +03:00
Antonio Andelic
e65df85412 Use -F flag for tests 2021-12-20 17:05:16 +01:00
Antonio Andelic
ef57b759e0 Add stateless tests for setting hints 2021-12-20 16:57:09 +01:00
Maksim Kita
f9b585fcdf
Merge pull request #32822 from den-crane/test/summap_nullable
test for summap nullable(0)
2021-12-20 16:50:45 +03:00
Anton Ivashkin
f0b9a4327a Use table UUID in zero-copy shared label in ZooKeeper 2021-12-20 16:19:00 +03:00
Zhichang Yu
869cdbeb44 added table function hdfsCluster 2021-12-20 13:14:44 +00:00
avogar
e31c18e9f8 Fix hdfs url check 2021-12-20 16:09:48 +03:00
Nikolai Kochetov
93c58b8554
Update 02131_mv_many_chunks_bug.sql 2021-12-20 15:58:55 +03:00
Nikolai Kochetov
2e62f086a1
Merge pull request #32751 from ClickHouse/fix-32668
Apply some more optimizations to NO_QUERY ast.
2021-12-20 15:47:25 +03:00
alesapin
5958cac72c
Merge pull request #32493 from azat/fix-02050_client_profile_events
Fix 02050_client_profile_events flakiness
2021-12-20 15:02:02 +03:00
Maksim Kita
20e4ce3314 Short circuit evaluation function throwIf support 2021-12-20 14:49:05 +03:00
Maksim Kita
51826c14a0 Dictionaries added Date32 type support 2021-12-20 13:39:07 +03:00
Kseniia Sumarokova
967738ff8f
Merge pull request #32749 from kssenii/table-override-pg
Support Table Override clause for MaterializedPostgreSQL too
2021-12-20 13:11:47 +03:00
凌涛
0efc01be05 add test 2021-12-20 13:53:08 +08:00
kssenii
965e2bfb21 Fix 2021-12-20 08:43:07 +03:00
alexey-milovidov
b24d57db1c
Merge pull request #32954 from den-crane/test/base64encode_trailing_bytes1
test for base64encode_trailing_bytes #31797
2021-12-20 04:42:56 +03:00
Denny Crane
393e99e899
Update 02113_base64encode_trailing_bytes_1.sql 2021-12-19 18:48:12 -04:00
Azat Khuzhin
2461cc5f93 tests: add thread_id into 02050_client_profile_events 2021-12-19 23:43:05 +03:00
Azat Khuzhin
b7f18e2333 tests: add more information for 02050_client_profile_events in case of failure
Sometimes [1] the test fails like this:

    2021-12-10 03:41:19 --- /usr/share/clickhouse-test/queries/0_stateless/02050_client_profile_events.reference	2021-12-10 03:23:43.000000000 -0500
    2021-12-10 03:41:19 +++ /tmp/clickhouse-test/0_stateless/02050_client_profile_events.617.stdout	2021-12-10 03:41:19.509611205 -0500
    2021-12-10 03:41:19 @@ -1,4 +1,3 @@
    2021-12-10 03:41:19  0
    2021-12-10 03:41:19 -SelectedRows: 131010 (increment)
    2021-12-10 03:41:19  OK
    2021-12-10 03:41:19  OK
    2021-12-10 03:41:19
    2021-12-10 03:41:19
    2021-12-10 03:41:19 Database: test_73d5o0

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/32493/703213a6444f8014e3324df4b6e44d03fa351294/stateless_tests_flaky_check__address__actions_.html

And I did not find anything strange in server logs (and there was 0
exceptions).
2021-12-19 23:43:05 +03:00
Azat Khuzhin
a34c3511af tests: fix 02050_client_profile_events flakiness
CI: https://s3.amazonaws.com/clickhouse-test-reports/32303/24751e7d45d94541be854c86ce46d65c2e0f66da/stateless_tests__thread__actions_.html
2021-12-19 23:43:05 +03:00
Denny Crane
77c2180394 test for _base64encode_trailing_bytes #31797 2021-12-19 16:04:39 -04:00
kssenii
0411fd6565 Better test 2021-12-19 21:24:52 +03:00
Vitaly Baranov
708439b036 Support customized compression for input/output data in gRPC protocol. 2021-12-19 16:29:44 +03:00
Alexey Milovidov
c61885488d Return more tests 2021-12-19 12:46:19 +03:00
Alexey Milovidov
0d6e8e90eb Proper fix for #30245 2021-12-19 12:44:42 +03:00
Alexey Milovidov
0db88e3700 Add a test 2021-12-19 12:11:23 +03:00
alexey-milovidov
cee850b3be
Revert "fix replaceRegexpAll bug" 2021-12-19 11:32:34 +03:00
alexey-milovidov
d3a1ffd05d
Merge pull request #32529 from dmthuc/fix_groupBitmapAnd_function_distributed_table
fix groupBitmapAnd function on distributed table
2021-12-19 08:28:26 +03:00
alexey-milovidov
d4f3823f0e
Merge pull request #32885 from arenadata/ADQM-414
warm up for test_kafka_json_as_string_no_kdc
2021-12-19 07:54:30 +03:00
Azat Khuzhin
f93eb61946 tests/integration/cleanup_environment: fix obtaining PYTEST_CLEANUP_CONTAINERS 2021-12-18 13:21:18 +03:00
Vladimir C
778cd76987
Merge pull request #32914 from vdimir/issue_32487 2021-12-18 10:18:51 +03:00
Dao
e3f16cb73f fix intergration test 2021-12-18 14:42:42 +08:00
Dao
5500d0e439 fix intergration test 2021-12-18 13:35:36 +08:00
alexey-milovidov
f5b6502dff
Merge pull request #32923 from azat/fasttest-jemalloc-replxx
[RFC] Add replxx/jemalloc into fasttest build of clickhouse
2021-12-18 07:42:55 +03:00
Dao
21b8a11907 fix intergration test 2021-12-18 12:27:31 +08:00
Dao
8bbd006d42 enable zookeeper for integration test 2021-12-18 07:55:12 +08:00
Ilya Golshtein
587b663e56 a comment requested by reviewer 2021-12-17 22:49:40 +03:00
Azat Khuzhin
cb394c95d0 Enable tests that requires completion in fasttest 2021-12-17 22:14:37 +03:00
kssenii
dd902b6875 Merge remote-tracking branch 'upstream/master' into table-override-pg 2021-12-17 22:03:58 +03:00
Kseniia Sumarokova
f872fd185c
Merge pull request #32908 from ClickHouse/kssenii-patch-2
Update 01069_window_view_proc_tumble_watch.py
2021-12-17 21:55:47 +03:00
Kseniia Sumarokova
29ce85da66
Merge pull request #32909 from kssenii/update-test
Update test azure_blob_storage::test_table_manipulations
2021-12-17 21:49:09 +03:00
alexey-milovidov
6b97af4c63
Merge pull request #26869 from taylor12805/grouping-sets-dev
Grouping sets dev
2021-12-17 20:50:15 +03:00
Nikolai Kochetov
ffdcf52a9e
Merge pull request #32858 from ClickHouse/fix-has-column-in-table-subquery-2
Always apply const-condition-if optimization.
2021-12-17 20:39:30 +03:00
kssenii
dd9347263b Merge remote-tracking branch 'upstream/master' into update-test 2021-12-17 19:13:24 +03:00
Kseniia Sumarokova
efe1478ffe
Update 01069_window_view_proc_tumble_watch.py 2021-12-17 19:12:12 +03:00
Harry-Lee
ef36befd78 Issue 135: Fix null pointer dereference 2021-12-17 10:56:19 -05:00
kssenii
40c266840c Fixes 2021-12-17 18:16:29 +03:00
minhthucdao
001900655e
Merge branch 'master' into fix_groupBitmapAnd_function_distributed_table 2021-12-17 23:03:47 +08:00
Dao
52af96627c introduce new version and add test 2021-12-17 22:59:02 +08:00
vdimir
5c487b3bdc
Fix types for topKWeightedState 2021-12-17 17:54:12 +03:00
Kseniia Sumarokova
70937088e9
Merge pull request #32886 from kssenii/azure-rename
Rename files and code from BlobStorage to AzureBlobStorage
2021-12-17 16:59:08 +03:00
Mikhail f. Shiryaev
6f6b7c7bac
Merge pull request #32905 from ClickHouse/add_dockerhub_proxy
Add dockerhub proxy to CI
2021-12-17 14:31:50 +01:00
Nikolai Kochetov
20b88d9b4c Always apply const if optimixation. 2021-12-17 15:31:30 +03:00
alesapin
6bd7e425c6
Merge pull request #22535 from CurtizJ/sparse-serialization
Sparse serialization and ColumnSparse
2021-12-17 15:26:17 +03:00
Ilya Golshtein
2821e14492 typo fixed 2021-12-17 15:01:57 +03:00
kssenii
fcb0efcf7d Update test 2021-12-17 14:34:49 +03:00
Kseniia Sumarokova
d465ed0526
Update 01069_window_view_proc_tumble_watch.py 2021-12-17 14:19:54 +03:00
alesapin
f02a40bbdc Rename script and add template for dockerhub proxy 2021-12-17 13:48:42 +03:00
zzsmdfj
4a0554c963 to #15182_MaterializeMySQL_support_bit_type-fix-flakey-test 2021-12-17 18:30:09 +08:00
mergify[bot]
785d16d733
Merge branch 'master' into kill_scalar_github 2021-12-17 10:21:54 +00:00
alesapin
47c907d41a Add dockerhub proxy 2021-12-17 13:20:48 +03:00
kssenii
ed42620530 Rename BlobStorage to AzureBlobStorage 2021-12-17 12:24:05 +03:00
Vladimir C
fa011c66b7
Merge pull request #32846 from vdimir/flaky_test_s3_zero_copy_replication 2021-12-17 12:09:21 +03:00
vdimir
3f118f6734
Try fix flaky test: order for test_s3_zero_copy_replication 2021-12-17 12:08:39 +03:00
alesapin
25fd29619b
Merge pull request #31882 from pkit/refactor_ci_tests1
refactor CI tests
2021-12-17 11:18:35 +03:00
Kseniia Sumarokova
77b3ebe44e
Merge pull request #32734 from kssenii/mysql-fix-timeouts
Allow to control connection timeouts for mysql
2021-12-17 10:13:33 +03:00
zzsmdfj
e9eed1f927 to #15182_MaterializeMySQL_support_bit_type 2021-12-17 15:03:24 +08:00
tavplubix
db01e94f66
Merge pull request #32802 from ClickHouse/fix_restart_unavailable_mysql
Fix restarting with unavailable MySQL
2021-12-17 08:57:15 +03:00
alexey-milovidov
e929175dae
Update run_check.py 2021-12-17 08:55:46 +03:00
alexey-milovidov
7dbdcf91bf
Merge pull request #32814 from ClickHouse/fix_skipped_mutations
Fix skipping of some mutations
2021-12-17 08:53:36 +03:00
alexey-milovidov
e834d655a5
Merge pull request #32415 from ClickHouse/arm64_workers
Add arm64/aarch64 tests
2021-12-17 08:46:52 +03:00
kssenii
8199b24b80 Add test 2021-12-17 01:55:15 +03:00
Ilya Golshtein
faaed87945 warm up for test_kafka_json_as_string_no_kdc 2021-12-17 01:24:21 +03:00
kssenii
97222be3d9 Merge remote-tracking branch 'upstream/master' into table-override-pg 2021-12-17 01:14:28 +03:00
Denny Crane
f515f8d988 test for summap_nullable 0 2021-12-16 21:33:11 +00:00
alexey-milovidov
ccd4d2fe3a
Merge pull request #32492 from azat/fix-01675_distributed_bytes_to_delay_insert
Make 01675_distributed_bytes_to_delay_insert less flaky (use http over client)
2021-12-17 00:20:42 +03:00
alexey-milovidov
6cb54b4092
Merge pull request #31965 from azat/connection-drain-pull
Add ability to drain connections synchronously
2021-12-16 23:40:31 +03:00
alesapin
fde9416b37
Merge pull request #32825 from azat/fix-test_storage_s3
Make `test_storage_s3` less flaky
2021-12-16 22:44:16 +03:00
Nikolai Kochetov
e28bcbfcea Fix MV query with multiple chunk result. 2021-12-16 21:17:05 +03:00
Nikolai Kochetov
4799f07922
Merge branch 'master' into fix-has-column-in-table-subquery-2 2021-12-16 19:02:58 +03:00
Alexander Tokmakov
3a8b2b15fc fix 2021-12-16 19:01:04 +03:00
Nikolai Kochetov
1b8ed6276a Allow string for constant if consition optmization. 2021-12-16 19:00:59 +03:00
mergify[bot]
4722bc6649
Merge branch 'master' into fix_skipped_mutations 2021-12-16 13:25:00 +00:00
mergify[bot]
cf37a1ba07
Merge branch 'master' into fix_restart_unavailable_mysql 2021-12-16 13:17:13 +00:00
vdimir
a0afe67777
Add cwurm to TRUSTED_CONTIBUTORS 2021-12-16 16:13:40 +03:00
Mikhail f. Shiryaev
9a6e8dc615
Build rpm and tgz for aarch64 too 2021-12-16 13:00:32 +01:00
Mikhail f. Shiryaev
eb5a26891f
Add aarch64 deb package 2021-12-16 12:42:49 +01:00
Mikhail f. Shiryaev
3ae654168c
Apply black formatter 2021-12-16 12:42:48 +01:00
Mikhail f. Shiryaev
2ae5eb4cfa
Merge pull request #32205 from ClickHouse/team_keys_lambda
Add docker container for AWS lambda
2021-12-16 11:52:02 +01:00
Mikhail f. Shiryaev
31a5afe855
Use threads to speed-up parallel requests 2021-12-16 11:50:48 +01:00
Mikhail f. Shiryaev
ccf6210eb1
Add docker container for AWS lambda 2021-12-16 11:50:41 +01:00
Mikhail f. Shiryaev
1d7bd3bf9b
Merge pull request #32800 from ClickHouse/aws-workers
Improve workers init
2021-12-16 11:48:54 +01:00
Vladimir C
2f2d98d8be
Merge pull request #32811 from Algunenano/materialized_view_scalar_subqueries 2021-12-16 13:35:22 +03:00
Maksim Kita
33374f8b0a
Merge pull request #31062 from Enmk/Governance/view_comment
Views with comment
2021-12-16 12:27:12 +03:00
alesapin
cf0241a2d5 Prevent docs release of being too smart 2021-12-16 10:59:59 +03:00
alesapin
38f2e4c8ac Prevent docs release of being too smart 2021-12-16 10:59:42 +03:00
Azat Khuzhin
ba2c9405da Fix test_storage_s3 flakiness 2021-12-16 07:56:43 +03:00
Alexey Milovidov
c148718e73 Fix fast test 2021-12-16 07:47:50 +03:00
Alexey Milovidov
e4cab544ab Fix fast test 2021-12-16 07:46:23 +03:00
alexey-milovidov
6083869b5d
Merge pull request #32669 from Algunenano/wip_mv_into_join
Fix LOGICAL_ERROR when the target of a materialized view is a JOIN or a SET table
2021-12-16 02:01:31 +03:00
alexey-milovidov
c7a5fb7582
Merge pull request #32507 from DMokhnatkin/apache-arrow-fix
The proper handler for apache arrow column duplication
2021-12-16 01:55:13 +03:00
alexey-milovidov
d112b30d78
Merge pull request #32291 from cmsxbc/fix-multiply-row-policies-on-same-column
Fix broken select query with multiply row policies on same column
2021-12-16 01:52:12 +03:00
alexey-milovidov
5293555d4d
Merge pull request #31797 from aiven/kmichel-fix-base64encode-too-fast
Fix base64Encode adding trailing bytes on small strings
2021-12-16 01:35:22 +03:00
kssenii
7583c8007e Some review fixes 2021-12-16 00:38:46 +03:00
mergify[bot]
41ae7c8eb1
Merge branch 'master' into fix_IP_conversion 2021-12-15 19:19:47 +00:00
Alexander Tokmakov
1b02136941 fix skipping of some mutations 2021-12-15 21:19:29 +03:00
Raúl Marín
f367634271 Do not use scalar cache when processing MV blocks 2021-12-15 17:25:30 +01:00
vdimir
2c46ede8bb
Add test arrow_duplicate_columns 2021-12-15 18:30:32 +03:00
alesapin
8d6bea91e8
Update pr_info.py 2021-12-15 16:35:53 +03:00
alesapin
5430f1a413
Update pr_info.py 2021-12-15 16:26:46 +03:00
alesapin
73a593b676
Merge branch 'master' into refactor_ci_tests1 2021-12-15 16:11:28 +03:00
Maksim Kita
655cc20525
Merge pull request #32758 from kitaisreal/sql-user-defined-functions-support-subqueries
SQLUserDefinedFunctions support subqueries
2021-12-15 15:57:20 +03:00
kssenii
dc1f0c58fa Merge remote-tracking branch 'upstream/master' into table-override-pg 2021-12-15 15:27:58 +03:00
Anton Popov
ec46cbef20
Merge pull request #32756 from CurtizJ/fix-index-hypothesis
Fix race in skipping index of type `hypothesis`
2021-12-15 15:26:35 +03:00
Alexander Tokmakov
07bfbc26d6 fix restarting with unavailable mysql 2021-12-15 15:08:08 +03:00
Raúl Marín
3de002c7c9 Merge remote-tracking branch 'blessed/master' into libcxx13_take2 2021-12-15 12:57:57 +01:00
alesapin
d962d92896
Merge pull request #32745 from ClickHouse/fix_special_build_check
Better control build artifacts
2021-12-15 14:51:02 +03:00
Maksim Kita
8759636afe
Merge pull request #32776 from ClickHouse/add-test-3
Add a test for CAST to named tuple just in case.
2021-12-15 13:21:37 +03:00
Mikhail f. Shiryaev
546a03281f
Rework image building:
- Make it arch-agnostic
- Add necessary packages
- Update runner version
- Get public keys of ClickHouse/core members
2021-12-15 11:19:08 +01:00
Raúl Marín
cd465ca0a0 Merge remote-tracking branch 'blessed/master' into libcxx13_take2 2021-12-15 10:55:23 +01:00
Kseniia Sumarokova
5f02cfa595
Update 01293_show_settings.reference 2021-12-15 12:51:48 +03:00
mergify[bot]
bff0424139
Merge branch 'master' into kill_scalar_github 2021-12-15 09:22:58 +00:00
mergify[bot]
3a7179756f
Merge branch 'master' into fix-32668 2021-12-15 08:31:10 +00:00
alesapin
2c78e7ed72 Fix performance build 2021-12-15 11:07:12 +03:00
alesapin
2e8b75ade4 Fix configs 2021-12-15 10:45:27 +03:00
alesapin
2753fe01a3 Merge branch 'master' into fix_special_build_check 2021-12-15 10:35:28 +03:00
Kseniia Sumarokova
e5c538f157
Merge pull request #32771 from kssenii/add-test-26912
Add test for issue 26912
2021-12-15 10:09:31 +03:00
alexey-milovidov
de66f669b6
Merge pull request #32755 from cmsxbc/fix-fuzzbits-with-multiply-same-fixedstring
fix crash fuzzbits with multiply same fixedstring
2021-12-15 03:58:59 +03:00
mergify[bot]
003aeda627
Merge branch 'master' into fix-multiply-row-policies-on-same-column 2021-12-15 00:05:49 +00:00
Alexey Milovidov
a79b951f23 Add a test 2021-12-15 00:24:16 +03:00
kssenii
1a6fb11679 Add test 2021-12-14 23:36:54 +03:00
alexey-milovidov
4adf3b0285
Merge pull request #32740 from azat/integration-tests-fix-mysql-wait
tests/integration: fix waiting of mysql client container
2021-12-14 23:23:50 +03:00
mergify[bot]
4300f77532
Merge branch 'master' into fix_IP_conversion 2021-12-14 20:12:34 +00:00
Anton Popov
2e388a72da
Merge pull request #32742 from nautaa/flush_in_memory_part
flush all InMemoryDataParts when wal is not enabled
2021-12-14 23:09:10 +03:00
Kseniia Sumarokova
bf415378be
Merge pull request #32607 from Vxider/watch-events-supports
Events clause support for Window View watch query
2021-12-14 23:08:24 +03:00
tavplubix
2cf5456423
Merge pull request #32511 from ClickHouse/fix_attaching_gdb2
Try to fix attaching gdb 2
2021-12-14 21:10:00 +03:00
Mikhail f. Shiryaev
97301a19b9
Unify init scripts in one 2021-12-14 18:44:51 +01:00
kssenii
47f549166d Table Override for PostgreSQL 2021-12-14 20:36:43 +03:00
alesapin
e124e5807f Fix build performance 2021-12-14 19:29:30 +03:00
mergify[bot]
c915b26a17
Merge branch 'master' into fix-multiply-row-policies-on-same-column 2021-12-14 16:21:35 +00:00
alesapin
c46c912507 Followup 2021-12-14 19:16:22 +03:00
alesapin
d7663b2179 Merge branch 'master' into fix_special_build_check 2021-12-14 19:08:28 +03:00
Anton Popov
16312e7e4a Merge remote-tracking branch 'upstream/master' into HEAD 2021-12-14 18:58:17 +03:00
alesapin
bcbf2d983e
Merge pull request #31467 from ClickHouse/add_performance_tests
Add performance tests to new CI
2021-12-14 18:56:34 +03:00
Maksim Kita
c4bc72672e SQLUserDefinedFunctions support subqueries 2021-12-14 18:46:21 +03:00
Anton Popov
84d6715e3d fix race in skipping index of type hypothesis 2021-12-14 18:28:55 +03:00
cmsxbc
0b4a9ebce0
fix fuzzbits with multiply same fixedstring 2021-12-14 23:26:18 +08:00
Nikolai Kochetov
d394f0e753 Allpy some more optimizations to NO_QUERY ast. 2021-12-14 17:19:18 +03:00
Raúl Marín
44f3b1c9d2 Merge remote-tracking branch 'blessed/master' into libcxx13_take2 2021-12-14 13:05:01 +01:00
Vasily Nemkov
4223553508
Fixed test 2021-12-14 14:57:13 +03:00
mergify[bot]
60a864f91c
Merge branch 'master' into flush_in_memory_part 2021-12-14 11:14:21 +00:00
Anton Popov
bda0cc2f76
Merge pull request #32530 from Avogar/fix-async-inserts
Fix async inserts for some input formats
2021-12-14 14:07:05 +03:00
mergify[bot]
68c96f4dd4
Merge branch 'master' into add_performance_tests 2021-12-14 11:04:41 +00:00
Anton Popov
bbb981655d
Merge pull request #32695 from CurtizJ/fix-add-ttl
Fix `MATERIALIZE TTL` with `TTL WHERE` and `TTL GROUP BY`
2021-12-14 14:01:15 +03:00
alesapin
0d7bbc399b
Merge pull request #32739 from azat/integration-tests-fix-ch-wait
tests/integration: fix wait_start()/start_clickhouse()
2021-12-14 13:49:15 +03:00
alesapin
7b29377338 Better control build artifacts 2021-12-14 13:40:03 +03:00
alesapin
d5925d7e2d Trying stress testers 2021-12-14 13:31:31 +03:00
alesapin
a02da27c6f
Merge pull request #32694 from ClickHouse/add-test_s3_zero_copy_concurrent_merge
Add test_s3_zero_copy_concurrent_merge
2021-12-14 12:49:21 +03:00
nautaa
0da3881ff4 flush all InMemoryDataParts when wal is not enabled 2021-12-14 16:31:17 +08:00
kssenii
5c7b2b0aaf Update test 2021-12-14 07:59:47 +00:00
cmsxbc
0b8bc3f6de wait more times for clear background queries. 2021-12-14 07:37:38 +00:00
cmsxbc
b30e250eed add max_concurrent_select_queries and max_concurrent_insert_queries 2021-12-14 07:37:38 +00:00
Azat Khuzhin
03dbbaca3e Disable 02127_connection_drain to run in parallel 2021-12-14 10:18:57 +03:00
Azat Khuzhin
33ffd343f3 Add ability to drain connections synchronously
This is mostly for testing, to avoid hiding errors.
2021-12-14 10:18:57 +03:00
Azat Khuzhin
ae122e430a tests/integration: fix waiting of mysql client container
healthy means that everything is OK and no need to wait.

And before it works only because mysql container was too slow to start
and wait_mysql_client_to_start() returns only when the status was
unhealthy/starting, which was obviously wrong.

Fixes: #20393 (cc @qoega)
2021-12-14 10:04:30 +03:00
Azat Khuzhin
1a134f5fc0 tests/integration: fix printing all available services in wait_mysql_client_to_start()
There is no docker-compose.yml in that place, since mysql client has
different name:

    2021-12-14 04:03:02 [ 862 ] DEBUG : Command:['docker-compose', 'ps', '--services', '--all'] (cluster.py:63, run_and_check)
    2021-12-14 04:03:03 [ 862 ] DEBUG : Stderr: (cluster.py:71, run_and_check)
    2021-12-14 04:03:03 [ 862 ] DEBUG : Stderr:        Can't find a suitable configuration file in this directory or any (cluster.py:71, run_and_check)
    2021-12-14 04:03:03 [ 862 ] DEBUG : Stderr:        parent. Are you in the right directory? (cluster.py:71, run_and_check)
    2021-12-14 04:03:03 [ 862 ] DEBUG : Stderr: (cluster.py:71, run_and_check)
    2021-12-14 04:03:03 [ 862 ] DEBUG : Stderr:        Supported filenames: docker-compose.yml, docker-compose.yaml (cluster.py:71, run_and_check)
    2021-12-14 04:03:03 [ 862 ] DEBUG : Stderr:         (cluster.py:71, run_and_check)
    2021-12-14 04:03:03 [ 862 ] DEBUG : Exitcode:1 (cluster.py:73, run_and_check)
2021-12-14 10:00:20 +03:00
Azat Khuzhin
01a57af774 tests/integration: fix wait_start()/start_clickhouse()
Execute query at least once, otherwise it may incorrectly detect that
the server is "alive".

Fixes: test_keeper_incorrect_config/test.py::test_duplicate_endpoint
CI: https://s3.amazonaws.com/clickhouse-test-reports/32536/559b01a2e43d09571195fb1cc08d83133f559203/integration_tests__asan__actions__[1/3].html
2021-12-14 09:45:46 +03:00
mergify[bot]
a5599d9fe2
Merge branch 'master' into watch-events-supports 2021-12-14 06:15:58 +00:00
mergify[bot]
96f6915233
Merge branch 'master' into wip_mv_into_join 2021-12-14 01:31:47 +00:00
mergify[bot]
2b181d7107
Merge branch 'master' into mongo-extend-auth-2 2021-12-13 22:21:10 +00:00
Kseniia Sumarokova
dadaeabda7
Merge pull request #32670 from CurtizJ/fix-reading-in-order
Fix reading in order of sorting key from `Distributed` and `Merge` tables
2021-12-14 00:42:48 +03:00
alexey-milovidov
b4f3600e84
Merge pull request #32720 from ClickHouse/Avogar-patch-1
Update backport.py
2021-12-13 20:44:47 +03:00
Kruglov Pavel
d065b8233d
Update backport.py 2021-12-13 20:40:06 +03:00