Commit Graph

85531 Commits

Author SHA1 Message Date
mergify[bot]
4813f0b305
Merge branch 'master' into is-secure-client-info 2022-03-30 15:12:56 +00:00
tavplubix
60ecd49313
Merge pull request #35754 from ClickHouse/fix-ci-script-style-check
Fix stylecheck
2022-03-30 18:06:33 +03:00
Maksim Kita
12ec3522e6
Merge pull request #35745 from azat/fix-tests-v22.3
Tests fixes
2022-03-30 15:44:25 +02:00
Kruglov Pavel
771f34d793
Merge pull request #35691 from Avogar/fix-matview
Fix creating materialized view with subquery after server restart
2022-03-30 14:57:14 +02:00
Antonio Andelic
7bc5731025 Merge branch 'master' into is-secure-client-info 2022-03-30 11:26:05 +00:00
Antonio Andelic
87bab4f2ea Fix style 2022-03-30 11:25:58 +00:00
Nikolai Kochetov
d3697625a9 Fix stylecheck 2022-03-30 10:55:49 +00:00
Vladimir C
31c367d3cd
Merge pull request #35651 from amosbird/columntransformerrename 2022-03-30 12:37:30 +02:00
alesapin
b5bce6d4dd
Merge pull request #35722 from ClickHouse/new_branch
Resurrect automatic labelling
2022-03-30 11:26:41 +02:00
mergify[bot]
c2d26e0dd4
Merge branch 'master' into new_branch 2022-03-30 09:22:01 +00:00
alesapin
c510ede8dd Fixup 2022-03-30 11:19:11 +02:00
alesapin
bcf64a73d1 Followup 2022-03-30 11:00:45 +02:00
alesapin
68ec0d92c0 Remove if category changed 2022-03-30 10:58:52 +02:00
Azat Khuzhin
2a099d90fe tests: make 02152_http_external_tables_memory_tracking more stable
After settings randomization, it can not reach max_untracked_memory,
i.e. due to max_block_size=67990 for example (like in [1]).

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/35683/c609426d091ea8b9f2d37f8d7fcbf9e759cc94e5/stateless_tests__release__actions_.html

Fix this, by settings max_untracked_memory to 0, to track any
allocations.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-30 11:06:07 +03:00
Azat Khuzhin
b264bdcf5e tests: wait for left queries in 00417_kill_query
CI: https://s3.amazonaws.com/clickhouse-test-reports/0/c244ee7cbb61fea384679e18a577ff579060288b/stateless_tests__release__s3_storage__actions_/runlog.log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-30 11:06:07 +03:00
Azat Khuzhin
7d140c9a59 clickhouse-test: increase timeout for obtaining processlist
Sometimes 30 seconds is not enough on CI [1]:

    2022.03.29 04:46:09.805406 [ 3885 ] {ae06ad04-f9fa-44d4-adeb-9e91aaf9bfa9} <Debug> executeQuery: (from [::1]:33506)  SELECT * FROM system.processes WHERE query NOT LIKE '%system.processes%' AND Settings['log_comment'] = '02016_order_by_with_fill_monotonic_functions_removal.sql' AND current_database = 'test_7fqp6w'
    2022.03.29 04:46:09.866100 [ 3885 ] {ae06ad04-f9fa-44d4-adeb-9e91aaf9bfa9} <Trace> ContextAccess (default): Access granted: SELECT(is_initial_query, user, query_id, address, port, initial_user, initial_query_id, initial_address, initial_port, interface, os_user, client_hostname, client_name, client_revision, client_version_major, client_version_minor, client_version_patch, http_method, http_user_agent, http_referer, forwarded_for, quota_key, distributed_depth, elapsed, is_cancelled, read_rows, read_bytes, total_rows_approx, written_rows, written_bytes, memory_usage, peak_memory_usage, query, thread_ids, ProfileEvents, Settings, current_database) ON system.processes
    2022.03.29 04:46:12.787395 [ 3885 ] {ae06ad04-f9fa-44d4-adeb-9e91aaf9bfa9} <Trace> InterpreterSelectQuery: FetchColumns -> Complete
    2022.03.29 04:46:19.749163 [ 3885 ] {ae06ad04-f9fa-44d4-adeb-9e91aaf9bfa9} <Test> ParallelFormattingOutputFormat: Parallel formatting is being used
    2022.03.29 04:46:37.923282 [ 3885 ] {ae06ad04-f9fa-44d4-adeb-9e91aaf9bfa9} <Information> executeQuery: Read 15 rows, 44.20 KiB in 28.117172383 sec., 0 rows/sec., 1.57 KiB/sec.
    2022.03.29 04:46:40.020586 [ 3885 ] {ae06ad04-f9fa-44d4-adeb-9e91aaf9bfa9} <Debug> DynamicQueryHandler: Done processing query
    2022.03.29 04:46:40.033535 [ 3885 ] {ae06ad04-f9fa-44d4-adeb-9e91aaf9bfa9} <Debug> MemoryTracker: Peak memory usage (for query): 4.00 MiB.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/32928/ddd5bebe555ce8feebcdd339e47fc45184c20dd1/stateless_tests__thread__actions__[1/3].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-30 11:05:59 +03:00
