Commit Graph

119908 Commits

Author SHA1 Message Date
Kruglov Pavel
37054e7b47
Merge pull request #51603 from Avogar/full-filename-placeholder
Add placeholder for full filename in rename_files_after_processing setting
2023-07-18 13:37:06 +02:00
Kruglov Pavel
6985bf0cdb
Merge branch 'master' into row-binary-with-defaults 2023-07-18 13:36:56 +02:00
Kruglov Pavel
8057be547c
Merge branch 'master' into async-connect-to-multiple-ips 2023-07-18 13:31:23 +02:00
Nikolai Kochetov
b542fe364a
Merge pull request #52223 from ClickHouse/rename-constants-in-key-condition
Fix 01889_key_condition_function_chains for analyzer.
2023-07-18 13:19:02 +02:00
Nikolai Kochetov
d69df6975f
Merge branch 'master' into add_optimize_use_implicit_projections 2023-07-18 13:17:12 +02:00
avogar
a74a56b0d7 Attempt to fix assert in tsan with fibers 2023-07-18 11:06:16 +00:00
timfursov
f3bfc6e5cf
Update with.md
I propose changes to make it clear that CTEs do not guarantee the same results in all places they are used, since the query will be re-executed in each place they are used.
2023-07-18 11:40:57 +01:00
Nikolai Kochetov
83e9ec117c
Merge pull request #51481 from ClickHouse/fix-the-same-names-for-lift-up-functions-before-sorting
Fix optimization to move functions before sorting.
2023-07-18 12:34:51 +02:00
Alexander Gololobov
722b385908 List replication queue only for current test database 2023-07-18 12:26:42 +02:00
kssenii
353b0f817a Merge remote-tracking branch 'origin/fix-pg-sync-tables-exception-broken-sync' into fix-pg-sync-tables-exception-broken-sync 2023-07-18 12:26:17 +02:00
kssenii
0cfd12aba4 Fix 2023-07-18 12:24:04 +02:00
Azat Khuzhin
e9b7a84aa1 Fix network manager for integration tests
Sometimes you may get:

    >           raise subprocess.CalledProcessError(exit_code, cmd)
    E           subprocess.CalledProcessError: Command '['iptables', '--wait', '-D', 'DOCKER-USER', '-p', 'tcp', '-s', '172.16.2.3', '-d', '172.16.2.2', '-j', 'DROP']' returned non-zero exit status 137.

And only sometimes you may get the reason:

    OCI runtime exec failed: exec failed: cannot exec in a stopped container: unknown

So this means that container for iptables does not exists anymore, and
the reason is the timeout. And the fact that container_exit_timeout was
equal to container_expire_timeout and was 120.

From the docker logs:

    time="2023-07-16T15:46:52.513673446Z" level=debug msg="form data: {\"AttachStderr\":false,\"AttachStdin\":false,\"AttachStdout\":false,\"Cmd\":[\"sleep\",\"120\"],\"HostConfig\":{\"AutoRemove\":true,\"NetworkMode\":\"host\"},\"Image\":\"clickhouse/integration-helper:latest\",\"NetworkDisabled\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Tty\":false}"
    time="2023-07-16T15:48:57.611857183Z" level=debug msg="form data: {\"AttachStderr\":false,\"AttachStdin\":false,\"AttachStdout\":false,\"Cmd\":[\"sleep\",\"120\"],\"HostConfig\":{\"AutoRemove\":true,\"NetworkMode\":\"host\"},\"Image\":\"clickhouse/integration-helper:latest\",\"NetworkDisabled\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Tty\":false}"

