Jiebin Sun
b3f3a0c75c
Rewrite the AST of sum(column + literal) function
...
Rewrite the following AST of `sum(column + literal)`
sum(column + literal) -> sum(column) + literal * count(column)
sum(literal + column) -> sum(column) + literal * count(column)
Test the patch on 2 x 80 vCPUs system, Q29 of ClickBench has got a huge
11.5x performance improvement.
Signed-off-by: Jiebin Sun <jiebin.sun@intel.com>
2023-12-15 01:28:47 +08:00
Antonio Andelic
61b112e2c4
Merge pull request #57268 from ClickHouse/ignore-memory-exception-asio
...
Ignore memory exception in Keeper asio workers
2023-11-29 08:33:00 +01:00
Antonio Andelic
f8811351fa
Merge pull request #57267 from ClickHouse/fix-readonly-replica
...
Fix `ReadonlyReplica` metric for all cases
2023-11-29 08:32:25 +01:00
Antonio Andelic
93360e4e2c
Merge pull request #57299 from ClickHouse/keeper-changelog-snapshot-fix
...
Keeper fix for changelog and snapshots
2023-11-29 08:31:48 +01:00
Alexander Tokmakov
3ff7aa8dec
Merge pull request #57231 from jsc0218/FixLibpqxxMemLeak
...
Update Libpqxx for Mem Leak
2023-11-28 22:50:30 +01:00
Robert Schulze
5f5e8633c7
Merge pull request #57220 from ucasfl/alias_column_in_indices
...
Support use alias column in indices
2023-11-28 21:31:34 +01:00
Julia Kartseva
d405560f13
Merge pull request #57329 from den-crane/revert-57319-patch-1
...
Revert "Update date-time-functions.md"
2023-11-28 12:21:12 -08:00
Denny Crane
e33efaff9f
Revert "Update date-time-functions.md"
2023-11-28 15:56:51 -04:00
Julia Kartseva
fc53daa50c
Merge pull request #57325 from ClickHouse/tylerhannan-patch-1
...
Update README.md
2023-11-28 11:52:11 -08:00
Julia Kartseva
3f26b730fe
Merge pull request #57319 from abakhmetev/patch-1
...
Update date-time-functions.md
2023-11-28 11:26:00 -08:00
Tyler Hannan
1cb5dcd849
Update README.md
2023-11-28 17:56:53 +01:00
Raúl Marín
1075f8352d
Merge pull request #57307 from Algunenano/analyzer_debt
...
Add back flaky tests to analyzer_tech_debt.txt
2023-11-28 17:13:36 +01:00
Antonio Andelic
852b4d42b6
Update src/Coordination/KeeperServer.cpp
2023-11-28 16:00:06 +01:00
Antonio Andelic
d10aeef23e
Add comment
2023-11-28 15:32:20 +01:00
abakhmetev
23e81d8234
Update date-time-functions.md
...
month as an integer number (01-12) == %m, and not %c
2023-11-28 17:26:42 +03:00
Alexander Tokmakov
e40c71a74c
Merge pull request #56533 from ClickHouse/rmt_check_shutdown_flags_in_retry_loops
...
ReplicatedMergeTree: check shutdown flags in retry loops
2023-11-28 15:24:40 +01:00
János Benjamin Antal
4c2451f837
Merge pull request #56741 from ClickHouse/well-known-protos
2023-11-28 15:21:15 +01:00
Antonio Andelic
084ab75aa2
Merge pull request #57312 from ClickHouse/lower-level-annoying-log
...
Lower level for annoying S3 log
2023-11-28 15:05:15 +01:00
Kruglov Pavel
06b9f8129f
Merge pull request #57298 from nellicus/patch-2
...
replace incorrect field name in coalesce example
2023-11-28 14:59:01 +01:00
robot-ch-test-poll1
1cadec4e5c
Merge pull request #57302 from ClickHouse/cherry-pick-description
...
Follow up recommendations from #57167
2023-11-28 14:26:19 +01:00
Antonio Andelic
6e8e4a6ca5
Lower level for annoying log
2023-11-28 12:41:35 +00:00
Antonio Andelic
636ac3f349
Fix assert
2023-11-28 12:07:05 +00:00
Raúl Marín
335e7bf7ef
Merge pull request #57183 from bigo-sg/opt_array_join
...
Trivial improvement on array join
2023-11-28 12:21:00 +01:00
Mikhail f. Shiryaev
59cf90876c
Changes after a review
2023-11-28 12:19:27 +01:00
Raúl Marín
617a39399c
Add back flaky tests to analyzer_tech_debt.txt
2023-11-28 11:13:57 +00:00
Raúl Marín
fe1bbf9726
Merge pull request #57258 from Algunenano/cleanup_interval
...
Remove addBatchSinglePlaceFromInterval
2023-11-28 12:02:12 +01:00
Mikhail f. Shiryaev
4aac18d651
Add another header for the wrong conflicts resolution
2023-11-28 12:01:33 +01:00
Mikhail f. Shiryaev
8c4592f5c2
Follow up recommendations from #57167
2023-11-28 11:51:06 +01:00
Antonio Andelic
9dd4783675
Merge branch 'master' into fix-readonly-replica
2023-11-28 10:43:29 +00:00
Antonio Andelic
a61f32867e
Merge pull request #56488 from lingtaolf/feature/getHTTPHeader
...
add function getClientHTTPHeader
2023-11-28 11:41:56 +01:00
Robert Schulze
d459fa1fc6
Merge remote-tracking branch 'ClickHouse/master' into alias_column_in_indices
2023-11-28 10:15:25 +00:00
vdimir
ae09d04578
Merge pull request #57154 from ClickHouse/vdimir/params_test_check_table
...
Minor changes in test_check_table
2023-11-28 11:10:26 +01:00
Robert Schulze
1448276bae
Merge pull request #55872 from azat/hour-no-leading-zero
...
Add ability to parse hours/months without leading zeros
2023-11-28 11:07:00 +01:00
robot-ch-test-poll3
e24b9e5ca2
Merge pull request #57276 from phallstrom/patch-1
...
Update URL to related content about LowCardinality
2023-11-28 10:59:14 +01:00
Antonio Andelic
889c53eca0
Correctly handle unknown changelog versions and snapshot deleting
2023-11-28 09:47:49 +00:00
Antonio Bonuccelli
612c6be204
replace incorrect field name in coalesce example
...
field in the example should be `telegram` (not `icq`)
2023-11-28 10:20:02 +01:00
Julia Kartseva
57a4492275
Merge pull request #56490 from jkartseva/fuzz_json
...
Fuzz JSON table function
2023-11-27 21:47:53 -08:00
Ubuntu
a85cf758b0
Fuzz JSON table function
...
Create a table function `fuzzJSON`
An example query:
```
CREATE NAMED COLLECTION json_fuzzer AS json_str={};
SELECT *
FROM fuzzJSON(json_fuzzer, json_str = '{"students" : ["Alice", "Bob"]}', random_seed = 666, max_output_length = 128, probability = 0.9)
LIMIT 3
Query id: 7f802052-efb0-41b4-87fa-03b7dd290e9d
┌─json──────────────────────────────────────────────────────────────────────────────────┐
│ {"ade0yX":[9200406572736542991, true, "sm"]} │
│ {"students":["Alice", "eSN3WO#a6NYTBe0$#OWwyIQ"], "cVoP2BuQugQ":17384271928263249403} │
│ {"students":["Alice", "Bob", "T+-k4+PJGkL%XRRaF2BoeN@&A"]} │
└───────────────────────────────────────────────────────────────────────────────────────┘
```
Next step:
* Generate invalid string
Fixes #35962
add Object('json')
use named collection
2023-11-28 01:58:24 +00:00
Nikolay Degterinsky
eb6fba9f65
Merge pull request #57147 from evillique/fix-segfault-nullable-materialized-update
...
Fix segfault after ALTER UPDATE with Nullable MATERIALIZED column
2023-11-28 00:36:52 +01:00
Philip Hallstrom
6d7f160bcc
Update URL to related content about LowCardinality
2023-11-27 15:05:59 -08:00
Raúl Marín
a3ceafbbed
Fix embarrasing bug number 2
2023-11-27 23:12:17 +01:00
Raúl Marín
0754ee4901
Fix embarrasing bug number 1
2023-11-27 23:12:17 +01:00
Raúl Marín
80cc1b3a17
Remove addBatchSinglePlaceFromInterval
2023-11-27 23:12:17 +01:00
Antonio Andelic
544f6081eb
Merge pull request #57259 from ClickHouse/ignore-column-comments
...
Ignore comments when comparing column descriptions
2023-11-27 20:43:39 +01:00
Raúl Marín
9bd54be6e0
Merge pull request #57190 from Algunenano/remove_optimize_move_functions_out_of_any
...
Remove optimize_move_functions_out_of_any optimization
2023-11-27 19:31:38 +01:00
Antonio Andelic
1242834256
Merge branch 'master' into ignore-memory-exception-asio
2023-11-27 15:21:56 +00:00
Antonio Andelic
2ea44adefd
Add test
2023-11-27 15:05:56 +00:00
Antonio Andelic
9077550bb1
Better Readonly metric
2023-11-27 14:25:45 +00:00
Robert Schulze
3d256105be
Add analyzer test
2023-11-27 14:22:52 +00:00
lgbo
b38469ddf8
Optimization for getting value from map, arrayElement(2/2) ( #55957 )
2023-11-27 15:11:56 +01:00