Commit Graph

92657 Commits

Author SHA1 Message Date
Smita Kulkarni
8b523bec16 Addressed review comments
- Updated destructor of ForkWriteBuffer to clear buffer
2022-07-18 22:12:26 +02:00
Smita Kulkarni
e165e68386 Addressed review comment
- updated creating ForkWriteBuffer in ClientBase to avoid duplication
2022-07-18 18:12:13 +02:00
Smita Kulkarni
228b9e7ec4 Addressed review comments
- Updated exception message in ForkWriteBuffer
- Added test case to tests/queries/0_stateless/02346_into_outfile_and_stdout.sh for calling nextImpl more than once
2022-07-17 20:09:18 +02:00
Smita Kulkarni
6318927fba addressed review comment: ForkWriteBuffer for loop 2022-07-15 18:37:50 +02:00
Smita Kulkarni
d7fc7a4290 Addressed review comments
- Removed first_buffer, finalizeImpl and logic to different buffer size from ForkWriteBuffer
2022-07-15 16:08:53 +02:00
Smita Kulkarni
5a8d6ba0fc clang tidy feedback addressed: updated src/IO/ForkWriteBuffer.cpp to use const reference 2022-07-15 09:06:25 +02:00
Smita Kulkarni
1dc2187f9c Addressed review comments
Implementation:
- Added a new buffer ForkWriteBuffer takes a vector of WriteBuffer and writes data to all of them. It uses the buffer of the first element as its buffer and copies data from first buffer to all the other buffers
Testing:
- Updated tests/queries/0_stateless/02346_into_outfile_and_stdout.sh
Documentation:
- Updated the english documentation for SELECT.. INTO OUTFILE with AND STDOUT.
2022-07-14 22:47:38 +02:00
Smita Kulkarni
d55d190b99 added execute permission on the 02346_into_outfile_and_stdout.sh test file 2022-07-09 14:53:53 +02:00
Smita Kulkarni
c7967fb721 Add an option to INTO OUTFILE to also print details to standard output.
Implementation:
- Added a bool to ASTQueryWithOutput & patched the usage in ClientBase.
- Added a new buffer TeeWriteBuffer which extends from WriteBufferFromFile (used to write data to the file) and has WriteBufferFromFileDescriptor (used to write data to stdout). The WriteBufferFromFileDescriptor uses the same buffer as TeeWriteBuffer.
- Added a new bool select_into_outfile_and_stdout in ClientBase to enable/disable progress rendering.

Testing:
 - Added a test tests/queries/0_stateless/02346_into_outfile_and_stdout.sh

