Commit Graph

104474 Commits

Author SHA1 Message Date
Azat Khuzhin
e7bf2cc959 Add a comment for lack of fsync in MergedBlockOutputStream::finalizePartOnDisk()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-30 22:39:13 +01:00
Azat Khuzhin
9fb6004c92 Add missing fsync for small files (ttl.txt, columns.txt, ...) in mutations
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-30 22:22:39 +01:00
Azat Khuzhin
600027c09c Fix fsync support for HashingWriteBuffer
This includes, but not limited to:
- fetches for ReplicatedMergeTree
- marks file for Compact parts
- primary key

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-30 22:17:15 +01:00
Alexey Milovidov
8f7a84c964 Print fatal messages in Fuzzer 2022-12-30 22:16:30 +01:00
Alexey Milovidov
234193acc9 Print fatal messages in Fuzzer 2022-12-30 22:13:47 +01:00
Alexey Milovidov
f1aad645a6 Fix flaky test 02479_mysql_connect_to_self.sql 2022-12-30 22:00:06 +01:00
alesapin
acad2fac63 Remove database ordinary from stress test 2022-12-30 18:48:25 +01:00
Nikolai Kochetov
f1c125ba89 Update test. 2022-12-30 17:23:09 +00:00
Nikolai Kochetov
e590d02abd Remove obvious comment. 2022-12-30 17:19:38 +00:00
Azat Khuzhin
89c071e291 Build rust modules from the binary directory
Our crates has configuration files:
- config for cargo (see config.toml.in)
- and possibly config for build (build.rs.in)

Previously it uses source directory, and it will overrides files in the
source directory, which will require recompile of crates in case of
multiple builds for one source directory.