Antonio Andelic
b70456879e Add tests for is_secure in query_log 2022-03-30 06:39:40 +00:00
Antonio Andelic
e15fccd31b Add is_secure info to HTTP 2022-03-30 06:39:40 +00:00
Antonio Andelic
d14ad227b1 Polish TCP is_secure flag 2022-03-30 06:39:40 +00:00
Antonio Andelic
b982959c4c Fix writting is_secure 2022-03-30 06:39:40 +00:00
Antonio Andelic
893b8a9513 Initial implementation of is_secure 2022-03-30 06:39:40 +00:00
Antonio Andelic
03a09dc914
Merge pull request #35571 from ClickHouse/parallel-s3-downloading
Parallel S3 downloading
2022-03-30 08:14:49 +02:00
Antonio Andelic
d85ed8f2a9
Merge pull request #35655 from ClickHouse/exception-compile-time-message-check
Use compile-time check for `Exception` messages
2022-03-30 08:11:32 +02:00
Anton Popov
a842a81aba
Merge pull request #35690 from CurtizJ/flatten-tuple
Add function `flattenTuple`
2022-03-30 00:24:36 +02:00
Anton Popov
1cba31c305
Merge pull request #35687 from CurtizJ/dynamic-columns-7
Fix reading from type object
2022-03-30 00:21:32 +02:00
tavplubix
e3d772abd0
Merge pull request #35725 from ClickHouse/revert-35683-llvm-cmake-fix
Revert "Fix enable LLVM for JIT compilation in CMake"
2022-03-30 00:18:14 +03:00
Nikolai Kochetov
8c28926c67
Merge pull request #35737 from ClickHouse/change-ci-checks-server
Update ci checks server.
2022-03-29 21:23:56 +02:00
Nikolai Kochetov
3849e63ab1 Change database 2022-03-29 19:06:50 +00:00
Nikolai Kochetov
0810737637 Fix style 2022-03-29 18:58:16 +00:00
Nikolai Kochetov
bb82f77477 Fix check. 2022-03-29 18:46:48 +00:00
Maksim Kita
27aba472dd
Merge pull request #35671 from pdai/patch-1
fix typo
2022-03-29 20:46:02 +02:00
Nikolai Kochetov
3995a52da6 Fix check. 2022-03-29 18:36:36 +00:00
Nikolai Kochetov
476c7f9d7e Update ci checks server. 2022-03-29 18:32:28 +00:00
mergify[bot]
678d7ce376
Merge branch 'master' into new_branch 2022-03-29 18:02:12 +00:00
Anton Popov
74cafe154a
fix flaky test 02246_async_insert_quota 2022-03-29 19:58:59 +02:00
alesapin
2e4ab305dd Revert "Try fake update submodule"
This reverts commit 999558f00f.
2022-03-29 19:50:13 +02:00
alesapin
1a8b2c9637 Remove submodule changed 2022-03-29 19:50:06 +02:00
alesapin
999558f00f Try fake update submodule 2022-03-29 19:28:45 +02:00
alesapin
9220bedb7d Add submodule changed 2022-03-29 19:28:18 +02:00
alesapin
d59941e4f6 Style 2022-03-29 19:15:25 +02:00
tavplubix
f3e580e876
Merge pull request #35711 from kssenii/fix-local-drop-db
Fix dropping non-empty database in clickhouse local
2022-03-29 18:39:01 +03:00
tavplubix
693b47cdc9
Revert "Fix enable LLVM for JIT compilation in CMake" 2022-03-29 17:51:56 +03:00
Antonio Andelic
eb787c1ddc
Merge pull request #35721 from ClickHouse/fix-allowed-url-style
Format `test_allowed_url_from_config/test.py` with black
2022-03-29 16:14:08 +02:00
alesapin
bf591b971a Moar categories 2022-03-29 15:53:08 +02:00
alesapin
d0f01516db Resurrect automatic labelling 2022-03-29 15:48:57 +02:00
Antonio Andelic
c9feb7f751 Format test file 2022-03-29 13:40:14 +00:00
Dmitry Novik
8f935a72d6
Merge pull request #33230 from CurtizJ/read_in_order_max_rows_to_read
Proper handle of 'max_rows_to_read' in case of reading in order of sorting key
2022-03-29 15:16:34 +02:00
Antonio Andelic
ef484547bf Fix GCC build 2022-03-29 13:16:11 +00:00
Antonio Andelic
9990abb76a Use compile-time check for Exception messages, fix wrong messages 2022-03-29 13:16:11 +00:00
tavplubix
3246261da8
Fix logging in test_distributed_respect_user_timeouts (#35575)
* Update test.py

* Update test.py

* Update test.py

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-29 15:43:42 +03:00