Ivan Lezhankin
4b143c3e0f
Merge remote-tracking branch 'upstream/master' into issue-6459
2019-09-23 16:07:19 +03:00
alesapin
68fb36df2f
Merge pull request #7058 from ClickHouse/better_shared_build
...
Also pack config into shared archive
2019-09-23 15:31:20 +03:00
alesapin
6b6714761b
Also pack config into shared archive
2019-09-23 15:20:08 +03:00
Ivan Blinkov
7a822ad815
fix Jinja2 ( #7011 )
2019-09-23 14:08:56 +03:00
Alexey Milovidov
70bc89557f
Updates for #6969
2019-09-23 01:57:06 +03:00
alexey-milovidov
ef61e3e27d
Merge pull request #6969 from azat-archive/graphite-events-send-absolute-values
...
Add ability to send events with absolute values to graphite
2019-09-23 01:51:48 +03:00
alexey-milovidov
0dc4b1793d
Merge pull request #7036 from infinivision/fix_bitmapMax_doc
...
fix bitmapMin and bitmapMax doc
2019-09-23 01:49:04 +03:00
alexey-milovidov
fac04ea640
Merge pull request #7042 from kyprizel/master
...
Initial fuzzing support with libfuzzer
2019-09-23 01:31:44 +03:00
alexey-milovidov
2054f80623
Merge pull request #5596 from excitoon-favorites/table_function_s3
...
s3 table function and storage
2019-09-23 00:53:06 +03:00
alexey-milovidov
b0dd36db7c
Update sanitize.cmake
2019-09-23 00:22:22 +03:00
alexey-milovidov
c5f9b4ad0a
Update sanitize.cmake
2019-09-23 00:21:41 +03:00
alexey-milovidov
3270ad439a
Update compressed_buffer_fuzz.cpp
2019-09-23 00:18:14 +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
alexey-milovidov
8fd66ac4fd
Update compressed_buffer_fuzz.cpp
2019-09-22 15:52:33 +03:00
Vladimir Chebotarev
4608da1344
Minor tests improvement.
2019-09-22 11:03:02 +00:00
Vladimir Chebotarev
64d49e4565
Minor review fixes.
2019-09-22 10:42:47 +00:00
Eldar Zaitov
b174833bdf
Initial fuzzing support with libfuzzer
2019-09-22 13:34:09 +03:00
Azat Khuzhin
52f14c1ead
Update HashedDictionary.cpp (fixed rename in return type for SFINAE)
2019-09-22 10:39:50 +03:00
alexey-milovidov
5970aafd9a
Merge pull request #7032 from azat-archive/distributed-directory-monitor-SIGSEGV
...
Avoid SIGSEGV on batch send failure (file with index XX is absent)
2019-09-22 05:12:55 +03:00
alexey-milovidov
a12cffee91
Update HashedDictionary.h
2019-09-22 05:11:08 +03:00
alexey-milovidov
ab9a7be45a
Comments are the must.
2019-09-22 05:09:40 +03:00
alexey-milovidov
9afea6f0b3
Update HashedDictionary.cpp
2019-09-22 05:04:49 +03:00
alexey-milovidov
67e02b4ea0
Merge pull request #6957 from infinivision/add_bitmapSubsetLimit
...
added bitmapSubsetLimit
2019-09-22 04:58:44 +03:00
alexey-milovidov
6020ba187e
Update AggregateFunctionGroupBitmapData.h
2019-09-22 04:58:21 +03:00
alexey-milovidov
816ac1ca8d
Merge pull request #7037 from silviucpp/silviu-fix-osx
...
Fix osx build
2019-09-22 04:53:36 +03:00
alexey-milovidov
d446205eec
Update QueryProfiler.cpp
2019-09-22 04:53:19 +03:00
Silviu Caragea
5a14d97587
Fix linking when __ELF__ is not defined
2019-09-22 01:04:17 +03:00
alexey-milovidov
ab02aad198
Update sleep.cpp
2019-09-21 23:44:56 +03:00
Silviu Caragea
1fbd2fb6a8
Fix osx build
2019-09-21 21:30:01 +03:00
Zhichang Yu
ab7ecd84a1
fix bitmapMin and bitmapMax doc
2019-09-21 23:34:44 +08:00
alesapin
4575b6e4ff
Merge pull request #7031 from yandex/rename-storage-policy-name
...
Renamed "storage_policy_name" to "storage_policy"
2019-09-21 17:03:19 +03:00
Azat Khuzhin
59763cbb3a
Add ability to send events with absolute values to graphite
...
<events> sends only deltas for events, while sometimes it is more
convenient to get absolute values (for example to calculate rate).
This patch introduces another directive -- <events_absolute> that will handle
this.
v0: use <events> as bool/string
v2: use <events_absolute>true</events_absolute> over <events>absolute</events>
2019-09-21 02:46:47 +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
Azat Khuzhin
b22b65dd29
Avoid SIGSEGV on batch send failure (file with index XX is absent)
...
In case of the following error:
Failed to send batch: file with index 23742 is absent
NULL dereference will occur for the "remote".
2019-09-21 02:22:25 +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
1dc58dcb15
Update InterpreterCreateQuery.cpp
2019-09-20 23:53:14 +03:00
alexey-milovidov
c3e0f1c9d3
Merge pull request #7020 from amosbird/check_settings
...
Outline methods to get needed instantiations.
2019-09-20 23:46:45 +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
42b739550b
Renamed "storage_policy_name" to "storage_policy"
2019-09-20 23:35:50 +03:00
alexey-milovidov
5314088648
Merge pull request #6980 from filimonov/huge_pk_performance_test
...
Adding performance test for huge pk (issue #6924 )
2019-09-20 23:29:56 +03:00
alexey-milovidov
626057e687
Merge pull request #6983 from azat-archive/build--ld.gold
...
Use ld.gold over gold (the former available in more environments)
2019-09-20 23:29:25 +03:00
alexey-milovidov
078eab157b
Merge pull request #7030 from yandex/changelog-19.11.9.52-19.11.10.54-19.11.11.57
...
Changelog for 19.11.9.52 19.11.10.54 19.11.11.57
2019-09-20 23:20:03 +03:00
Nikolai Kochetov
b1f19a50d4
Update CHANGELOG.md
2019-09-20 23:16:55 +03:00
alesapin
f2f9f585e4
Better check in shared binary build
2019-09-20 23:15:42 +03:00
alesapin
d0ef26e1b8
Better shared binary build
2019-09-20 22:57:09 +03:00
Nikolai Kochetov
367c073cd9
Merge pull request #7029 from yandex/changelog-19.13.5.44
...
Changelog for 19.13.5.44
2019-09-20 22:02:35 +03:00
Nikolai Kochetov
5b189d3828
Update CHANGELOG.md
2019-09-20 21:48:19 +03:00
Ivan Lezhankin
9e46118edd
Merge remote-tracking branch 'upstream/master' into issue-6459
2019-09-20 21:25:55 +03:00
Ivan Lezhankin
8cb0e58bc7
Fix build for all targets
2019-09-20 21:13:51 +03:00