Guillaume Tassery
f54c90ccce
Merge branch 'master' of github.com:PerformanceVision/ClickHouse into move_partition
2019-10-03 10:24:39 +02:00
alexey-milovidov
c4c936c685
Merge pull request #7049 from ClickHouse/ucasFL-master
...
Merging function "repeat"
2019-09-23 22:52:38 +03:00
alexey-milovidov
e24d882326
Merge pull request #7024 from millb/master
...
Fixed Function Hex for Float32 and Float64
2019-09-23 22:52:19 +03:00
Alexey Milovidov
89f27de705
Merge branch 'master' into ucasFL-master
2019-09-23 21:05:29 +03:00
Alexey Milovidov
8579c26efb
Changed repository URL
2019-09-23 19:18:19 +03:00
millb
bd29efdbbe
New hex function release
...
Bugs and tests fixed
2019-09-23 18:47:34 +03:00
chertus
9261d9d970
stabilize tests (add order by)
2019-09-23 16:55:04 +03:00
Alexey Milovidov
e6f1fdc011
Added another test
2019-09-23 02:56:27 +03:00
Alexey Milovidov
69c79c31bb
Merging function 'repeat': improved test
2019-09-23 02:31:33 +03:00
Alexey Milovidov
454b83fcd3
Merging function 'repeat'
2019-09-23 02:30:13 +03:00
Alexey Milovidov
52272eeea9
Merge branch 'master' of https://github.com/ucasFL/ClickHouse into ucasFL-master
2019-09-23 02:04:18 +03:00
alexey-milovidov
6fa234cea4
Merge pull request #6894 from azat-archive/hashed-dict-memory-usage-v2
...
[RFC] Add sparsehash support for hashed dictionary (to reduce memory usage)
2019-09-22 15:55:36 +03:00
fenglv
4465fdb8bf
Add test
...
fix
fix
fix
2019-09-22 14:25:43 +08:00
alexey-milovidov
67e02b4ea0
Merge pull request #6957 from infinivision/add_bitmapSubsetLimit
...
added bitmapSubsetLimit
2019-09-22 04:58:44 +03:00
Azat Khuzhin
420089c301
Add new dictionary layout (sparse_hashed) that is more memory efficient
...
With this new layout, sparsehash will be used over default HashMap,
sparsehash is more memory efficient but it is also slower.
So in a nutshell:
- HashMap uses ~2x more memory then sparse_hash_map
- HashMap ~2-2.5x faster then sparse_hash_map
(tested on lots of input, and the most close to production was
dictionary with 600KK hashes and UInt16 as value)
TODO:
- fix allocated memory calculation
- getBufferSizeInBytes/getBufferSizeInCells interface
- benchmarks
v0: replace HashMap with google::sparse_hash_map
v2: use google::sparse_hash_map only when <sparse> isset to true
v3: replace attributes with different layout
v4: use ch hash over std::hash
2019-09-21 02:22:40 +03:00
alexey-milovidov
f8d19f6bf3
Merge pull request #6968 from azat-archive/create_as_skip_indices
...
[RFC] Introduce create_as_skip_indices
2019-09-20 23:53:49 +03:00
alexey-milovidov
2432a68009
Merge pull request #7022 from 4ertus2/bugs
...
Fix "Unknown identifier" in ORDER BY and GROUP BY with Multiple Joins
2019-09-20 23:45:51 +03:00
alexey-milovidov
3f500aad4b
Merge pull request #6976 from sfod/issue-3571
...
Throw exceptions if WITH TOTALS/ROLLUP/CUBE are specified without agg…
2019-09-20 23:39:00 +03:00
alexey-milovidov
123b8cb43c
Merge pull request #6990 from Akazz/timeout_for_sync_replica_cmd
...
Fixed timeout mechanism for SYNC REPLICA command + simplified related code
2019-09-20 20:32:51 +03:00
alexey-milovidov
aabd6906f2
Merge pull request #6982 from 4ertus2/mjoin
...
PartialMergeJoin bugfixes
2019-09-20 20:19:00 +03:00
millb
4f24512ba4
Test added.
2019-09-20 19:40:06 +03:00
chertus
7726130303
fix multiple joins aliasing for order by and group by
2019-09-20 19:01:19 +03:00
sfod
bc9bcfdb7e
Fix tests which use WITH TOTALS without aggregation
2019-09-20 17:42:30 +03:00
sfod
bf2654e093
Use sql file to test changes
2019-09-20 17:39:26 +03:00
Alexander Kazakov
2d807368e1
Adjusted timings in test + more verbose diagnostics
2019-09-20 00:20:58 +03:00
Azat Khuzhin
b2a3db1048
Ignore indices for CREATE TABLE .. AS .. if storage do not support them
2019-09-19 23:55:38 +03:00
chertus
da14951ecd
implement MergeJoin.joinTotals()
2019-09-19 17:53:03 +03:00
Alexander Kazakov
90c9d83fa5
Added missing newline at the EOF
2019-09-19 17:48:08 +03:00
Alexander Kazakov
7a0f7a57e2
Chmod +x for test!!!
2019-09-19 15:48:18 +03:00
Akazz
787a646680
Added a test to challenge timeout mechanism in SYNC REPLICA command
2019-09-19 13:00:44 +03:00
Zhichang Yu
0dc3866c36
added bitmapSubsetLimit
2019-09-19 10:15:36 +08:00
alexey-milovidov
1fe79ad43c
Merge pull request #6941 from dimarub2000/enums_in_section
...
IN with Enums numeric values
2019-09-19 02:24:34 +03:00
alexey-milovidov
9c675e50bb
Merge pull request #6963 from nicelulu/issue_6616
...
optimize limit 1,0 and test.
2019-09-19 02:23:56 +03:00
alexey-milovidov
01a1920e9b
Merge pull request #6970 from infinivision/add_bitmapMin_bitmapMax
...
added bitmapMin and bitmapMax
2019-09-19 02:01:16 +03:00
alexey-milovidov
bc1ecb0be5
Merge pull request #6951 from yandex/aku/alloc-continue
...
Make the quadratic Arena::allocContinue less bad.
2019-09-19 01:57:26 +03:00
alexey-milovidov
d7681d0239
Merge pull request #6977 from Akazz/minor_fixes_in_tests-2
...
Reworked flapping test - 00715_fetch_merged_or_mutated_part_zookeeper
2019-09-19 01:54:27 +03:00
chertus
08a28d2dc2
fix pm join bug (wrong right equal range copy)
2019-09-18 21:44:44 +03:00
Artem Zuikov
aae82eed5a
Merge pull request #6940 from 4ertus2/mjoin
...
PartialMergeJoin
2019-09-18 16:16:10 +03:00
Akazz
aa8ef05955
Reworked test 00715_fetch_merged_or_mutated_part_zookeeper
2019-09-18 16:14:56 +03:00
sfod
0bad4b4a05
Throw exceptions if WITH TOTALS/ROLLUP/CUBE are specified without aggregate functions
2019-09-18 16:08:51 +03:00
Alexander Kuzmenkov
e1898ca89a
Make the quadratic Arena::allocContinue less bad.
...
Scenarios that use Arena::allocContinue may waste quadratically many
memory and perform quadratically many copying, when the memory range
size reaches Arena's linear allocation threshold. To alleviate this,
make sure that the next memory chunk allocated by allocContinue is at
least linear_growth_threshold bytes bigger than the previous one, so
that we don't reallocate and copy that often.
2019-09-18 15:04:56 +03:00
Zhichang Yu
460ccb04a2
added bitmapMin and bitmapMax
2019-09-18 16:56:12 +08:00
alexey-milovidov
03014fe920
Merge pull request #6944 from malkfilipp/add-limit-clause-to-show-queries
...
Add LIMIT clause to SHOW queries
2019-09-18 02:07:45 +03:00
root
f4b7cae998
optimize limit 1,0 and test.
2019-09-18 02:55:59 +08:00
chertus
2b3a4b0650
support const and LC columns in partial merge-join
2019-09-17 21:53:52 +03:00
chertus
58fad78980
support MergeJoin nullable convertion (right side)
2019-09-17 19:55:11 +03:00
malkfilipp
aab95fd517
Bump the test number
2019-09-17 15:41:25 +03:00
Guillaume Tassery
acaa9cdbad
Rename move partition to partition_expr to move partition to table partition_expr
2019-09-17 13:59:09 +02:00
akuzm
75dc7d331e
Merge pull request #6937 from amosbird/ubmemfix
...
In hash tables, properly initialize zero key cell.
2019-09-17 14:57:38 +03:00
chertus
da5d35b34e
partial merge join (minimal tested version)
2019-09-16 22:31:22 +03:00