Anton Popov
bd28b7e1c2
better code
2020-06-18 20:05:26 +03:00
Ruslan
23cd919681
Any input optimize ( #11529 )
...
* workig commit №1
* working commit №2
* first version of ArithmeticOperationsInAgrFuncOptimize (min, max, sum)
* fix conflicts
* fix №2
* attempt №3
* Description + little mistake
* fix style + expanded optimization + add performance test
* style + merge with new version
* one more branch
* bug fix + merge
* just merge
* some code style and logic fixes
* little changes
* tests
* test(2)
* style
* seems to have fixed everything that was required
* bug fix
* style
* build fix
* fix typo
* fix clang-10 warning
* fix clang-10 warning
* nolint
* add new files to ya.make
* extract all functions from Any
* add last new lines.
* extract all functions from Any
* add last new lines.
* build + requested changes
* code style
* build + little perf test + anyLast
* minor changes
* bug fix
* minor changes
* another minor changes
* fix + experement
* experement 2.0
* experement 3.0
* experement 3.1
* experement 4.0
* last experement(think so)
* just another attempt to fix UB
* minor changes
* I think I won
* ya.make
* fix requested changes
Co-authored-by: Artem Zuikov <chertus@gmail.com>
2020-06-18 19:34:29 +03:00
Alexander Kuzmenkov
730c22f767
Merge pull request #11748 from ClickHouse/aku/unbreak-jemalloc-metrics
...
Unbreak jemalloc stats + add more of them
2020-06-18 15:24:30 +03:00
Artem Zuikov
6af36cb703
CAST keep nullable ( #11733 )
2020-06-18 13:18:28 +03:00
alesapin
d0beeaf7c4
Merge pull request #11744 from ClickHouse/stop_fetches_before_metadata_alter
...
Cancel fetches before metadata alter
2020-06-18 11:32:16 +03:00
alexey-milovidov
c9924b8aa1
Merge pull request #11697 from CurtizJ/fix-with-fill
...
Fix 'ORDER BY ... WITH FILL' over const columns.
2020-06-18 06:38:24 +03:00
Alexander Kuzmenkov
07ead3c815
Use hours instead of days.
...
std::chrono::days is C++20 which the barbarian Arcadia build is unable
to appreciate.
2020-06-18 05:03:59 +03:00
Alexander Kuzmenkov
4e42903eac
Unbreak jemalloc stats + add more of them
...
We didn't call the `epoch` mallctl, so all the statistics were stale.
Fix that, and also add some more statistics for arenas.
2020-06-18 04:54:10 +03:00
alexey-milovidov
b42f622a77
Merge pull request #11739 from azat/replicated-parse-zk-metadata
...
[RFC] Parse metadata stored in zookeeper before checking for equality
2020-06-18 03:26:48 +03:00
tavplubix
bb16544bee
Merge pull request #11732 from ClickHouse/fix_type_duduction_in_values_format
...
Fix type duduction in Values format
2020-06-18 00:21:03 +03:00
alesapin
870d891257
Cancel fetches before metadata alter
2020-06-17 23:25:43 +03:00
Azat Khuzhin
caa88777be
Parse metadata stored in zookeeper before checking for equality
...
After #11325 trailing whitespaces has been removed for data skipping
indicies, and it may be different, if you have multiple skip indices,
and in this case new server will not load such tables, because metadata
will be different.
Fix this by re-parse metadata in zookeeper.
2020-06-17 21:03:22 +03:00
Vitaly Baranov
7011401cd4
Merge pull request #11670 from vitlibar/rbac-improve-parser-multiple-entities
...
RBAC: improve syntax
2020-06-17 16:26:02 +03:00
Alexander Tokmakov
3938b051c2
fix type duduction in values format
2020-06-17 16:21:06 +03:00
Alexander Tokmakov
eebfc9d2da
fix build with clang-9
2020-06-17 16:19:15 +03:00
alexey-milovidov
f55fb33731
Merge pull request #11726 from ClickHouse/remove-old-tests
...
Remove old non-automated tests (examples)
2020-06-17 14:25:20 +03:00
Nikita Mikhaylov
d2be6c036b
Merge pull request #11602 from ClickHouse/fix-buffer-sample
...
Fix buffer sample
2020-06-17 14:44:48 +04:00
Nikita Mikhaylov
ff0262626a
Merge pull request #11645 from azat/load-balancing-round-robin
...
Add round_robin load_balancing
2020-06-17 14:34:59 +04:00
Nikita Mikhaylov
9b88065e77
add small comment
2020-06-17 13:33:35 +03:00
xPoSx
2d8110ce45
Eliminate min/max/any aggregators of GROUP BY keys in SELECT section ( #11667 )
2020-06-17 12:32:43 +03:00
Nikita Mikhaylov
edec79cf69
Merge pull request #11703 from nikitamikhaylov/merging-alter-query
...
Merging #11508
2020-06-17 12:47:34 +04:00
Nikita Mikhaylov
edff6eac6e
comment
2020-06-17 11:44:52 +03:00
Alexey Milovidov
3c023fe8b8
Remove old non-automated tests
2020-06-17 10:45:51 +03:00
Nikita Mikhaylov
ab04a6bb62
Merge pull request #11615 from azat/SYSTEM-FLUSH-LOGS-force-table-creation-v2
...
Force table creation on SYSTEM FLUSH LOGS (v2)
2020-06-17 11:09:19 +04:00
alexey-milovidov
e07d02015c
Merge pull request #11661 from ClickHouse/return-not-nullable-from-count-distinct-2
...
Return non-Nullable results from COUNT(DISTINCT), more complete.
2020-06-17 09:25:45 +03:00
alexey-milovidov
598fd75caf
Merge pull request #11639 from ClickHouse/remove-leader-election-2
...
Remove leader election, step 2: allow multiple leaders
2020-06-17 09:25:23 +03:00
alexey-milovidov
6e61f708d7
Merge pull request #11690 from ClickHouse/odbc-bridge-timeouts
...
Pass proper timeouts when communicating with XDBC bridge.
2020-06-17 03:18:29 +03:00
Alexey Milovidov
e720d78f23
Fix tests
2020-06-17 03:08:01 +03:00
Alexey Milovidov
a655765040
Merge branch 'master' into return-not-nullable-from-count-distinct-2
2020-06-17 01:15:57 +03:00
Alexander Kuzmenkov
9cab822718
Merge pull request #11683 from ClickHouse/aku/merge-minmap-11603
...
Merge minMap, maxMap (#11603 )
2020-06-17 00:02:33 +03:00
Artem Zuikov
857d84bf7c
Buffer left blocks optimisation for MergeJoin ( #10601 )
2020-06-16 23:13:18 +03:00
alexey-milovidov
f387752cf1
Merge pull request #11702 from ClickHouse/fix-mv-header
...
Fix mv header
2020-06-16 22:43:38 +03:00
Alexey Milovidov
0a6054eece
Merge branch 'master' into return-not-nullable-from-count-distinct-2
2020-06-16 22:31:33 +03:00
alexey-milovidov
ad53ef2c14
Merge pull request #11686 from ClickHouse/proper-query-formatting-in-log
...
Don't break multiline queries when they are printed in server log
2020-06-16 22:17:30 +03:00
Alexey Milovidov
6c93016c91
Add suggestion from @alesap
2020-06-16 22:16:01 +03:00
Alexey Milovidov
b7ec5f94f2
Merge branch 'master' into odbc-bridge-timeouts
2020-06-16 22:14:43 +03:00
alexey-milovidov
47bd8df9de
Merge pull request #11692 from ClickHouse/fix-flaky-test-incremental-streaming
...
Fix flaky test 01064_incremental_streaming_from_2_src_with_feedback
2020-06-16 22:12:46 +03:00
alexey-milovidov
6f2d9999be
Merge pull request #11693 from ClickHouse/fix-flaky-unit-tests
...
More robust unit tests if ZooKeeper is unavailable for some time.
2020-06-16 22:12:30 +03:00
alesapin
d214a504d7
Merge pull request #11681 from ClickHouse/fix_mutations_premature_finish
...
Fix mutations premature "finish"
2020-06-16 21:26:14 +03:00
Azat Khuzhin
8fbf93012d
Fix data race between reading/writing is_force_prepare_tables
2020-06-16 21:08:44 +03:00
Nikita Mikhaylov
fc06f99476
build and test fixes
2020-06-16 21:07:41 +03:00
Artem Zuikov
a3d6e047fe
Fix lambdas with multiple_joins_rewriter v2 ( #11587 )
2020-06-16 19:32:32 +03:00
alesapin
0a33ccb77b
Fix remove method
2020-06-16 14:12:52 +03:00
alesapin
d1052f2dfe
Better logic
2020-06-16 13:50:47 +03:00
Alexander Kuzmenkov
be008cd186
remove some code
2020-06-16 13:44:23 +03:00
alesapin
d5b76b2fe1
Fix parts count in mutations
2020-06-16 13:34:59 +03:00
alesapin
0cb14c836c
Merge pull request #11691 from ClickHouse/fix-race-condition-system-sync-replicas
...
Fix race condition in SYSTEM SYNC REPLICA
2020-06-16 13:29:18 +03:00
alesapin
362aaf1385
Merge pull request #11516 from ClickHouse/consistent_metadata4
...
Storage metadata as a single struct.
2020-06-16 13:28:22 +03:00
alesapin
f6f3605258
Merge pull request #11695 from ClickHouse/avoid-attempt-to-fetch-when-fetches-are-cancelled
...
Avoid connection to replica when fetches are cancelled
2020-06-16 12:30:58 +03:00
xPoSx
9fc37e1f75
Remove functions of other keys in GROUP BY section ( #10051 )
2020-06-16 12:14:25 +03:00