Commit Graph

115187 Commits

Author SHA1 Message Date
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
4529511799
Fix table function docs 2023-05-06 15:01:24 +00:00
Robert Schulze
d353cdcb09
02723_zookeeper_name: Force a deterministic result order 2023-05-06 14:48:17 +00: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
Sema Checherinda
24c468edd0
Update 02723_zookeeper_name.sql 2023-05-06 14:31:04 +02:00
Sema Checherinda
8f5afffaa0 Outdated parts has to be unlocked in general case 2023-05-06 14:23:57 +02:00
pufit
e1fa147e51 docs 2023-05-05 22:57:48 -04:00
pufit
04a829b554 Fix PR issues 2023-05-05 22:41:44 -04:00
jasperzhu
6b9df33ca1
Merge branch 'master' into iaadeflate_isal_issuefix 2023-05-06 10:32:58 +08:00
jinjunzh
576fbb9c25 fixed symbol conflict between contrib/isal and isal in qpl 2023-05-06 10:38:11 -04:00
merlllle
d6448b749e
Fix missing backticks for inline code in architecture.md 2023-05-06 02:17:19 +01:00
Sema Checherinda
f302c1986a use flag has_exclusive_blobs to track the part's originate 2023-05-06 03:07:29 +02:00
Alexey Milovidov
e9912e2f7e Fix wrong assert 2023-05-06 02:19:58 +02:00
Alexey Milovidov
e43d353fba Fix wrong assert 2023-05-06 02:19:47 +02:00
Alexey Milovidov
846f2d57af Fix error found by AST Fuzzer 2023-05-06 00:55:56 +02:00
Michael Kolupaev
ddb99279f7 Test for input_format_parquet_preserve_order 2023-05-05 22:09:09 +00:00
Alexey Milovidov
be2834da58 Remove obsolete test about deprecated feature 2023-05-06 00:02:45 +02:00
Alexey Milovidov
510e63c094 Fix bad test 2023-05-06 00:00:06 +02:00
Alexey Milovidov
75a2589a42
Merge branch 'master' into deprecate-in-memory-parts 2023-05-06 00:49:59 +03:00
Alexey Milovidov
e4d122323f Add a new test 2023-05-05 23:43:22 +02:00
Han Fei
3f0c3602bf
Merge pull request #49545 from bgaifullin/patch-1
Remove extra semicolons
2023-05-05 23:40:50 +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
Robert Schulze
45c28e1221
Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
Alexey Milovidov
290bf0ae58 Remove a test for in-memory parts 2023-05-05 23:29:48 +02:00
robot-clickhouse
53afdd51ea Automatic style fix 2023-05-05 21:27:03 +00:00
Alexey Milovidov
8a548170f8 Remove obsolete test 2023-05-05 23:25:47 +02:00
Alexey Milovidov
a8c410c21a Merge branch 'master' into optimize-query-log 2023-05-05 23:21:01 +02:00
Alexey Milovidov
ed6e1a7289 Update tests 2023-05-05 23:14:25 +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
9436aef893 Remove test_merge_tree_s3_restore 2023-05-05 22:44:07 +02: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
Alexander Tokmakov
846abe95e9 fix 2023-05-05 20:50:13 +02:00
Nikolay Degterinsky
d29193da51 Also prohibit complex types with Object('json') 2023-05-05 18:45:00 +00:00
Alexey Milovidov
52c99f5482
Merge pull request #49505 from myrrc/improvement/play-plaintext-password
Allow passing password in URL for play.html
2023-05-05 21:36:34 +03:00
Alexey Milovidov
5e2221bc5d
Update play.html 2023-05-05 21:36:10 +03: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