Commit Graph

6712 Commits

Author SHA1 Message Date
artpaul
a2b4b85ed5 show type of argument in case of type missmatching 2016-12-02 13:59:23 +05:00
artpaul
7eb7cc38f7 move impls of FunctionsString to cpp 2016-12-02 12:32:39 +05:00
artpaul
41fda59c95 move impls of FunctionsArray to cpp 2016-12-02 12:15:35 +05:00
Alexey Milovidov
21f8501ccc Benchmark: update [#METR-2944]. 2016-12-02 06:39:11 +03:00
alexey-milovidov
9cea29e9a8 Merge pull request #213 from vavrusa/master
IO: Added ProfileEvents to Open/Read/Write failures
2016-12-01 22:28:36 +04:00
Marek Vavrusa
64f86b7d20 IO: Added ProfileEvents to Open/Read/Write failures 2016-11-30 12:21:57 -08:00
alexey-milovidov
21ce8a44f7 Merge pull request #216 from yandex/if_with_const_condition
ExpressionAnalyzer: make aliases and ast consistent after constant if optimization
2016-11-30 17:58:02 +04:00
Pavel Kartavyy
5dfbd57bad ExpressionAnalyzer: make aliases and ast consistent after constant if optimization 2016-11-30 16:19:39 +03:00
Vitaliy Lyudvichenko
4df22acea9 Try to fix LIBTCMALLOC linking. 2016-11-30 15:10:39 +03:00
proller
33cc46d225 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-30 00:42:05 +03:00
Vitaliy Lyudvichenko
202ba912ce Vertical merging algorithm for MergeTree engines. [#METR-23305] 2016-11-29 22:41:31 +03:00
alexey-milovidov
08cb8e506b Merge pull request #211 from yandex/if_with_const_condition
ExpressionAnalyzer: added more tests for aliases. fix bug [METR-23545]
2016-11-29 23:28:50 +04:00
Pavel Kartavyy
106bb24fd8 ExpressionAnalyzer: added more tests for aliases. fix bug [#METR-23545] 2016-11-29 22:19:15 +03:00
proller
30cd3176d9 Merge branch 'autotest-external-dictionaries' into move-autotest-external-dictionaries 2016-11-29 20:06:09 +03:00
proller
936efe55f1 move * -> dbms/tests/external_dictionaries 2016-11-29 20:03:54 +03:00
proller
b529f29bb7 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-29 19:57:01 +03:00
Vitaliy Lyudvichenko
1472629799 Updated pk_condition test after recent changes. 2016-11-28 20:59:39 +03:00
Alexey Milovidov
ae413e051b Fixed error [#METRIQA-526]. 2016-11-28 18:22:10 +03:00
Alexey Milovidov
0a2d1ebbb3 Attempt to improve merge selecting algorithm [#METR-23632]. 2016-11-28 06:46:08 +03:00
Alexey Milovidov
cac8f9216f MergeSelector: attempt to do something that has sense [#METR-23632]. 2016-11-28 06:17:31 +03:00
Alexey Milovidov
8bc84e29ac Increased default background_pool_size [#METR-23632]. 2016-11-28 02:50:46 +03:00
proller
5e6cac10e5 no copypaste 2016-11-27 16:01:35 +03:00
proller
4c90ffd61d Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-27 15:03:35 +03:00
Alexey Milovidov
6209092b15 Added heuristic for merge algorithm [#METR-23615]. 2016-11-26 07:08:49 +03:00
proller
2aeb488d96 add writePrefix 2016-11-25 23:37:06 +03:00
proller
556bd12de1 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-25 20:46:59 +03:00
alexey-milovidov
7fda6394b8 Merge pull request #202 from yandex/if_with_const_condition
ExpressionAnalyzer: optimize if with constant condition [METR-23545]
2016-11-25 20:03:04 +04:00
Pavel Kartavyy
cd15651dfd optimize if. added test for aliases 2016-11-25 12:29:17 +03:00
proller
26fe10a7b4 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-25 03:22:30 +03:00
proller
40e674407f return http write callback 2016-11-25 03:16:20 +03:00
Alexey Milovidov
7d280a55a3 Fixed error that server could not shutdown while fetching parts [#METR-23616]. 2016-11-25 02:18:24 +03:00
Alexey Milovidov
167782c230 Addition to prev. revision [#METR-23615]. 2016-11-25 01:43:49 +03:00
Alexey Milovidov
8e5889cf0e Improved merge selecting algorithm for Replicated tables [#METR-23615]. 2016-11-25 01:41:27 +03:00
Alexey Milovidov
36553dd653 Fixed deadlock [#METR-23605]. 2016-11-24 23:25:02 +03:00
proller
3b335b5546 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-24 22:58:40 +03:00
proller
e6d3c8855e http ook 2016-11-24 22:57:24 +03:00
alexey-milovidov
8c2e228856 Revert "New "vertical" algorithm for MergeTrees' parts merges" 2016-11-24 23:08:54 +04:00
proller
e855c16f4a Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-24 21:25:56 +03:00
alexey-milovidov
8544a8b852 Merge pull request #171 from ludv1x/METR-23305
New "vertical" algorithm for MergeTrees' parts merges
2016-11-24 22:07:41 +04:00
Pavel Kartavyy
84a89b3b3d ExpressionAnalyzer: optimize if with constant condition [#METR-23545] 2016-11-24 17:18:44 +03:00
Vitaliy Lyudvichenko
544ef67c28 Fixed IN <Set> usage inside PK expressions.
Refactoring of type conversion functions convertFieldToType().
2016-11-24 15:32:04 +03:00
proller
8c07957e38 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-24 04:01:18 +03:00
proller
2e02e29652 wip 2016-11-24 04:01:11 +03:00
proller
43e057d5e9 dont use OwningBufferBlockInputStream 2016-11-24 02:49:46 +03:00
alexey-milovidov
fdabcd4e38 Merge pull request #192 from ludv1x/enums-fix
Fixed Enum usage in PK expressions.
2016-11-24 03:13:16 +04:00
proller
8f573d7308 clean 2016-11-24 01:44:53 +03:00
proller
c919c02ed4 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-24 00:04:38 +03:00
Alexey Milovidov
a2e9359b18 Fixed rare deadlock after startup when structure of query_log was changed [#METR-23594]. 2016-11-23 23:41:39 +03:00
Vitaliy Lyudvichenko
4f9064ca19 Fixed case when pk column is wrapped by functions. 2016-11-23 22:58:33 +03:00
Vitaliy Lyudvichenko
d27951b4a7 Added requested changes. [#METR-23473] 2016-11-23 16:33:05 +03:00
Vitaliy Lyudvichenko
e07fc7cea5 Fixed Enum usage in PK expressions. [#METR-23473]
Added check for duplicates of column names in CREATE query.
2016-11-23 16:19:15 +03:00
Vitaliy Lyudvichenko
fe891eb198 Removed extra check. 2016-11-23 16:09:29 +03:00
Vitaliy Lyudvichenko
ef593d1b01 Added merge_tree.enable_vertical_merge_algorithm setting. 2016-11-23 15:59:25 +03:00
Vitaliy Lyudvichenko
588add5a49 Added requested changes.
Also fixed single thread read from empty storage Log.
2016-11-23 15:52:12 +03:00
Vitaliy Lyudvichenko
2cd5b8b604 Updated MergeInfo and progress callbacks with respect to vertical merge alg. 2016-11-23 15:52:12 +03:00
Vitaliy Lyudvichenko
ec9bcd8054 Vertical merging algorithm for ordinary MergeTreee. 2016-11-23 15:47:19 +03:00
proller
4f39c04854 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-23 01:33:37 +03:00
proller
eeeacd0805 merge upstream 2016-11-23 01:33:02 +03:00
Alexey Milovidov
4cab31a60e Tiny improvement [#METR-2944]. 2016-11-22 23:55:45 +03:00
Alexey Milovidov
bba5dcbcfa Fixed deadlock [#METR-23557]. 2016-11-22 22:27:45 +03:00
Alexey Milovidov
94e344ee38 Part checks don't lock ALTERs [#METR-22214]. 2016-11-22 21:49:17 +03:00
Alexey Milovidov
886919a5c9 Removed excessive part checks [#METR-22214]. 2016-11-22 21:29:36 +03:00
Alexey Milovidov
5e799ca8cd Better [#METR-22214]. 2016-11-22 21:17:24 +03:00
Alexey Milovidov
3b635bf641 Merge branch 'master' of github.com:yandex/ClickHouse 2016-11-22 20:42:21 +03:00
Alexey Milovidov
a464f2303d Better logic for ALTER in ReplicatedMergeTree [#METR-22214]. 2016-11-22 20:41:45 +03:00
proller
e280569453 Everything [maybe] works! 2016-11-22 18:03:54 +03:00
proller
0b40a13ea7 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-22 14:56:57 +03:00
Eugene Konkov
d8973b61cf flush after print test case name 2016-11-21 22:16:31 +03:00
Pavel Kartavyy
3569176cbf clickhouse-test: make status messages to be bold 2016-11-21 11:37:51 +03:00
Alexey Milovidov
820659b71c Fixed error in URL functions [#METR-2944]. 2016-11-21 05:39:37 +03:00
Alexey Milovidov
b0fa239612 Fixed error [#METR-2944]. 2016-11-21 03:56:59 +03:00
Alexey Milovidov
ef3fb70123 Fixed error [#METR-2944]. 2016-11-21 03:36:50 +03:00
Alexey Milovidov
e2b8236cf4 Fixed error [#METR-2944]. 2016-11-20 16:17:51 +03:00
Alexey Milovidov
43eea71930 Addition to prev. revision [#METR-2944]. 2016-11-20 15:51:56 +03:00
Alexey Milovidov
8236fd2076 Addition to prev. revision [#METR-2944]. 2016-11-20 15:46:32 +03:00
Alexey Milovidov
9018906e1a Better [#METR-2944]. 2016-11-20 15:43:20 +03:00
Alexey Milovidov
c38a9118b1 More tolerant to previous errors [#METR-22327]. 2016-11-20 12:17:30 +03:00
Alexey Milovidov
60c62055ba Added comment [#METR-22327]. 2016-11-20 12:13:06 +03:00
Alexey Milovidov
c8c86208aa Fixed error with ALTER of Enums in Nested fields [#METR-22442]. 2016-11-20 11:57:11 +03:00
Alexey Milovidov
37d6ecc372 Allowed to sort one array by values of another array [#METR-23547]. 2016-11-20 09:49:24 +03:00
Alexey Milovidov
23257cd562 Added functions arraySort and arrayReverseSort [#METR-23547]. 2016-11-20 09:44:38 +03:00
Alexey Milovidov
7c53fd5867 Miscellaneous [#METR-2944]. 2016-11-20 08:48:07 +03:00
Alexey Milovidov
312ec5f817 Style [#METR-2944]. 2016-11-20 08:13:55 +03:00
Alexey Milovidov
75a058fbab Added test [#METR-23546]. 2016-11-20 07:51:37 +03:00
Alexey Milovidov
126be841c6 Merge branch 'master' of github.com:yandex/ClickHouse 2016-11-20 07:49:20 +03:00
Alexey Milovidov
3a16cd3ecc Added string concatenation operator [#METR-23546]. 2016-11-20 07:47:51 +03:00
Vladimir Chebotarev
cdfcea7488 dbms: Fixed build under OS X. [#METR-21516] 2016-11-20 01:21:00 +03:00
proller
ee2d9503c8 wip 2016-11-19 03:56:15 +03:00
proller
fd3a9da076 httd dict wip 2016-11-19 03:07:58 +03:00
proller
636cbe4323 fix GET /path?params 2016-11-19 03:07:15 +03:00
proller
02b4a4aded wip 2016-11-18 23:20:08 +03:00
proller
61e6ee9100 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-18 15:14:34 +03:00
Alexey Milovidov
ea0c752852 Investigated flappy test [#METR-23540]. 2016-11-18 12:02:49 +03:00
Alexey Milovidov
643c2b747a Added test [#METR-23539]. 2016-11-18 11:31:46 +03:00
Alexey Milovidov
6d914bc4db Fixed error with default value of Enum and WITH TOTALS [#METR-23539]. 2016-11-18 11:29:45 +03:00
Alexey Milovidov
ef85902daa Little better [#METR-22327]. 2016-11-18 06:15:49 +03:00
Alexey Milovidov
dfd7f54c1c Little improvement in case of too much parts [#METR-22327]. 2016-11-18 05:50:28 +03:00
Alexey Milovidov
e73e4e887a Better logic when there is very large number of parts in non-replicated MergeTree [#METR-22327]. 2016-11-18 05:34:34 +03:00
Alexey Milovidov
a44e5193b0 Better backpressure for INSERT SELECT into MergeTree [#METR-22327]. 2016-11-18 05:05:25 +03:00
proller
881319c4ec Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-18 04:48:21 +03:00
proller
63eaa97086 wip 2016-11-18 04:48:13 +03:00
Alexey Milovidov
b19e61757e Little improvement for large number of small inserts [#METR-22327]. 2016-11-18 04:03:57 +03:00
Alexey Milovidov
cfcdb3f881 Added check [#METR-22327]. 2016-11-18 03:20:22 +03:00
Alexey Milovidov
0700f53665 Fixed error with 'intersects previous part' [#METR-22327]. 2016-11-18 03:19:35 +03:00
proller
d055d82777 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-17 18:34:52 +03:00
Vitaliy Lyudvichenko
51f57e7079 Small clickhouse-local fixes. 2016-11-17 16:58:21 +03:00
proller
da6f40ac12 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-17 04:09:58 +03:00
proller
cc0e0e739e ExecutableDictionarySource ok 2016-11-17 04:09:46 +03:00
Alexey Milovidov
84b4907b2a Merge branch 'master' of github.com:yandex/ClickHouse 2016-11-17 03:40:02 +03:00
Alexey Milovidov
942a000009 Allow to run 'clickhouse-local' program by pressing enter in source directory of server [#METR-23101]. 2016-11-17 03:39:11 +03:00
Alexey Zatelepin
307e397dce adopt server timezone in non-interactive mode also 2016-11-17 00:12:08 +00:00
Alexey Zatelepin
cbed811b95 use_client_time_zone test 2016-11-17 00:11:02 +00:00
proller
278fbbb4da Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-17 00:02:25 +03:00
proller
5c9d42d4f4 wip 2016-11-17 00:02:07 +03:00
Alexey Milovidov
a4aae7e047 Fixed ClientInfo [#METR-19471]. 2016-11-16 23:46:02 +03:00
Pavel Kartavyy
3ad04a0f39 updated test for hasColumnInTable 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
5d7afb7588 clickhouse-test: fix error 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
edd6c25c2c clickhouse-client: some tests has non unicode symbols in stdout 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
aac646ccfc update after review 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
631d9ea0a0 add getSessionContext() const 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
51cf368e1f clickhouse-test: use termcolor for text highlighting 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
09a24f2b48 clickhouse-test: fix reading of non ascii test output 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
766caff3dc add tests for hasColumnInTable [#METR-23248] 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
bdb7e9745b add hasColumnInTable function [#METR-23248] 2016-11-16 18:52:35 +03:00
Alexey Milovidov
c6c94cbcef Added missing modification [#METR-23505]. 2016-11-16 09:15:38 +03:00
Alexey Milovidov
866e64a65e Fixed deadlock in test when many replicas on single server try to execute multiple attaches and wait for each other [#METR-23507]. 2016-11-16 09:08:29 +03:00
Alexey Milovidov
d5155fbe7a Added quota_key to query_log and processlist [#METR-23505]. 2016-11-16 08:09:41 +03:00
Alexey Milovidov
5f5407db26 Merge branch 'master' of github.com:yandex/ClickHouse 2016-11-16 08:05:29 +03:00
Alexey Milovidov
bee6183d35 Fixed error [#METR-2944]. 2016-11-16 08:05:14 +03:00
Alexey Milovidov
bade1519ba Fixed 'variable tracking size limit exceeded' notice [#METR-23101]. 2016-11-16 05:51:00 +03:00
alexey-milovidov
3432f84409 Merge pull request #183 from ztlpn/METR-23447
Client uses server timezone for interpreting DateTime strings [#METR-23447]
2016-11-16 05:22:28 +04:00
proller
099edebc28 wip 2016-11-16 03:34:57 +03:00
proller
d56fc2fd39 Merge remote-tracking branch 'upstream/master' into METR-23466 2016-11-16 02:56:08 +03:00
proller
8fec8e2ac4 simple get works 2016-11-16 02:55:45 +03:00
Vitaliy Lyudvichenko
4cd2909899 Merged new packages into clickhouse-client.
More detail diagnostic for test.
2016-11-16 02:49:27 +03:00
proller
60ec3506a9 wip 2016-11-16 01:05:49 +03:00
proller
593e3c26bf initial 2016-11-15 22:51:06 +03:00
Alexey Zatelepin
e1bb33cad0 PR fixes:
* add forgotten const
* print exception string if switching to server timezone failed
* protocol compatibility with old versions
* use ALWAYS_INLINE in DateLUT.h
2016-11-15 10:24:55 +00:00
alexey-milovidov
1afac6a36c Merge pull request #187 from ludv1x/METR-23101
Removed binary stripping, try to fix clickhouse-local test.
2016-11-15 02:52:43 +04:00
Vitaliy Lyudvichenko
26fe84b3d0 Removed binary stripping, try to fix clickhouse-local test. 2016-11-15 00:58:17 +03:00
Alexey Milovidov
0dfb616093 Merge branch 'master' of github.com:yandex/ClickHouse 2016-11-14 23:32:33 +03:00
alexey-milovidov
eb6605bf17 Merge pull request #186 from ludv1x/METR-23101
Fixed debian build install.
2016-11-14 23:29:28 +04:00
Vitaliy Lyudvichenko
73e5f828f4 Fixed debian build install. 2016-11-14 22:14:11 +03:00
Alexey Milovidov
e7fccc4044 Modified backpressure method for MergeTree [#METR-23488]. 2016-11-14 21:19:08 +03:00
alexey-milovidov
56e7e380ca Merge pull request #185 from ludv1x/METR-23101
Fixed debian package build.
2016-11-14 19:58:33 +04:00
Vitaliy Lyudvichenko
bfbe8f8ed1 Fixed debian package build. 2016-11-14 18:32:55 +03:00
Alexey Milovidov
eb1ae65eda Fixed error with analyzing double-distributed subqueries [#METR-23472]. 2016-11-14 04:13:56 +03:00
alexey-milovidov
52390b0180 Merge pull request #150 from ludv1x/METR-23101
clickhouse-local application and File(...) storage
2016-11-14 04:03:03 +04:00
Vitaliy Lyudvichenko
107f7b34c7 Added requested PR changes, 2nd iteration. 2016-11-14 02:57:18 +03:00
Alexey Zatelepin
3a7260e200 [#METR-23447] Client uses server timezone for DateTime string parsing 2016-11-13 19:34:31 +00:00
Alexey Milovidov
bfdc262f87 Added comment [#METR-23472]. 2016-11-13 05:25:03 +03:00
Alexey Milovidov
be7cc18d00 Fixing bad test [#METR-23472]. 2016-11-13 05:19:38 +03:00
artpaul
e1cda4b760 move impl of common parsers to cpp 2016-11-12 22:55:40 +05:00
artpaul
c617565f3b q!Merge branch 'master' of git://github.com/yandex/ClickHouse 2016-11-12 21:04:38 +05:00
artpaul
b5ad7c021b fix clang: remove unused variable 2016-11-12 21:03:44 +05:00
Alexey Milovidov
5b72f0956a Setting level to zero after ATTACH [#METR-23438]. 2016-11-11 20:33:43 +03:00
artpaul
1e34e7a15c move some impl details of DistinctBlockInputStream to cpp 2016-11-11 02:24:40 +05:00
Vitaliy Lyudvichenko
c05f512637 Merged server, client and local into single binary, more args for local mode. 2016-11-09 22:06:29 +03:00
Vitaliy Lyudvichenko
bae8c7edf8 Added more command line features and docs. Fixed queries splitting. 2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
9ae568e51f Added fix after rebase, and recognition of local mode by argv[0]. 2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
bf924009b9 Added support of seekable files for StorageFile, more options for clickhouse-local. [#METR-23101] 2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
2242cfd6b0 Put DatabaseMemory class into separated file. 2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
05620299cd Reverted changes in main Server and BaseDaemon classes. 2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
d952dd39b0 Merged clickhouse-server and clickhouse-local into common app. 2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
48a3d25f99 Implemented tiny clickhouse-local app. 2016-11-09 22:03:47 +03:00
Vitaliy Lyudvichenko
cf24f6e2d1 Implemented draft version of clickhouse-local service. 2016-11-09 22:03:47 +03:00
Vitaliy Lyudvichenko
0e2eb5436b Added StorageFile and template for clickhouse-local app. 2016-11-09 22:03:47 +03:00
Vladimir Chebotarev
cdaece7dfa : More specific usage of static libraries. [#METR-21516] 2016-11-09 21:49:01 +03:00
Alexey Milovidov
34a9af27bf Inreased default ALTERs safety threshold [#METR-2944]. 2016-11-09 17:14:39 +03:00
alexey-milovidov
5905556db5 Merge pull request #161 from yandex/chebotarev-osx
dbms: max_open_files for server. [#METR-21516]
2016-11-07 22:44:35 +04:00
Vladimir Chebotarev
72a533bc11 dbms: max_open_files for server, readline in OS X. [#METR-21516] 2016-11-07 14:33:25 +03:00
Alexey Milovidov
efa056fc77 Attempt to improve merge selecting algorithm [#METR-21840]. 2016-11-05 04:11:51 +03:00
alexey-milovidov
3d05948c45 Merge pull request #159 from yandex/chebotarev-osx
[WIP] OS X 10.12 build
2016-11-03 21:14:30 +04:00
Vladimir Chebotarev
e2ceb63c54 libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516] 2016-11-03 15:41:13 +03:00
Alexey Milovidov
8ba7a32410 Fixed error with BackgroundProcesssingPool [#METRIKASUPP-7484]. 2016-11-02 18:26:16 +03:00
Alexey Milovidov
621da9c2f7 Added test [#METR-22971]. 2016-11-02 00:10:22 +03:00
Alexey Milovidov
5af20c3dd2 Fixed error with ColumnAggregateFunction [#METR-22971]. 2016-11-02 00:06:41 +03:00
Alexey Milovidov
22719b1114 MergeSelector: further [#METR-21840]. 2016-11-01 23:30:40 +03:00
Alexey Milovidov
aaec9d1db6 Attempt for improvement [#METR-21840]. 2016-11-01 22:20:24 +03:00
Alexey Milovidov
751f3913ee Fixed build [#METR-20000]. 2016-11-01 20:56:25 +03:00
alexey-milovidov
d1f11af2c2 Merge pull request #151 from Civil/osx_compatibility
[WIP] Make it compilable on OS X
2016-11-01 21:09:48 +04:00
Vladimir Smirnov
d36f52502e Make it compilable on OS X
It's still hackish and dirty, but server and client compies.

Server starts, but throwes meaningless exception on any query.

Client seems to be working fine.

Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
5d394a20a1 MergeSelector: changed logic of selection of parts for OPTIMIZE (more like it was before) [#METR-21841]. 2016-11-01 18:22:04 +03:00
Alexey Milovidov
48f14be32b RegionsHierarchy: fix for negative type [#METR-20000]. 2016-11-01 17:55:58 +03:00
Alexey Milovidov
bdde1b05cc Returned support of (ignored) negative region ids or parent region ids in regions embedded dictionaries [#MTRSADMIN-2425]. 2016-11-01 15:57:58 +03:00
Alexey Milovidov
ecf2f6b6ab MergeSelector: development [#METR-21841]. 2016-11-01 14:27:29 +03:00
Alexey Milovidov
a3a8b49e80 MergeSelector: development [#METR-21841]. 2016-11-01 14:26:36 +03:00
Alexey Milovidov
91dbf74ac0 MergeSelector: development [#METR-21841]. 2016-11-01 11:38:55 +03:00
Alexey Milovidov
933c8f3d68 MergeSelector: development [#METR-21841]. 2016-11-01 01:53:54 +03:00
Alexey Milovidov
573a84c89a MergeSelector: development [#METR-21841]. 2016-10-31 22:45:22 +03:00
Alexey Milovidov
49602c44a9 MergeSelector: development [#METR-21841]. 2016-10-31 22:32:08 +03:00
Alexey Milovidov
4fd7183049 MergeSelector: fixed error [#METR-21841]. 2016-10-31 22:11:09 +03:00
Alexey Milovidov
89328b498f MergeSelector: development [#METR-21841]. 2016-10-31 08:35:29 +03:00
Alexey Milovidov
bee00bfcfc MergeSelector: development [#METR-21841]. 2016-10-30 14:05:45 +03:00
Alexey Milovidov
b7f635d8df Merge selector: development [#METR-21840]. 2016-10-30 12:13:30 +03:00
Alexey Milovidov
a832a8cd71 MergeSelector: development [#METR-21840]. 2016-10-30 11:54:27 +03:00
Alexey Milovidov
4dec8babf1 MergeSelector: development [#METR-21840]. 2016-10-30 11:47:47 +03:00
Alexey Milovidov
bab6e9ea22 MergeSelector: development [#METR-21840]. 2016-10-30 11:32:05 +03:00
Alexey Milovidov
1b2bbcd359 MergeSelector: development [#METR-21840]. 2016-10-30 11:25:07 +03:00
Alexey Milovidov
ba48688f25 MergeSelector: development [#METR-21840]. 2016-10-30 11:15:55 +03:00
Alexey Milovidov
c5c63bdf5d MergeSelector: development [#METR-21840]. 2016-10-30 06:39:28 +03:00
Alexey Milovidov
3d48f9d34b MergeSelector: development [#METR-21840]. 2016-10-30 06:12:25 +03:00
Alexey Milovidov
e5539af681 Merge branch 'master' into merge-selector 2016-10-29 22:47:34 +03:00
Alexey Milovidov
024799acee Fixed error in Poco::UTF8Encoding::isLegal function [#METR-23332]. 2016-10-29 20:15:43 +03:00
Alexey Milovidov
ebbe877a70 Preparation [#METR-23332]. 2016-10-29 20:13:35 +03:00
Alexey Milovidov
b5156a115d Additions [#METR-21504]. 2016-10-28 02:28:35 +03:00
Alexey Milovidov
74c3b30622 dbms: Simplified logic of selecting merges [#METR-21841]. 2016-10-28 01:50:02 +03:00
Alexey Milovidov
f9eb536825 RegionsHierarchy: improvement [#METR-20000]. 2016-10-27 20:53:47 +03:00
Alexey Milovidov
e9067a5f2d Merge branch 'master' of github.com:yandex/ClickHouse 2016-10-27 20:48:32 +03:00
Alexey Milovidov
968bcb6f66 Preparation [#METR-2944]. 2016-10-27 20:48:12 +03:00
alexey-milovidov
77e3d75ca0 Merge pull request #153 from ludv1x/METR-23285
Fixed segfaults in quantiles* functions with empty levels set.
2016-10-27 19:17:10 +04:00
Vitaliy Lyudvichenko
07f4bfc844 Fixed segfaults in quantiles* functions with empty levels set. [#METR-23285] 2016-10-27 17:51:43 +03:00
Alexey Milovidov
350f73da02 Fixed error in Dictionaries [#METR-20000]. 2016-10-27 16:04:49 +03:00
Alexey Milovidov
f6f92cb7bc Fixed error with falsely reported large memory consumption of long running INSERT queries [#METR-23288]. 2016-10-25 17:22:10 +03:00
Alexey Milovidov
687a6d1496 Addition to prev. revision [#METR-2944]. 2016-10-25 09:57:12 +03:00
Alexey Milovidov
8be993bd1e Preparation [#METR-2944]. 2016-10-25 09:49:24 +03:00
Alexey Milovidov
c2fa56b905 ClientInfo: fixes [#METR-23279]. 2016-10-25 08:07:29 +03:00
Alexey Milovidov
3a5300b8d1 Addition to prev. revision [#METR-23279]. 2016-10-25 01:46:27 +03:00
Alexey Milovidov
72f0dba30d Addition to prev. revision [#METR-23279]. 2016-10-25 01:33:40 +03:00
Alexey Milovidov
1527176378 Addition to prev. revision [#METR-23279]. 2016-10-25 01:30:51 +03:00
Alexey Milovidov
a081f5f05b Addition to prev. revision [#METR-23279]. 2016-10-25 01:11:36 +03:00
Alexey Milovidov
61646cbd01 Addition to prev. revision [#METR-23279]. 2016-10-25 00:53:12 +03:00
Alexey Milovidov
daeac24f04 Added ClientInfo: passing original source of query during distributed query execution; improvement of per-user limits in ProcessList [#METR-23279]. 2016-10-25 00:40:39 +03:00
Alexey Milovidov
15b369bd08 More instrumentation [#METR-23272]. 2016-10-24 16:47:15 +03:00
Alexey Milovidov
9a3deed1ea Added metric about leadership [#METR-23272]. 2016-10-24 15:46:54 +03:00
Alexey Milovidov
2dd43be6e6 Don't hold shared_ptr to zookeeper for long time, because it makes very difficult to remove ephemeral nodes in case of temporary communication errors and thus breaks leader election [#METR-23272]. 2016-10-24 15:34:08 +03:00
Alexey Milovidov
9373b87639 Added missing malloc metrics [#METR-23231]. 2016-10-24 11:03:25 +03:00
Alexey Milovidov
5b562c63d5 Addition to prev. revision [#METR-23231]. 2016-10-24 09:08:53 +03:00
Alexey Milovidov
ff661a8492 Added tcmalloc-related metrics [#METR-23231]. 2016-10-24 08:40:00 +03:00
Alexey Milovidov
ea852bb9d8 Separate compilation of CurrentMetrics; Separated AsynchronousMetrics from CurrentMetrics; Comments [#METR-23237]. 2016-10-24 07:06:27 +03:00
Alexey Milovidov
de479eb36a Comment [#METR-2944]. 2016-10-24 06:08:56 +03:00
Alexey Milovidov
fefb714b76 Tiny modification [#METR-2944]. 2016-10-24 06:07:58 +03:00
Alexey Milovidov
cac493d0a0 Addition to prev. revision [#METR-23237]. 2016-10-24 05:06:52 +03:00
Alexey Milovidov
32eeb84992 Merge branch 'master' of github.com:yandex/ClickHouse 2016-10-24 05:03:22 +03:00
Alexey Milovidov
9af5ce1e3b Separate compilation of ProfileEvents; comments [#METR-23237]. 2016-10-24 05:02:37 +03:00
f1yegor
af01f6fdcc translate config.xml and MergeTreeSettings.h 2016-10-23 22:13:10 +02:00
Alexey Milovidov
4d9b3fd3ee Better [#METR-23198]. 2016-10-23 13:59:53 +03:00
Alexey Milovidov
692bb379e3 Fixes; faster shutdown [#METR-23237]. 2016-10-23 13:52:32 +03:00
Alexey Milovidov
181c2302fc Addition to prev. revision [#METR-23237]. 2016-10-23 13:34:11 +03:00
Alexey Milovidov
6c9dea8a8b Addition to prev. revision [#METR-23237]. 2016-10-23 09:38:53 +03:00
Alexey Milovidov
be84b78b93 Added actively updating metrics [#METR-23237]. 2016-10-23 09:12:50 +03:00
Alexey Milovidov
f05fa7695a Removed useless code [#METR-2944]. 2016-10-23 08:37:45 +03:00
Alexey Milovidov
afcd933237 Probably better [#METR-23198]. 2016-10-23 06:46:51 +03:00
Alexey Arno
27fbef6ace dbms: Server: renaming [#METR-19266] 2016-10-21 19:55:34 +03:00
Alexey Arno
a75cfb6df5 Merge branch 'master' into METR-19266 [#METR-19266] 2016-10-21 19:53:35 +03:00
Alexey Arno
8a0ecc3587 dbms: Server: Added nullable support for sets [#METR-19266] 2016-10-21 19:50:41 +03:00
Alexey Arno
38f4ebade8 dbms: Server: fixes [#METR-19266] 2016-10-21 17:57:43 +03:00
Alexey Arno
55bb0f00b7 dbms: Server: fixes [#METR-19266] 2016-10-21 17:15:25 +03:00
Alexey Arno
c8cc8948d6 dbms: Server: fixes [#METR-19266] 2016-10-21 16:38:26 +03:00
Alexey Arno
ef2dd96ee4 dbms: Server: fixes [#METR-19266] 2016-10-21 16:14:41 +03:00