robot-clickhouse-ci-1
d1ad3ea24e
Merge pull request #49593 from ClickHouse/rs/qc-empty-chunk
...
Query Cache: Safeguard against empty chunks
2023-05-07 02:20:54 +02:00
Sema Checherinda
2104baabce
Merge pull request #49527 from ClickHouse/thread-detach-fix
...
Fix thread MemoryTracker parent after detach
2023-05-06 19:11:55 +02:00
Sema Checherinda
eef1d51d4c
Merge pull request #49561 from ClickHouse/fix-snapshot-removal
...
Fix memory counting in TCPHandler
2023-05-06 19:00:00 +02:00
Alexey Milovidov
54163b87ec
Merge pull request #47977 from ClickHouse/rs/non-experimental-qc
...
Mark query cache as non-experimental
2023-05-06 19:49:23 +03:00
Alexey Milovidov
62d8677773
Update QueryCache.cpp
2023-05-06 18:25:43 +03:00
Alexey Milovidov
9efbe86110
Merge pull request #49563 from evillique/object-column-alter
...
Forbid the change of data type of Object('json') column
2023-05-06 18:17:16 +03:00
Alexey Milovidov
2d39acf2e1
Merge pull request #49554 from kssenii/fix-assertions-3
...
Fix stress test (assertion 'key_metadata.lock()')
2023-05-06 18:16:40 +03:00
Alexey Milovidov
26d435bd66
Merge pull request #49572 from CurtizJ/fix-thread-pool-wait
...
Fix `ThreadPool::wait`
2023-05-06 18:15:02 +03:00
Alexey Milovidov
682f3c7bf2
Merge pull request #49564 from ClibMouse/bugfix/fiber-crash
...
Add CMake option for BOOST_USE_UCONTEXT
2023-05-06 18:13:22 +03:00
Alexey Milovidov
d86bda3054
Merge pull request #49581 from ClickHouse/fix-fuzz-nothing
...
Fix wrong assert
2023-05-06 18:05:40 +03:00
Robert Schulze
883e0abea1
Query Cache: Safeguard against empty chunks
...
Reading from the query cache is implemented using processor
"SourceFromChunks" which inherits from ISource. The latter has logic
which finishes processing (= calls .finish() on the output port +
returns Status::Finished) when the derived class returns an empty chunk.
If this empty chunk is not the last chunk, i.e. if it is followed by
non-empty chunks, the query result will be incorrect. This situation
should theoretically never occur in practice but who knows ... To be on
the safe side, writing into the query cache now rejects empty chunks and
thereby avoids this scenario.
2023-05-06 14:22:23 +00:00
Robert Schulze
0598bfd79e
Mark query cache as non-experimental
2023-05-06 13:58:40 +00:00
Robert Schulze
983e37048c
Merge pull request #48853 from ClickHouse/rs/qc-totals-extremes2
...
QueryCache: Support queries with totals and extremes
2023-05-06 15:41:10 +02:00
Robert Schulze
7137c8811a
Merge pull request #49158 from ClickHouse/rs/show-indexes
...
Implement SHOW INDEX
2023-05-06 15:30:29 +02:00
Robert Schulze
a1c98303a7
Merge pull request #49558 from ClickHouse/rs/writeAnyEscapedString
...
Fix writeAnyEscapedString if quote_character is a meta character
2023-05-06 15:29:32 +02:00
Robert Schulze
39bd320e37
Merge pull request #49573 from ClickHouse/rs/qc-no-internal-queries
...
Query cache: disable for internal queries
2023-05-06 15:27:44 +02:00
Igor Nikonov
c23600fb56
Merge pull request #49536 from ClickHouse/propa
...
Make input_format_parquet_preserve_order imply !parallelize_output_from_storages
2023-05-06 14:53:36 +02:00
Alexey Milovidov
e9912e2f7e
Fix wrong assert
2023-05-06 02:19:58 +02:00
Han Fei
d2bd0bcd59
Merge branch 'master' into patch-1
2023-05-05 23:39:08 +02:00
Robert Schulze
3dfc0bd265
Merge pull request #49413 from azat/build/headers
...
Slightly reduce inter-header dependencies
2023-05-05 23:37:58 +02:00
Alexey Milovidov
4b52da173b
Merge pull request #49111 from ClickHouse/safer-cut-and-concat
...
Refactor ColumnLowCardinality::cutAndCompact
2023-05-05 23:52:00 +03:00
Alexey Milovidov
79ad150454
Merge pull request #49323 from ClickHouse/low-cardinality-fix-progress
...
Fix progress bar for LowCardinality fields with shared dictionaries
2023-05-05 23:34:27 +03:00
Alexey Milovidov
965956ad55
Merge pull request #47815 from jkaflik/add-gcs-table-function
...
Add Google Cloud Storage S3 compatible table function
2023-05-05 23:18:58 +03:00
Robert Schulze
b2f0108150
Merge pull request #49292 from exmy/allow_int_type_for_bit_agg
...
Allow Int arguments for aggregation function groupBitAnd/Or/Xor
2023-05-05 21:23:13 +02:00
Robert Schulze
9cd81400f3
Query cache: disable for internal queries
2023-05-05 19:22:14 +00:00
Ilya Yatsishin
df8c563371
Merge pull request #49538 from ClickHouse/no-prctl-is-ok
...
Allow to run in Linux without PRCTL support
2023-05-05 21:19:38 +02:00
Anton Popov
223adc1725
fix ThreadPool::wait
2023-05-05 19:14:45 +00:00
Nikolay Degterinsky
d29193da51
Also prohibit complex types with Object('json')
2023-05-05 18:45:00 +00:00
Dmitry Novik
2536dfad3a
Fix build
2023-05-05 18:21:25 +00:00
Robert Schulze
bba85c9c25
Improve docs
2023-05-05 18:11:33 +00:00
Azat Khuzhin
157da5b8cb
Optimize PODArray::resize_fill() callers ( #49459 )
...
* Use PODArray::resize_fill() without initialize whenever it is possible
resize_fill() with initializer uses std::fill() which is a loop over all
elements, while resize_fill() without argument uses memset().
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Optimize ColumnFixedString::insert/insertFrom
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
---------
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-05 20:01:20 +02:00
Michael Kolupaev
396157dcad
Allow reordering by default when reading from file/s3/url
2023-05-05 10:55:45 -07:00
ltrk2
20cd799e51
Add CMake option for BOOST_USE_UCONTEXT
2023-05-05 16:29:21 +00:00
Robert Schulze
945a5130cf
Simplify simplify simplify
2023-05-05 16:28:51 +00:00
Nikolay Degterinsky
f361d96f21
Forbid the change of data type of Object('json') column
2023-05-05 15:51:17 +00:00
Dmitry Novik
951bef4fd2
Fixmemory counting in TCPHandler
2023-05-05 15:10:50 +00:00
Robert Schulze
aba5db40a1
Merge remote-tracking branch 'origin/master' into rs/qc-totals-extremes2
2023-05-05 14:11:10 +00:00
Nikolay Degterinsky
9934eae315
Merge pull request #48983 from evillique/mongodb-array-type
...
Add `Array` data type to MongoDB
2023-05-05 16:02:07 +02:00
Robert Schulze
f7e31a9664
More protection against SQL injection
2023-05-05 13:58:08 +00:00
Nikolay Degterinsky
7a727bbbe3
Merge pull request #49520 from IvanTakarlikov-st/it-grammar-fixes
...
Fix some grammar mistakes in documentation, code and tests
2023-05-05 15:45:58 +02:00
kssenii
6bc302959b
Better
2023-05-05 14:55:52 +02:00
Han Fei
9c19bd8179
Merge branch 'master' into patch-1
2023-05-05 14:41:40 +02:00
kssenii
1050754432
Fix
2023-05-05 14:41:35 +02:00
Robert Schulze
d35ff02b8b
Fix writeAnyEscapedString if quote_character is a meta character
...
Function writeAnyEscapedString() escapes
- quote_character with itself or with a backslash, depending on template
parameter escape_quote_with_quote
- some metacharacters with backslash.
If quote_character is a metacharacter, the code previously always quoted
with backslash, independently of escape_quote_with_quote. I didn't find
places which do this but better be on the safe side.
2023-05-05 12:40:48 +00:00
Kseniia Sumarokova
478542c6d7
Update ErrorCodes.cpp
2023-05-05 13:56:10 +02:00
Kseniia Sumarokova
221796e053
Merge branch 'master' into allow-to-get-current-az
2023-05-05 13:55:14 +02:00
wangxiaobo
f704c0dfec
Implement SYSTEM DROP REPLICA from auxillary ZooKeeper clusters ( #48932 )
...
* multiple zookeeper drop replica bug fix.
* add an integration test.
* format code.
* set stay_alive=True for test.
* style check bug fix.
* add check for is_active
* format code
* remove table_settings and has_metadata_out param.
2023-05-05 14:11:11 +03:00
Kseniia Sumarokova
7c203dbcd2
Merge pull request #49481 from snikch/master
...
Fix postgres database setting
2023-05-05 12:53:51 +02:00
Kuba Kaflik
8a6084abd4
Fix syntax error for TableFunctionS3
2023-05-05 12:41:30 +02:00
Anton Popov
c87a6e8e7d
Merge pull request #49117 from CurtizJ/limit-mutations
...
Add settings to delay or throw in case of too many mutations
2023-05-05 12:18:57 +02:00