And then pytest will try to execute the iptables command:

    time="2023-07-16T15:50:57.698705244Z" level=debug msg="starting exec command 860920ab2aa07e8d285050f200ac92423a3cf8ec3fb2f57683541e62cf6bc20e in container 66d6c96671b5e987345290ddd260727d96b99789b512d40f333f6263f42fd2f1"

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-18 12:17:26 +02:00
Nikolai Kochetov
008238be71
Merge pull request #52235 from ClickHouse/vdimir/02273_no_upgrade_check
Enable no-upgrade-check for 02273_full_sort_join
2023-07-18 12:16:54 +02:00
robot-ch-test-poll2
d816d8b92f
Merge pull request #52198 from azat/qemu-compressor
Fix self extracting binaries under qemu linux-user (qemu-$ARCH-static)
2023-07-18 12:02:47 +02:00
vdimir
dc55c8ed8e
Enable no-upgrade-check for 02273_full_sort_join 2023-07-18 09:54:33 +00:00
Mikhail Koviazin
4f7fd69883
Added function firstLine to extract the first line from a multiline string
Fixes #51172
2023-07-18 12:18:26 +03:00
Raúl Marín
169c90a8c5 Merge remote-tracking branch 'blessed/master' into happy_grandma 2023-07-18 11:01:26 +02:00
Raúl Marín
ed4c560e33 Accept paths without ancestors 2023-07-18 11:00:13 +02:00
Salvatore Mesoraca
e61426f7ae
Add keyed SipHash tests 2023-07-18 10:29:51 +02:00
Salvatore Mesoraca
425d9c17c7
Fix memsan test 2023-07-18 10:29:51 +02:00
Salvatore Mesoraca
fb23ece797
Add tests for memsan bug
Changes originally made by Robert Schulze (@rschu1ze)
2023-07-18 10:29:50 +02:00
Salvatore Mesoraca
693892801c
Re-add keyed SipHash and fix issues with current keyed hashes framwork 2023-07-18 10:29:50 +02:00
Salvatore Mesoraca
14ab1f2a98
Fix SipHash doc
Changes originally made by Robert Schulze (@rschu1ze)
2023-07-18 10:29:47 +02:00
Mikhail Koviazin
562ea03ce7
FunctionsURL.h to StringHelpers.h and move out of URL/ 2023-07-18 11:16:52 +03:00
Alexander Gololobov
44595b98d0 Update src/Storages/System/StorageSystemDatabases.cpp
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-07-18 08:25:38 +02:00
Alexander Gololobov
2f6bf4590b Filter databases list before querying potentially slow fields 2023-07-18 08:25:37 +02:00
Vitaly Baranov
4963cfba39
Merge branch 'master' into no-keep-context-lock-while-calculating-access 2023-07-18 07:35:39 +02:00
Lloyd-Pottiger
9d11385543
Merge branch 'master' into add-alias-for-today-and-now 2023-07-18 10:29:49 +08:00
Lloyd-Pottiger
56a5446af3 format
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
2023-07-18 10:28:51 +08:00
Amos Bird
c782689c2d
added to compatibility setting 2023-07-18 09:50:44 +08:00
Amos Bird
ef521fd6ce
Fix more tests 2023-07-18 09:50:43 +08:00
Amos Bird
796a92d9ab
Fix tests 2023-07-18 09:50:42 +08:00
Amos Bird
d8dd480cd7
Disable implicit projections by default 2023-07-18 09:50:41 +08:00
Alexey Milovidov
8a4f939e1a Slightly better diagnostics in tests 2023-07-18 02:37:50 +02:00
Alexey Milovidov
182d8b8f08 Remove useless header 2023-07-18 02:37:30 +02:00
Alexey Milovidov
5637c419bd
Merge pull request #52124 from ClickHouse/update-cctz-5
Update CCTZ
2023-07-18 03:29:52 +03:00
Alexey Milovidov
203ec1d230
Merge branch 'master' into fix-group-array-moving 2023-07-18 03:29:14 +03:00
Alexey Milovidov
bc9bf009af Inhibit settings randomization in the test json_ghdata. 2023-07-18 02:27:39 +02:00
Alexey Milovidov
e4f798fcda Remove useless header 2023-07-18 02:24:39 +02:00
Alexey Milovidov
218a1c7eb8
Merge branch 'master' into fix-has-token 2023-07-18 03:05:28 +03:00
Alexey Milovidov
f4e095b502
Merge pull request #52149 from ucasfl/array_concat_agg
Add array_concat_agg for compatibility with BigQuery
2023-07-18 03:03:27 +03:00
Alexey Milovidov
272dadc637
Merge branch 'master' into fix-race-in-multiplexed-connections 2023-07-18 01:20:09 +03:00
Han Fei
4043174a81 fix special build 2023-07-17 23:46:45 +02:00
Val Doroshchuk
38efdd2063
Merge branch 'master' into parse-ddl 2023-07-17 23:00:01 +02:00
Robert Schulze
46e03432a9
Merge pull request #52196 from rschu1ze/simplify-job-limiting
CMake: Simplify job limiting
2023-07-17 22:43:40 +02:00
robot-clickhouse-ci-1
2b1be4b89d
Merge pull request #52063 from valbok/disconnect-on-dtor
MySQL: Delay disconnection of mysqlxx::Pool::Entry until refcount==0
2023-07-17 22:29:58 +02:00
Alexey Milovidov
4a4fd7f29c
Merge branch 'master' into fix-assertions-4 2023-07-17 23:24:44 +03:00
Alexey Milovidov
da29166f08
Merge branch 'master' into fix-unexpected-ast-set 2023-07-17 23:17:55 +03:00
Alexey Milovidov
eb8629db51
Update 02815_logical_error_cannot_get_column_name_of_set.sql 2023-07-17 23:17:47 +03:00
Alexey Milovidov
4b8aa3a012
Merge branch 'master' into fix-crash-query-analysis 2023-07-17 23:14:46 +03:00