Commit Graph

29275 Commits

Author SHA1 Message Date
Ivan
6c32fc3fc1
Store offsets manually for each message (#6872) 2019-09-09 19:59:51 +03:00
alexey-milovidov
abc7fbf6c8
Merge pull request #6866 from AlexMAS/patch-1
Fix formatting error
2019-09-09 15:34:56 +03:00
Yuriy Baranov
f6e1a26806
Merge pull request #6865 from yurriy/mysql
Releasing resources after query execution in MySQL compatibility server
2019-09-09 09:43:28 +03:00
Alexander Mezhov
e25b906c7f
Fix formatting error 2019-09-09 11:18:01 +05:00
Yuriy
6700314ce5 destroying context after executeQuery 2019-09-09 04:04:37 +03:00
alexey-milovidov
50928323eb
Merge pull request #6859 from Enmk/docs_minor_cleanup
Docs cleanup
2019-09-08 06:28:43 +03:00
alexey-milovidov
8389200229
Merge pull request #6832 from CurtizJ/merging_input_function
Merging #5450 (table function input).
2019-09-07 20:16:45 +03:00
Vasily Nemkov
6136662d56 Docs cleanup
Unified formatting of the tables in system database
Removed extra line from settings
2019-09-07 14:03:18 +03:00
alexey-milovidov
25de2e12a2
Merge pull request #6399 from Enmk/replica_recovery_interval
Improvements for failover of Distributed queries
2019-09-07 03:21:30 +03:00
alexey-milovidov
b7cbd33886
Merge pull request #6729 from yandex/aku/key-holder
Key memory management for compound hash tables.
2019-09-07 03:09:18 +03:00
alexey-milovidov
b3e30d51c3
Update HashTableKeyHolder.h 2019-09-07 03:09:07 +03:00
alexey-milovidov
46e7b4f925
Merge pull request #6853 from yandex/pipe-capacity-very-old-kernels
Returned support for very old Linux kernels (that lack of F_GETPIPE_SZ fcntl)
2019-09-07 03:01:42 +03:00
Denis Zhuravlev
34bc227d76
Update docs/en/query_language/system.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-06 20:11:10 -03:00
Denis Zhuravlev
3178b50505
Update docs/en/query_language/system.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-06 20:09:02 -03:00
Denis Zhuravlev
26572e19f9
Update docs/en/query_language/system.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-06 20:08:42 -03:00
Denis Zhuravlev
b8f1ebfe62
Update docs/en/query_language/system.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-06 20:08:29 -03:00
Olga Khvostikova
e8d8dbc40b
Merge pull request #6855 from yandex/code-cleanup-storagefile
Minor code cleanup in StorageFile
2019-09-07 01:34:27 +03:00
Denis Zhuravlev
2287c590f1
Update system.md
Added some system queries (1st attempt).
2019-09-06 17:56:39 -03:00
Denis Zhuravlev
edf101def0
Update system.md
Added some system queries (1st attempt).
2019-09-06 17:54:37 -03:00
Denis Zhuravlev
115edf343d
Update system.md
Added some system queries (1st attempt).
2019-09-06 17:40:50 -03:00
alesapin
a0888cace8 Update pvs-studio image 2019-09-06 22:26:42 +03:00
alesapin
11b428033b Update cmake to 3.15 2019-09-06 22:19:41 +03:00
alexey-milovidov
be8341d174
Merge pull request #6851 from Akazz/minor_fixes_in_tests-1
Fixing a few things in stateless tests
2019-09-06 22:00:54 +03:00
stavrolia
f533485d19 Minor code cleanup 2019-09-06 21:29:41 +03:00
alexey-milovidov
00edf4fac3
Update HashTable.h 2019-09-06 21:19:50 +03:00
alexey-milovidov
805bd31641
Update dbms/src/Common/HashTable/HashTable.h
Co-Authored-By: akuzm <36882414+akuzm@users.noreply.github.com>
2019-09-06 21:12:31 +03:00
filimonov
526afd44ed Make SensitiveDataMasker a singleton. (#6810)
Among other things, it is used to filter logs, which are being written even after the global server context is deinitialized, so we can't keep masker there.
2019-09-06 20:48:27 +03:00
alexey-milovidov
2ffc99b893
Merge pull request #6846 from yandex/aku/fixed-hash-table
Cosmetic change: remove redundant functions from FixedHashTable
2019-09-06 20:20:26 +03:00
alexey-milovidov
71ed9477dc
Update FixedHashTable.h 2019-09-06 20:20:19 +03:00
alexey-milovidov
c90dfc1e48
Merge pull request #6837 from filimonov/fix_some_pvs_reported_issues
Fix some pvs reported issues
2019-09-06 20:15:14 +03:00
Alexey Milovidov
1c3fab8f2c Returned support for very old Linux kernels (that lack of F_GETPIPE_SZ fcntl) 2019-09-06 20:10:28 +03:00
BayoNet
206062dd5e DOCAPI-7905: Update of the configurations files description. (#6261) 2019-09-06 20:06:13 +03:00
Denis Zhuravlev
a38911d4df
Update mergetree.md
TTL examples / Requested change
2019-09-06 13:57:23 -03:00
Denis Zhuravlev
88ded215ce
Update mergetree.md
TTL examples / Requested change
2019-09-06 13:52:48 -03:00
akazz
f511337028 Fixing minor things 2019-09-06 18:54:33 +03:00
akazz
0f9b91a663 Cosmetic stuff 2019-09-06 18:45:49 +03:00
Denis Zhuravlev
529cffeeab
Update mergetree.md
TTL examples
2019-09-06 12:28:33 -03:00
Denis Zhuravlev
908055bf1a
Update mergetree.md
TTL examples
2019-09-06 12:26:55 -03:00
Denis Zhuravlev
873689b7d5
Update mergetree.md
TTL examples
2019-09-06 12:26:51 -03:00
Denis Zhuravlev
4c1073bd3c
Update mergetree.md
TTL examples
2019-09-06 12:18:24 -03:00
Denis Zhuravlev
2c9081768b
Update mergetree.md
TTL examples
2019-09-06 12:16:14 -03:00
akazz
e7235cdcfd Minor changes 2019-09-06 18:13:22 +03:00
Alexander Kuzmenkov
cacf6d3282 Key memory management for compound hash tables.
Some aggregation methods initially emplace a temporary StringRef key
into a hash table. Then, if the key was not seen before, they make a
persistent copy of the key and update the hash table with it. This
approach is not suitable for compound hash tables, because the logic of
when the persistent key is needed is more complex, and is contained
within the hash table itself.

In this commit, we switch to managing key memory with callbacks passed
to the hash table, that allow it to request a persistent copy of the key
if it is needed. This should be more appropriate for compound hash
tables.

This commit prepares for StringHashMap PR #5417.
2019-09-06 18:05:28 +03:00
robot-clickhouse
04d2bb9cfd Auto version update to [19.15.1.1] [54426] 2019-09-06 17:58:33 +03:00
robot-clickhouse
f2b775b02e Auto version update to [19.14.1.1274] [54425] 2019-09-06 17:58:04 +03:00
Alexander Kuzmenkov
05095111a1 Cosmetic change: remove redundant functions from FixedHashTable 2019-09-06 17:47:32 +03:00
akazz
13631d2da3 Removed some garbage 2019-09-06 16:58:37 +03:00
Anton Popov
69da4f30b3
Merge branch 'master' into merging_input_function 2019-09-06 16:20:00 +03:00
filimonov
f505549b43
changed wrong pvs suppression code 2019-09-06 14:46:42 +02:00
Ivan Lezhankin
6f1a8c37ab Print API costs in utils/github 2019-09-06 15:42:15 +03:00