Commit Graph

23007 Commits

Author SHA1 Message Date
Vitaly Baranov
4125efc07e
Merge pull request #4550 from vitlibar/document-toStartOfInterval_and_toStartOfTenMinutes
Add documentation for new datetime functions toStartOfInterval() and toStartOfTenMinutes().
2019-03-01 17:07:01 +03:00
Vitaly Baranov
fa317f24dc
Update date_time_functions.md 2019-03-01 17:06:27 +03:00
Vitaly Baranov
a5d3ebc1f3
Update date_time_functions.md 2019-03-01 17:05:50 +03:00
Vitaly Baranov
56b401cfaa Add documentation for new datetime functions toStartOfInterval()
and toStartOfTenMinutes().
2019-03-01 16:04:52 +03:00
Alexey Zatelepin
5b850bad47 fix build 2019-03-01 14:42:41 +03:00
MeiK
dc30d15155
Docs: Update expired link
Referer: 0ee61fed7f
2019-03-01 18:10:27 +08:00
Amos Bird
26ab5dd7a7 A Proper lookup table that uses HashTable's API
This is the first step of allowing heterogeneous cells in hash tables.

performance test results are

```

1. HashMap<UInt16, UInt8, TrivialHash, HashTableFixedGrower<16>>;
2. NewLookupMap<UInt16, UInt8>

ResolutionWidth 30000 1 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................223550276.46
ResolutionWidth 30000 2 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................248772721.24
Best: 2 - 24877272124

ResolutionWidth 100000 1 ..........................................................................................................................................................................................................................................................238498413.99
ResolutionWidth 100000 2 ..........................................................................................................................................................................................................................................................261808889.98
Best: 2 - 26180888998

ResolutionWidth 300000 1 ...................................................................................239307348.81
ResolutionWidth 300000 2 ...................................................................................257592761.30
Best: 2 - 25759276130

ResolutionWidth 1000000 1 .........................240144759.26
ResolutionWidth 1000000 2 .........................257093531.91
Best: 2 - 25709353191

ResolutionWidth 5000000 1 .....241573260.35
ResolutionWidth 5000000 2 .....259314162.79
Best: 2 - 25931416279

ResolutionDepth 30000 1 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................217108119.84
ResolutionDepth 30000 2 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................249459504.41
Best: 2 - 24945950441

ResolutionDepth 100000 1 ..........................................................................................................................................................................................................................................................229065162.17
ResolutionDepth 100000 2 ..........................................................................................................................................................................................................................................................253769105.64
Best: 2 - 25376910564

ResolutionDepth 300000 1 ...................................................................................233079225.18
ResolutionDepth 300000 2 ...................................................................................256316273.78
Best: 2 - 25631627378

ResolutionDepth 1000000 1 .........................234184633.51
ResolutionDepth 1000000 2 .........................261100491.57
Best: 2 - 26110049157

ResolutionDepth 5000000 1 .....233118795.66
ResolutionDepth 5000000 2 .....252436160.41
Best: 2 - 25243616041

```
2019-03-01 16:47:13 +08:00
alexey-milovidov
918750c3ba
Merge pull request #4535 from yandex/fix-concurrent-alters
Fix deadlock of concurrent SELECTs and DDL queries
2019-03-01 04:10:10 +03:00
alexey-milovidov
137f800423
Update StorageSystemColumns.cpp 2019-03-01 04:08:12 +03:00
alexey-milovidov
e64cf60236
Merge pull request #4530 from hczhcz/patch-1
Fix readBinary linkage error in Field.cpp
2019-03-01 01:49:54 +03:00
alexey-milovidov
40e11feaef
Merge pull request #4540 from 4ertus2/bugs
fix ClusterCopier crash cause of ThreadStatus not created
2019-03-01 01:48:55 +03:00
alexey-milovidov
00a878b1e7
Merge pull request #4541 from nvartolomei/nv/taskstat-version
Enable taskstat accounting for versions >= 3
2019-03-01 01:48:29 +03:00
Nicolae Vartolomei
602aeb3bb2
Enable taskstat accounting for versions >= 3
Previously if clickhouse was compiled under a kernel with higher
TASKSTATS_VERSION, but run under a kernel with older TASKSTAT_VERSION
extended and io accounting would be disabled.
2019-02-28 21:52:53 +00:00
Alex Zatelepin
cc92f41ddd fix build 2019-02-28 21:15:10 +03:00
BayoNet
0613cd26bc DOCAPI-5441. Some restructurization for tcp_port_secure. 2019-02-28 19:53:11 +03:00
Alexey Zatelepin
eee73dac42 Merge branch 'master' into fix-concurrent-alters 2019-02-28 19:19:21 +03:00
Alex Zatelepin
a4e56478ca
Update use_libcxx.cmake 2019-02-28 19:18:36 +03:00
chertus
ddf0f11e51 fix ClusterCopier crash cause of ThreadStatus not created 2019-02-28 18:49:03 +03:00
Vitaly Baranov
4e1da6eae3
Merge pull request #4539 from leoluk/patch-1
docs: Clarify that proto2 and proto3 are supported
2019-02-28 16:23:45 +03:00
BayoNet
455ca955e5 DOCAPI-5203: Added the descriptions for direct I/O settings for MergeTree merge and SELECT queries. 2019-02-28 14:20:27 +03:00
Leopold Schabel
a8fc523256
docs: Clarify that proto2 and proto3 are supported
#2369
2019-02-28 10:45:30 +00:00
alesapin
ca752504fc
Merge pull request #4531 from sdk2/master
change Sream into Stream
2019-02-28 12:46:39 +03:00
Mikhail f. Shiryaev
ae8e84c532 Add note about patterns order to docs 2019-02-28 10:44:30 +01:00
Alexey Zatelepin
c5dde2c9fd get rid of default query_id value in RWLock::getLock [#CLICKHOUSE-3789] 2019-02-28 12:37:05 +03:00
BayoNet
3dac4f018b DOCAPI-5441: The tcp_port_secure setting description is added. 2019-02-28 12:06:10 +03:00
Mikhail f. Shiryaev
e79235f932 Fix typo in parameter name 2019-02-28 09:52:33 +01:00
Alexey Zatelepin
9e157dbd64 move test script from bugs to tests [#CLICKHOUSE-3789] 2019-02-28 11:50:35 +03:00
BayoNet
9ce36b963f Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-28 10:54:55 +03:00
liangqian
6757b112d1 change Sream into Stream 2019-02-28 15:27:30 +08:00
Tema Novikov
f92210d0fb
Set update_time on full executable dictionary update
This fixes issue #4524.
2019-02-28 09:47:48 +03:00
hcz
8f099af799
Fix readBinary linkage error in Field.cpp 2019-02-28 14:16:45 +08:00
proller
aad2856eba CLICKHOUSE-4179 : arrayEnumerateDenseRanked arrayEnumerateUniqRanked (#4475)
* Build fixes (clang 7.0.0+)

* better

* wip

* wip

* fix

* fix

* wip

* fix

* clean

* clean

* CLICKHOUSE-4179 WIP

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

*    wip

* wip

* wip

* wip

* wip

* cf

*    wip

* wip

* wip

* wip

* cf

* wip

* wip# Please enter the commit message for your changes. Lines starting

* wip# Please enter the commit message for your changes. Lines starting

* cf

* wip# Please enter the commit message for your changes. Lines starting

* wip

* cf

* wip

* wip

* clean

* clean

* clean

* clean

* wip

* wip

* wip

* cf

* wip

* wip

* wip

* cf

* clean

* wip

* clean

* cf

* clean

* clean

* test

* clean

* wip

* cf

* wip

* clean

* clean

* wip

* wip

* clean

* cf

* clean

* Requested changes

* cf

* no convertToFullColumnIfConst

* clean

* clean

* clean

* fix

* Remove comment
2019-02-28 01:18:58 +03:00
alexey-milovidov
40d8abbc34
Merge pull request #4523 from yandex/fix_column_description_parse
Fix column description parse. Now creation of replicated MT table wit…
2019-02-28 01:18:31 +03:00
alexey-milovidov
fc72994e9d
Merge pull request #4527 from yandex/fix-build-with-avx
Fixed build with AVX enabled #4508
2019-02-28 01:10:06 +03:00
Alexey Milovidov
99797c0172 Fixed build with AVX enabled #4508 2019-02-27 23:04:35 +03:00
Alexey Milovidov
62b246c5a4 Avoid excessive "stat" syscall\ 2019-02-27 23:02:48 +03:00
Alexey Milovidov
c3623f7bb6 Fixed error with underestimation of data size to read when choosing O_DIRECT mode 2019-02-27 22:32:54 +03:00
Alexey Milovidov
3256b816be Merge branch 'master' of github.com:yandex/ClickHouse 2019-02-27 22:12:17 +03:00
Alexey Milovidov
141d9add39 Fixed error message 2019-02-27 22:12:08 +03:00
Alexey Zatelepin
df5ad1871a add comment [#CLICKHOUSE-3789] 2019-02-27 21:39:55 +03:00
Alexey Zatelepin
5ac1d4dd4e rename LockHandler -> LockHolder [#CLICKHOUSE-3789] 2019-02-27 21:34:38 +03:00
Alexey Zatelepin
0d7ab9e3ea allow acquiring read lock to a table out of order if it was already locked by the same query [#CLICKHOUSE-3789]
this is important in preventing ALTER deadlocks
2019-02-27 21:34:38 +03:00
BayoNet
720d44837a DOCAPI-5436: Clarification of the 'empty' function description. 2019-02-27 21:27:29 +03:00
alesapin
8bea1513ca Comment without default 2019-02-27 20:01:59 +03:00
proller
23d70b2e04
Add Y_IGNORE (#4521) 2019-02-27 19:52:08 +03:00
alesapin
1909c87885 Fix column description parse. Now creation of replicated MT table with codecs and comments is possible without default 2019-02-27 19:41:51 +03:00
Vitaly Baranov
4ad2f3d5f6
Merge pull request #4514 from vitlibar/document-protobuf-format
Add documentation of Protobuf input/output format.
2019-02-27 19:33:26 +03:00
Vitaly Baranov
5cf7075db9 Add documentation of Protobuf input/output format. 2019-02-27 19:13:31 +03:00
Ivan
a1e266fd6c
Fix test reference 2019-02-27 18:41:32 +03:00
Vitaly Baranov
6fbcc12674
Merge pull request #4493 from vitlibar/support-for-nested-messages-in-protobuf-output
Added support for nested messages in protobuf output format
2019-02-27 18:16:45 +03:00