Commit Graph

119626 Commits

Author SHA1 Message Date
Kruglov Pavel
7b3564f96a
Revert "Improve CSVInputFormat to check and set default value to column if deserialize failed" 2023-07-19 14:44:59 +02:00
robot-ch-test-poll4
63d0616a22
Merge pull request #51716 from KevinyhZou/bug_fix_csv_field_type_not_match
Improve CSVInputFormat to check and set default value to column if deserialize failed
2023-07-19 14:41:05 +02:00
Nikita Mikhaylov
ce36bf42cf
Merge pull request #52241 from Avogar/refactor-async-task-executor
Attempt to fix assert in tsan with fibers
2023-07-19 14:24:20 +02:00
Kseniia Sumarokova
3bbc9e59c3
Merge pull request #49557 from kssenii/fix-assertions-4
Cleanup `storage_conf.xml`
2023-07-19 14:14:42 +02:00
kevinyhzou
cc9da46efa ci fix 2023-07-19 20:11:03 +08:00
kevinyhzou
dcf7ba2534 remove unuseful code 2023-07-19 19:36:19 +08:00
kevinyhzou
94796f28ad ci fix 2023-07-19 19:24:16 +08:00
alesapin
d52473e882
Merge pull request #52279 from ClickHouse/fix-02497_trace_events_stress_long
Fix `02497_trace_events_stress_long`
2023-07-19 12:50:11 +02:00
alesapin
4c68225590
Merge branch 'master' into fix-02497_trace_events_stress_long 2023-07-19 12:44:56 +02:00
kevinyhzou
95424177d5 review fix 2023-07-19 18:26:54 +08:00
alesapin
0b27ac15f7
Merge pull request #52202 from ClickHouse/fix_flaky_test_lost_part
Fix flaky test test_lost_part
2023-07-19 12:00:47 +02:00
alesapin
3776ca7822
Merge pull request #52221 from ClickHouse/fix_test_producing_no_such_key
Fix flaky test `01076_parallel_alter_replicated_zookeeper`
2023-07-19 12:00:42 +02:00
alesapin
08022f474b
Merge branch 'master' into fix_flaky_test_lost_part 2023-07-19 12:00:07 +02:00
alesapin
f8fa79c30f
Merge branch 'master' into fix_test_producing_no_such_key 2023-07-19 11:59:23 +02:00
vdimir
92f04d2c53
Merge pull request #52209 from mkmkme/mkmkme/first-line 2023-07-19 11:10:13 +02:00
Alexander Tokmakov
d051a2a128
Merge pull request #52208 from valbok/parse-ddl
MaterializedMySQL: Add tests to parse db and table names from DDL
2023-07-19 11:59:24 +03:00
robot-clickhouse-ci-1
32b765a4ba
Merge pull request #50559 from zvonand/zvonand-issue-49290
Add support for multi-directory globs
2023-07-19 06:24:38 +02:00
Alexey Milovidov
6c62c3b426
Merge pull request #52237 from azat/tests/fix-iptables
Fix network manager for integration tests
2023-07-19 02:21:13 +03:00
Alexey Milovidov
416433d402
Merge pull request #52161 from ClickHouse/fix-group-array-moving
Fix error in `groupArrayMoving` functions
2023-07-19 02:03:53 +03:00
robot-ch-test-poll1
6d0ed2963a
Merge pull request #52252 from timfursov/timfursov-patch-1
Update with.md
2023-07-18 22:04:16 +02:00
Antonio Andelic
e0f737f363 Remove timeout 2023-07-18 19:28:35 +00:00
Alexey Milovidov
482c8b5cde
Merge pull request #52158 from ClickHouse/fix-unexpected-ast-set
Fix unexpected AST Set
2023-07-18 22:17:51 +03:00
Antonio Andelic
89552bbde5
Pull logs for first replica before optimize (#52032)
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-07-18 19:39:20 +03:00
Alexey Milovidov
8d10dd71f7
Merge pull request #52172 from ClickHouse/fix-crash-query-analysis
Fix crash in comparison functions due to incorrect query analysis
2023-07-18 18:53:41 +03:00
alesapin
cf0b58a831
Merge pull request #52197 from ClickHouse/fix_sticky_mutations_test
Fix sticky mutations test (and extremely rare race condition)
2023-07-18 16:49:31 +02:00
Nikita Mikhaylov
423d4b5f9e
Merge pull request #52256 from ClickHouse/undefined-behaviour-fuzzer
Fix undefined behaviour in fuzzer
2023-07-18 16:31:11 +02:00
timfursov
90df922f50
Update with.md
Removed new line chars completely just in case
2023-07-18 15:02:59 +01:00
timfursov
cfcfb83ab7
Update with.md
replaced <br> to \
2023-07-18 14:41:43 +01:00
Alexander Gololobov
c68de09e0a
Merge pull request #52144 from ClickHouse/fix-kill-mutation
Fix the "kill_mutation" test
2023-07-18 15:40:21 +02:00
Nikolai Kochetov
51c65e38ff
Merge pull request #52160 from ClickHouse/fix-has-token
Add a check for `hasToken`
2023-07-18 15:38:34 +02:00
Alexander Tokmakov
32b9d391a5
Merge pull request #52210 from ClickHouse/analyzer-integration-tests-master
Add integration tests check with analyzer to master
2023-07-18 16:35:02 +03:00
Alexander Tokmakov
7f2f73f569
Merge branch 'master' into analyzer-integration-tests-master 2023-07-18 16:33:59 +03:00
Val Doroshchuk
79ba798ab5
Merge branch 'master' into parse-ddl 2023-07-18 15:19:13 +02:00
Antonio Andelic
681bf10c93 Check nullptr in fuzzer 2023-07-18 13:06:02 +00:00
alesapin
66531965f9
Merge pull request #52218 from ClickHouse/avoid_zero_copy
Use one copy replication more agressively
2023-07-18 14:46:52 +02:00
alesapin
f3f62097e5
Merge branch 'master' into fix_sticky_mutations_test 2023-07-18 14:46:24 +02:00
alesapin
5fe90208cf
Merge branch 'master' into fix_flaky_test_lost_part 2023-07-18 14:43:18 +02:00
Ilya Yatsishin
73246b4788
Merge pull request #52056 from ClickHouse/ignore-create-index-query
Allow to ignore CREATE INDEX query for better SQL syntax compatibility
2023-07-18 14:40:38 +02:00
timfursov
5a398f9a93
Update with.md
Added an example
2023-07-18 13:39:53 +01:00
Nikolai Kochetov
58c5e91047
Merge pull request #52152 from amosbird/add_optimize_use_implicit_projections
Disable implicit projections by default
2023-07-18 14:32:04 +02:00
Nikita Mikhaylov
2aa339fb2c
Merge pull request #52227 from ClickHouse/slightly-better-diagnostics-2
Slightly better diagnostics in a test
2023-07-18 14:21:49 +02:00
alesapin
c752acf3fc
Merge branch 'master' into avoid_zero_copy 2023-07-18 14:07:52 +02:00
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
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
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