Documentation:
- Updated the english documentation for the new option in SELECT.
2022-07-09 10:12:46 +02:00
Alexey Milovidov
97eb121714
Merge pull request #39040 from tylerhannan/ScaleFlux_CSD_3000
add ScaleFlux CSD3000 Benchmark
2022-07-09 08:21:20 +03:00
Alexey Milovidov
a7d510745b
Merge pull request #38754 from azat/tests-aggregate_state_exception_memory_leak-fix
tests: make aggregate_state_exception_memory_leak deterministic
2022-07-09 08:20:25 +03:00
Alexey Milovidov
95d864b966
Update 85_bug-report.md 2022-07-09 07:26:37 +03:00
Alexey Milovidov
6995bc11f3
Merge pull request #39002 from pkit/patch-1
fix wrong OSX building instructions
2022-07-09 01:02:33 +03:00
Alexey Milovidov
3cff25fb4f
Merge pull request #39025 from ClickHouse/qoega-patch-2
Update url.md
2022-07-09 01:00:42 +03:00
Vladimir C
06ce3e0b2e
Merge pull request #39014 from vdimir/fsj-fix
Fix assertion in full soring merge join
2022-07-08 21:47:22 +02:00
Tyler Hannan
9187ac1cf6
Merge branch 'master' into ScaleFlux_CSD_3000 2022-07-08 21:35:13 +02:00
Tyler Hannan
c365229645 add ScaleFlux CSD3000 Benchmark 2022-07-08 21:27:20 +02:00
Alexander Tokmakov
7fd37d5c54
Merge pull request #39019 from ClickHouse/tavplubix-patch-3
Fix flaky 00620_optimize_on_nonleader_replica_zookeeper
2022-07-08 17:38:59 +03:00
Alexander Tokmakov
de87ac3bf9
Merge pull request #39013 from ClickHouse/tavplubix-patch-2
Fix flaky `test_system_merges/test.py::test_mutation_simple`
2022-07-08 17:37:49 +03:00
Nikita Mikhaylov
a44157d81d
Allow globs in keys for clickhouse-extract-from-config tool (#38966) 2022-07-08 16:13:32 +02:00
Ilya Yatsishin
54cd5fce29
Update url.md 2022-07-08 15:56:21 +02:00
Alexander Tokmakov
0b960e9a95
Merge pull request #39024 from ClickHouse/tavplubix-patch-4
Suppress #38643
2022-07-08 16:49:00 +03:00
Alexander Tokmakov
2b886ddc2e
Update run.sh 2022-07-08 16:47:54 +03:00
Alexander Tokmakov
9e9abaf3e7
Update 00620_optimize_on_nonleader_replica_zookeeper.sql 2022-07-08 15:47:59 +03:00
Alexander Tokmakov
435a109242
Merge pull request #38999 from azat/tests-improve-zk-path-check
tests: unique ZooKeeper path for Replicated.*MergeTree tables
2022-07-08 15:47:44 +03:00
vdimir
da523f3288
Fix assertion in full soring merge join 2022-07-08 11:31:15 +00:00
Mikhail f. Shiryaev
072c4929b9
Merge pull request #39011 from ClickHouse/backport-release-docker-server
Add docker_server.py running to backport and release CIs
2022-07-08 13:29:47 +02:00
Alexander Tokmakov
dbc638a49d
Update test.py 2022-07-08 14:23:33 +03:00
Mikhail f. Shiryaev
570f1aac45
Add docker_server.py running to backport and release CIs 2022-07-08 13:22:27 +02:00
Vitaly Baranov
3af50b35ae
Merge pull request #38949 from vitlibar/careful-destructor-in-backupimpl
More careful destructor in BackupImpl
2022-07-08 13:11:13 +02:00
Alexander Tokmakov
8a29dfa4bf
Merge pull request #39009 from ClickHouse/tavplubix-patch-2
Try another suppression for #38629
2022-07-08 13:54:41 +03:00
Alexander Tokmakov
57b8a6a542
Update run.sh 2022-07-08 13:53:35 +03:00
Azat Khuzhin
b62b0b32d4 tests: use unique ZooKeeper path for Replicated tables
v2: get back no-parallel to avoid leftover message
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-08 13:50:18 +03:00
Azat Khuzhin
53d019a94b check-style: improve ZooKeeper path check for Replicated.*MergeTree tables
- detech all Replicated.*MergeTree tables
- allow default_path_test/uuid in zookeeper path
- improve pattern for filtering tests

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-08 13:19:24 +03:00
Constantine Peresypkin
a4e3fac863
fix wrong OSX building instructions
It was a mess of `clang-13` and `clang-14` or `aarch64` and `x86_64`
2022-07-08 11:54:00 +02:00
Alexander Tokmakov
1cf01bb959
Merge pull request #39001 from ClickHouse/revert-38675-index-fix-1
Revert "Fix toHour() monotonicity which can lead to incorrect query result (incorrect index analysis)"
2022-07-08 12:51:56 +03:00
Alexander Tokmakov
d4784203b7
Revert "Fix toHour() monotonicity which can lead to incorrect query result (incorrect index analysis)" 2022-07-08 12:51:30 +03:00
Alexey Milovidov
af1136c990
Merge pull request #38744 from ClickHouse/ci-required-simple-checks
Add SimpleCheck
2022-07-08 11:17:38 +03:00
Alexey Milovidov
bd97233a4f
Merge pull request #38977 from ClickHouse/disable_instrumentation_of_death_callback
Disable instrumentation of sanitizer death callback
2022-07-08 11:04:37 +03:00
Alexey Milovidov
3e648acb3b
Merge pull request #38739 from den-crane/patch-19
Doc. WF more examples
2022-07-08 11:03:56 +03:00
Robert Schulze
524f39551c
Merge pull request #38485 from ClickHouse/multi-match-with-non_const-patterns
Multi match with non const patterns
2022-07-08 09:29:10 +02:00
Alexey Milovidov
551b0e62ca
Update build-cross-arm.md 2022-07-08 00:41:45 +03:00
Alexey Milovidov
89fdcbf08c
Merge pull request #38675 from amosbird/index-fix-1
Fix toHour() monotonicity which can lead to incorrect query result (incorrect index analysis)
2022-07-08 00:32:27 +03:00
Alexey Milovidov
390036b930
Merge pull request #38894 from ClickHouse/auto/v22.6.3.35-stable
Update version_date.tsv and changelogs after v22.6.3.35-stable
2022-07-08 00:31:18 +03:00
Alexey Milovidov
85cb151fcb
Merge pull request #38971 from Avogar/remove-bc-check-tag
Remove tag no-backward-compatibility-check for specific versions
2022-07-08 00:29:34 +03:00
Alexey Milovidov
0eb270e394
Merge pull request #38982 from tylerhannan/Huawei_TaiShan
add Huawei TaiShan 920 Benchmark
2022-07-08 00:27:18 +03:00
Alexey Milovidov
83e85f97e8
Merge branch 'master' into Huawei_TaiShan 2022-07-08 00:26:45 +03:00
Alexey Milovidov
5200ccd0f5
Merge pull request #38969 from ClickHouse/auto/v22.3.8.39-lts
Update version_date.tsv after v22.3.8.39-lts
2022-07-08 00:26:17 +03:00
Alexey Milovidov
7593560dd0
Merge pull request #38975 from ClickHouse/auto/v22.4.6.53-stable
Update version_date.tsv after v22.4.6.53-stable
2022-07-08 00:25:52 +03:00
Alexey Milovidov
dd4be4b7d7
Merge pull request #38981 from tylerhannan/macbbok_pro_core_i7_2014
add macbook pro core i7 2014 benchmark
2022-07-08 00:25:32 +03:00