Commit Graph

29304 Commits

Author SHA1 Message Date
proller
9271155bfc Merge remote-tracking branch 'upstream/master' into fix25 2019-09-11 15:05:11 +03:00
Ivan Blinkov
8d5a08743a
Add link to clickhouse-flamegraph (#6901) 2019-09-11 12:06:50 +03:00
alexey-milovidov
a446ec5e61
Merge pull request #6882 from clemrodriguez/issue-6825
Fix too early MySQL connection closure in MySQLBlockInputStreamream.cpp
2019-09-11 02:03:20 +03:00
alexey-milovidov
af4af8bc6a
Merge pull request #6886 from amosbird/cmp0075
Fix build error when cmake_minimum_required(3.12)
2019-09-11 02:03:01 +03:00
alexey-milovidov
254102c5bd
Merge pull request #6602 from amosbird/object-library
Split libdbms.so using object library
2019-09-11 02:00:13 +03:00
akuzm
ab85d145a2
Merge pull request #6873 from yandex/aku/internal-iteration
Use internal iteration over hash tables in Aggregator.
2019-09-10 22:02:53 +03:00
Amos Bird
8f28a36c17 Use internal iteration over hash tables in Aggregator.
For compound hash tables such as the future StringHashMap, an
iterator-based API might be inefficient for iterating over a table or
for merging two tables, because:

1) the key has to be converted to a general format from a from a
   component-specific format, which may differ between the components;

2) the information about the component of the compound hash table to
   which the value belongs is lost, and has to be recalculated if the
   value is reinserted.

