Commit Graph

114332 Commits

Author SHA1 Message Date
Alexey Milovidov
6b6504e5bd
Merge pull request #49582 from Merle-Zhang/patch-1
Fix missing backticks for inline code in architecture.md
2023-05-06 18:10:28 +03:00
Alexey Milovidov
74cbb59531
Merge pull request #49580 from ClickHouse/deprecate-live-view
Avoid error found by AST Fuzzer
2023-05-06 18:08:32 +03:00
Alexey Milovidov
301500ba1d
Merge pull request #49592 from ClickHouse/CheSema-patch-1
Flaky test 02723_zookeeper_name.sql
2023-05-06 18:07:27 +03:00
Alexey Milovidov
727662fa82
Merge branch 'master' into CheSema-patch-1 2023-05-06 18:07:18 +03:00
Alexey Milovidov
f0d0711bbb
Merge pull request #49594 from ClickHouse/rs/02723_deterministic
02723_zookeeper_name: Force a deterministic result order
2023-05-06 18:06:58 +03:00
Alexey Milovidov
0feb904b02
Merge branch 'master' into rs/02723_deterministic 2023-05-06 18:06:44 +03:00
Alexey Milovidov
c563d28ce3
Merge pull request #49578 from ClickHouse/fix-bad-test-3
Fix bad test
2023-05-06 18:06:16 +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
d353cdcb09
02723_zookeeper_name: Force a deterministic result order 2023-05-06 14:48:17 +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
merlllle
d6448b749e
Fix missing backticks for inline code in architecture.md 2023-05-06 02:17:19 +01: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
510e63c094 Fix bad test 2023-05-06 00:00:06 +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
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
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
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
Robert Schulze
945a5130cf
Simplify simplify simplify 2023-05-05 16:28:51 +00:00
Alexey Milovidov
3a33f0eefb
Merge pull request #49531 from ClickHouse/remove-garbage-hdfs
Remove garbage from HDFS
2023-05-05 17:47:23 +03: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
Han Fei
9c19bd8179
Merge branch 'master' into patch-1 2023-05-05 14:41:40 +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
30464b9397
Merge pull request #49464 from kssenii/allow-to-get-current-az
Add method `getCurrentAvailabilityZone` to `AWSEC2MetadataClient`
2023-05-05 13:57:34 +02: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
xmy
2bcd1e5847 fix 2023-05-05 19:22:19 +08: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