To avoid overlaps different builds for one source directory, crate will
be copied from source directory to the binary directory.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-30 18:15:41 +01:00
Nikolai Kochetov
0e209565b4 Add test. 2022-12-30 17:03:02 +00:00
Kruglov Pavel
8479615c48
Merge pull request #44684 from Avogar/avro-bool
Input/ouptut avro bool type as ClickHouse bool type
2022-12-30 17:56:36 +01:00
Nikolai Kochetov
ccb2269641 Apply type convertions for totals and extrems in RemoteQueryExecutor. 2022-12-30 16:55:56 +00:00
Kruglov Pavel
80ef5326d2
Fix tests 2022-12-30 17:54:24 +01:00
Kruglov Pavel
4982d132fb
Merge branch 'master' into validate-types 2022-12-30 17:52:13 +01:00
Kruglov Pavel
8b0a2a3b48
Merge pull request #44224 from Avogar/fix-comp-setting
Fix version parsing from compatibility setting
2022-12-30 17:50:19 +01:00
avogar
2ca3a74b9a Fix style 2022-12-30 16:46:21 +00:00
alesapin
e26991c6e3
Update tests/queries/0_stateless/02448_clone_replica_lost_part.sql 2022-12-30 17:44:18 +01:00
alesapin
1bbbfab64c Fix flaky test 02448_clone_replica_lost_part 2022-12-30 17:40:42 +01:00
avogar
a74ffa70bc Don't use async producing in Kafka 2022-12-30 16:40:04 +00:00
Dan Roscigno
7c03222800
Merge pull request #44740 from ClickHouse/alexey-milovidov-patch-5
Update type-conversion-functions.md
2022-12-30 11:38:41 -05:00
Dan Roscigno
bc456feb4b
Merge pull request #44708 from Avogar/schema-inference-docs
Add detailed documentation about schema inference
2022-12-30 11:19:09 -05:00
DanRoscigno
ec5314ff84 full path for links, split sql from response 2022-12-30 11:17:43 -05:00
Nikolai Kochetov
72f071b2b9 Do not throw exceptions in ~TraceCollector. 2022-12-30 16:13:02 +00:00
Han Fei
454f40ab17 fix test 2022-12-30 16:30:33 +01:00
DanRoscigno
f6c94d8645 remove table of contents 2022-12-30 10:19:09 -05:00
DanRoscigno
0df0fe2cf0 edits 2022-12-30 09:55:03 -05:00
Kruglov Pavel
5bdbee4e56
Edit URL->HDFS 2022-12-30 15:52:38 +01:00
Kruglov Pavel
0844fe7089
Merge pull request #44493 from xiedeyantu/s3_optimize
If user only need virtual columns, we don't need to initialize ReadBufferFromS3
2022-12-30 15:44:20 +01:00
DanRoscigno
925ce4b96c edits 2022-12-30 09:21:12 -05:00
alesapin
4948a8c17b
Remove disk restart proxy and disk decorator (#44647)
* Remove disk restart proxy and disk decorator
* Automatic style fix
* Returned some trash back
* Fix build again
* Fix failing test

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2022-12-30 14:47:30 +01:00
alesapin
178417d1ef
Merge pull request #44725 from ClickHouse/fix_some_tests
Slightly better some tests
2022-12-30 14:31:16 +01:00
Alexey Milovidov
5ca6b317b0
Update type-conversion-functions.md 2022-12-30 15:57:39 +03:00
Alexander Gololobov
d12f5cb119
Merge pull request #44705 from ClickHouse/fix_crash_on_delete
Fix crash on delete from materialized view
2022-12-30 12:57:21 +01:00
Raúl Marín
91dea53dbe Perf test: Log the time spent waiting for file sync 2022-12-30 12:03:43 +01:00
Alexey Milovidov
13b76ad760
Merge pull request #44719 from ClickHouse/fix_attach_thread_deadlock
Fix deadlock in attach thread
2022-12-30 13:56:18 +03:00
Alexey Milovidov
3dc41bb534
Merge pull request #44726 from ClickHouse/fix-clickhouse-test
Fix cases when clickhouse-server takes long time to start in functional tests with MSan
2022-12-30 13:54:39 +03:00
SmitaRKulkarni
f9a3aeb172
Merge branch 'master' into 40951_Allow_macro_substitution_in_endpoint 2022-12-30 10:43:14 +01:00
DanRoscigno
0902db3fe0 edits 2022-12-29 22:34:25 -05:00
DanRoscigno
2cc0ca3a29 full paths, add users_file_dir 2022-12-29 21:53:42 -05:00
Nikolay Degterinsky
dfe93b5d82
Merge pull request #42284 from Algunenano/perf_experiment
Performance experiment
2022-12-30 03:14:22 +01:00
Nikolay Degterinsky
e7df1f7113
Merge pull request #43293 from YunlongChen/patch-1
Update index.md
2022-12-30 03:06:51 +01:00
Alexander Gololobov
fc877380f2
Update clickhouse-test 2022-12-30 00:42:03 +01:00
stan
01a1da9c43
Merge branch 'master' into patch-1 2022-12-30 07:29:46 +08:00
Alexey Milovidov
763a875b24
Merge pull request #44648 from ClickHouse/vdimir/issue-44644
Apply aggregate_functions_null_for_empty in QueryAnalysisPass
2022-12-30 01:52:49 +03:00
Alexey Milovidov
7e33579ba0
Merge pull request #44724 from ClickHouse/fix-flaky-test-02102_row_binary_with_names_and_types
Fix flaky test "02102_row_binary_with_names_and_types.sh"
2022-12-30 01:45:26 +03:00
Alexey Milovidov
e54bf36a3e
Merge pull request #44722 from ClickHouse/rename_file
Rename log in stress test
2022-12-30 01:44:48 +03:00
Alexey Milovidov
a99251d6f2
Merge pull request #44721 from ClickHouse/fix-flaky-test-4
Fix flaky test
2022-12-30 01:44:25 +03:00
Alexey Milovidov
f84064d05a
Merge pull request #44720 from ClickHouse/improve-fuzzer
A few improvements to AST Fuzzer
2022-12-30 01:43:55 +03:00
Alexey Milovidov
2872f0dcaf
Merge pull request #44723 from ClickHouse/better-stress-test
Debug deadlock in stress test
2022-12-30 01:43:32 +03:00