Commit Graph

29242 Commits

Author SHA1 Message Date
Vitaly Baranov
df372ba7b3 Better simulation of HTTP server used in the integration test test_dictionaries_all_layouts_and_sources 2019-09-12 23:11:25 +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
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
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
BayoNet
aa0e3fd0d1
Docs links fix (#6885)
* Typo fix.

* Links fix.

* Fixed links in docs.

* More fixes.
2019-09-10 14:58:26 +03:00
BayoNet
36c0179f54
Fix of links in docs (#6884)
* Typo fix.

* Links fix.
2019-09-10 14:07:05 +03: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
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