A more efficient approach is to use internal iteration, that is,
map-like functions, which avoids unnecessary conversions when iterating,
and allows to use an efficient component-wise approach when merging.
2019-09-10 21:52:53 +03:00
Amos Bird
a1310ffbe6 Split libdbms.so using object library
Now the linking time of incremental builds are around 1-2 seconds
2019-09-11 01:56:01 +08:00
Alexander Kuzmenkov
160e0faf77 Do not use iterator::getValue() in Aggregator.
Use separate key and "mapped" value references instead. This is
important for hash tables that do not store the key/"mapped" pair
directly, and cannot provide this interface without some runtime
overhead.
2019-09-10 20:12:30 +03:00
Alexander Kuzmenkov
8e9a8584e0 Do not provide mutable key access in hash map cells.
We don't need it anymore after we changed the hash table key memory
management to use callbacks. Removing this interface is important for
hash maps that do not store the key, such as FixedHashMap or the
prospective compound StringHashMap.
2019-09-10 20:12:30 +03:00
proller
80af97aed0 Merge remote-tracking branch 'upstream/master' into fix25 2019-09-10 18:12:34 +03:00
alexey-milovidov
189058308d
Merge pull request #6888 from huangzhhui/patch-2
Use the right words
2019-09-10 17:41:01 +03:00
黄朝晖
3625769e00
Update index.md 2019-09-10 22:26:50 +08:00
Amos Bird
7b30835b13 Fix build error when cmake_minimum_required(3.12) 2019-09-10 20:46:39 +08:00
proller
0ba5ca57a6 Merge remote-tracking branch 'upstream/master' into fix25 2019-09-10 15:28:55 +03:00
BayoNet
aa0e3fd0d1
Docs links fix (#6885)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.
2019-09-10 14:58:26 +03:00
proller
6d50a2eda0 Merge remote-tracking branch 'upstream/master' into fix25 2019-09-10 14:45:52 +03:00
BayoNet
36c0179f54
Fix of links in docs (#6884)
* Typo fix.

* Links fix.
2019-09-10 14:07:05 +03:00
Clément Rodriguez
10be7809cd
Fix connection to early MySQL connection closure in MySQLBlockInputStream.cpp 2019-09-10 10:21:13 +02:00
BayoNet
1bd75b1e74
DOCAPI-7745: optimize_throw_if_noop docs. (#6848)
* Typo fix.

* DOCAPI-7745: The first version.

* DOCAPI-7745: More text

* DOCAPI-7745: More text.

* Update docs/en/operations/settings/settings.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* Update docs/en/query_language/misc.md

Co-Authored-By: Ivan Blinkov <github@blinkov.ru>

* DOCAPI-7745: Fixes.
2019-09-10 11:06:22 +03:00
alexey-milovidov
ce47e707c1
Merge pull request #6849 from den-crane/patch-8
Doc change. TTL examples
2019-09-10 02:41:46 +03:00
alexey-milovidov
892959033f
Merge pull request #6857 from den-crane/patch-9
Doc change. Added some system queries (1st attempt).
2019-09-10 02:41:11 +03:00
alexey-milovidov
76459a4f57
Update system.md 2019-09-10 02:41:03 +03:00
alexey-milovidov
87ec80089a
Update system.md 2019-09-10 02:40:41 +03:00
alexey-milovidov
84eafda093
Merge pull request #6875 from den-crane/patch-10
Doc Change. Fixed rowbinary RU translation and added rowbinarywithnamesandtypes
2019-09-10 02:39:01 +03:00
proller
54a5b801b7 Build fixes (Orc, ...) (#6835)
* Fix build

* cmake: fix cpuinfo

* Fix includes after processors merge

Conflicts:
	dbms/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp
	dbms/src/Processors/Formats/Impl/ParquetBlockOutputFormat.cpp
	dbms/src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp
	dbms/src/Processors/Formats/Impl/ProtobufRowOutputFormat.cpp

* Fix build in gcc8

* fix test link

* fix test link

* Fix test link

* link fix

* Fix includes after processors merge 2

Conflicts:
	dbms/src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp

* Fix includes after processors merge 3

* link fix

* Fix likely/unlikely conflict with cython

* Fix conflict with protobuf/stubs/atomicops.h

* remove unlikely.h

* Fix macos build (do not use timer_t)

* wip

* Fix build (orc, ...)

* Missing files

* Try fix

* fix hdfs

* Fix llvm 7.1 find
2019-09-10 00:40:40 +03:00
Denis Zhuravlev
282e24975b
Update formats.md 2019-09-09 15:42:12 -03:00
Denis Zhuravlev
1275ed4641
Update system.md 2019-09-09 15:35:41 -03:00
Denis Zhuravlev
8002b7d7a8
Update docs/en/query_language/system.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-09 15:34:48 -03:00
Denis Zhuravlev
851daebe4c
Update docs/ru/query_language/system.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-09 15:34:32 -03:00
Denis Zhuravlev
927a31f8e2
Update docs/en/query_language/system.md
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
2019-09-09 15:34:08 -03:00
Denis Zhuravlev
0c6d583a15 Doc change. less confusing description for pointInEllipses (#6790) 2019-09-09 20:51:58 +03:00
Ivan Blinkov
9f94eb74df
Remove link to past meetup 2019-09-09 20:32:15 +03:00
Denis Zhuravlev
e8cf800c6e
Update formats.md
Fixed rowbinary RU translation and added rowbinarywithnamesandtypes
2019-09-09 14:12:43 -03:00
Denis Zhuravlev
4004f17b09
Update formats.md
Added RowBinaryWithNamesAndTypes toc. Fixed list formatting.
2019-09-09 14:09:42 -03:00
Denis Zhuravlev
10011d1483
Update formats.md
Fixed rowbinary translation and added rowbinarywithnamesandtypes
2019-09-09 14:05:18 -03:00
Ivan
6c32fc3fc1
Store offsets manually for each message (#6872) 2019-09-09 19:59:51 +03:00
proller
cec1cf068d Fix llvm 7.1 find 2019-09-09 18:37:17 +03:00
proller
6f35d69463 fix hdfs 2019-09-09 16:12:54 +03:00
proller
26331fe7be Merge remote-tracking branch 'upstream/master' into fix25 2019-09-09 16:00:02 +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