chertus
314dcc5e9e
add two options to disable Decimal overflow checks CLICKHOUSE-3906
2018-08-22 16:22:56 +03:00
proller
b6dabaacb3
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-22 15:22:58 +03:00
Alexey Milovidov
a1d745888d
Dummy implementation for non-Linux platforms #2482
2018-08-22 08:56:06 +03:00
Alexey Milovidov
d355aa3932
Enlarged the size of system log queue 1000 times. It is reasonable, because multiple records are generated for each query for query_thread_log. The maximum size of system log queue will be few hundred MBs #2482
2018-08-22 07:36:53 +03:00
proller
3884e0793c
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-22 03:01:15 +03:00
Alexey Milovidov
509b43328e
Removed useless method #2482
2018-08-22 02:58:12 +03:00
Alexey Milovidov
b2b26f6e54
Removed useless method #2482
2018-08-22 02:56:55 +03:00
CurtizJ
0704da5756
Merge branch 'master' into CLICKHOUSE-3893
2018-08-21 20:34:01 +03:00
CurtizJ
4534d449c1
working on rollup
2018-08-21 19:08:45 +03:00
proller
fc2925b567
Squashed commit of the following:
...
commit 2722e540abfee4a527d716474c4ca582eceeee08
Merge: b4f3af824 aebddd550
Author: proller <proller@github.com>
Date: Tue Aug 21 18:34:18 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit b4f3af824b88a8b6826583bb483730827574e8ad
Author: proller <proller@github.com>
Date: Tue Aug 21 17:00:20 2018 +0300
fix
commit 3a18fa7ded2a7d6b7a0883a1b9c2d6b99360837d
Author: proller <proller@github.com>
Date: Tue Aug 21 16:57:17 2018 +0300
fix
commit 5d42220c2cf47e1a86bdc73dbfc24b68f8626891
Author: proller <proller@github.com>
Date: Tue Aug 21 16:50:21 2018 +0300
freebsd fixes
commit 7baf4fb5ba4575f79b0d12a9ffaaabd34e1006da
Author: proller <proller@github.com>
Date: Tue Aug 21 16:17:19 2018 +0300
fix
commit e1fe707fd765b841a8d0952d91a980128cbf91d0
Author: proller <proller@github.com>
Date: Tue Aug 21 15:35:21 2018 +0300
fix
commit 027887c71b3ffa98d9473d50d8c3b79cbf3304ac
Author: proller <proller@github.com>
Date: Tue Aug 21 15:25:57 2018 +0300
fix
commit 81af41bfcfff7c02fe4060196cf03c2d2aab416e
Author: proller <proller@github.com>
Date: Tue Aug 21 15:20:41 2018 +0300
fix
commit 93d572c85d9c7e331254999a614c3b22b5573b02
Author: proller <proller@github.com>
Date: Tue Aug 21 14:58:07 2018 +0300
SPLIT_SHARED
commit dd5b8990d8527d59b1e890943d80c2bf27c613ce
Author: proller <proller@github.com>
Date: Tue Aug 21 14:52:39 2018 +0300
fix
commit 4840ca12ab752a38c1ef482e8ec59c5859bb48d7
Author: proller <proller@github.com>
Date: Tue Aug 21 14:46:31 2018 +0300
fix
commit abde633beb86f2a0d025d6fcf079965dbd827b92
Author: proller <proller@github.com>
Date: Tue Aug 21 14:25:32 2018 +0300
fix
commit 0d94a5476a5ba8ba5e88638d58f2cfbf2b4b662d
Author: proller <proller@github.com>
Date: Tue Aug 21 14:45:18 2018 +0300
Travis: try fail on ninja fail
commit c2686f90b68255c2beb0a708804aef404e80a6d2
Merge: 2c3427bbd 2aa7eb463
Author: proller <proller@github.com>
Date: Tue Aug 21 14:25:15 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 2c3427bbdb861edbb188ed4621e8a05cafaedafb
Author: proller <proller@github.com>
Date: Mon Aug 20 23:57:24 2018 +0300
fix
commit 530170c6a81d31dcfa81230e48520383234df4bc
Merge: 9abec162c f6e4ec970
Author: proller <proller@github.com>
Date: Mon Aug 20 23:57:03 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 9abec162cb2e09bbc2f33cbe80fe76791f6e5a77
Author: proller <proller@github.com>
Date: Mon Aug 20 23:49:58 2018 +0300
Apple fixes
commit 36d05e8217440fbc8ae21571b06d4eb6d679d538
Author: proller <proller@github.com>
Date: Mon Aug 20 23:25:05 2018 +0300
apple fix
commit aeec3e845e4456e89fbb1b1af6f9f36820a46e33
Author: proller <proller@github.com>
Date: Mon Aug 20 23:20:06 2018 +0300
fixes
commit 427961d916a5954981e47d94733996deb2a616ce
Author: proller <proller@github.com>
Date: Mon Aug 20 23:11:11 2018 +0300
fix
commit a7dd55ff8f653624c0f3dbcbc54defd3b3ae97af
Author: proller <proller@github.com>
Date: Mon Aug 20 22:41:53 2018 +0300
fix
commit 6200e0d315c7a62bae63a8de0fc32f7937770ad2
Merge: 8a541d7e6 21cedbe46
Author: proller <proller@github.com>
Date: Mon Aug 20 22:35:49 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 8a541d7e64c89e2c16af6c909e0353361153aaa3
Author: proller <proller@github.com>
Date: Mon Aug 20 22:34:32 2018 +0300
Do not use poco types
commit fd560f43d048b7e3307c6c6b9c9d9918230014d8
Author: proller <proller@github.com>
Date: Mon Aug 20 22:20:42 2018 +0300
Try fix apple build
commit cfb2eba07ac06f19e822d3474341d800b1f98cf1
Merge: 8d2e31c90 5b81fdfc0
Author: proller <proller@github.com>
Date: Mon Aug 20 22:03:24 2018 +0300
Merge remote-tracking branch 'upstream/master' into fix3
commit 8d2e31c908be2e99d09e2a9dde2414ab82a5e93c
Author: proller <proller@github.com>
Date: Mon Aug 20 21:56:06 2018 +0300
travis: TEST_SERVER_STARTUP_WAIT=10
2018-08-21 18:56:50 +03:00
Nikolai Kochetov
a475bb1c9f
Merge branch 'master' into low-cardinality-group-by
2018-08-21 17:28:10 +03:00
Alexey Milovidov
7d76c3fd4f
Miscellaneous [#CLICKHOUSE-3765]
2018-08-21 07:31:35 +03:00
Alexey Milovidov
3b39f6a4c3
Split ZooKeeperExceptions to three different metrics #2316
2018-08-21 04:27:22 +03:00
proller
91363760ea
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-20 19:34:09 +03:00
Alexey Milovidov
465ff07398
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-20 18:50:09 +03:00
Alexey Milovidov
2717185991
Modified names #2015
2018-08-20 18:49:39 +03:00
proller
159cdbbb3e
Try fix build (link order)
2018-08-20 18:34:37 +03:00
Nikolai Kochetov
b64bb8af14
Fix tests.
2018-08-20 15:57:31 +03:00
Nikolai Kochetov
391b4b5927
Merged with master.
2018-08-20 15:25:06 +03:00
Alexey Milovidov
f9a70a378c
Addition to prev. revision #2482
2018-08-20 05:42:17 +03:00
Alexey Milovidov
f1ba2f9a33
Try to fix "query in form data" feature while still tracking limits for external tables (try №2) #2482
2018-08-20 05:23:35 +03:00
Alexey Milovidov
06a7d0194d
Fixed test #2482
2018-08-19 07:56:20 +03:00
Alexey Milovidov
6741582950
Better diagnostic in test #2482
2018-08-19 07:54:14 +03:00
Alexey Milovidov
1c4f5d3359
Miscellaneous #2482
2018-08-17 21:57:07 +03:00
chenxing.xc
63fb4a5515
incorrect result iff only bucket #0 block received
2018-08-16 10:50:09 +08:00
Alexey Milovidov
56af576fe5
Removed duplicate query_id logging #2482
2018-08-16 01:39:19 +03:00
Alexey Milovidov
76af46ed5d
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
...
Conflicts:
dbms/src/Interpreters/Settings.h
dbms/tests/queries/0_stateless/00687_top_and_offset.sql
2018-08-16 00:44:24 +03:00
zhang2014
1549baa4e9
ISSUES-863 fix test failure #2015 #2840
2018-08-15 13:43:44 +08:00
Alexey Milovidov
dfd9be86d8
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-08-15 00:50:00 +03:00
Alexey Milovidov
5410f73ba7
Fixed warnings #2015
2018-08-15 00:49:51 +03:00
Alexey Milovidov
31867c0612
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-08-15 00:48:51 +03:00
Alexey Milovidov
03af27a218
Fixed warnings #2015
2018-08-15 00:48:39 +03:00
Alexey Milovidov
9916a75f2e
Merging #2482
2018-08-15 00:35:26 +03:00
alexey-milovidov
ce9c6a5ab3
Merge branch 'master' into feature/ISSUES-863
2018-08-15 00:34:23 +03:00
alexey-milovidov
8586e6bb2e
Merge pull request #2787 from zhang2014/fix/replace_asterisk
...
ISSUES-2786 fix replace asterisk with join query
2018-08-15 00:28:35 +03:00
Alexey Milovidov
93c9eab088
Merging #2482
2018-08-15 00:15:17 +03:00
alexey-milovidov
e7b671ec98
Merge branch 'master' into feature/ISSUES-863
2018-08-15 00:10:21 +03:00
Alexey Milovidov
acb99b49df
Merge branch 'master' into CLICKHOUSE-2910
2018-08-14 23:29:42 +03:00
chertus
8c54b480bc
minor fix
2018-08-14 16:26:23 +03:00
chertus
74823c8c17
add allow_experimental_decimal to settings
2018-08-14 15:51:45 +03:00
chertus
241b05c80a
merge master
2018-08-14 15:50:28 +03:00
alexey-milovidov
f42bd36fa0
Merge pull request #2856 from zhang2014/feature/add_check_access_database_for_system_tables
...
Add check access database for system tables
2018-08-14 12:53:43 +03:00
zhang2014
e51264c3a5
Add check access database for system tables
2018-08-14 11:28:32 +08:00
alexey-milovidov
3e9f25b1b4
Merge pull request #2830 from yandex/data-type-with-dictionary
...
LowCardinality data type.
2018-08-13 23:49:21 +03:00
Nikolai Kochetov
5d5344f106
Added allow_experimental_low_cardinality_type setting.
2018-08-13 20:02:54 +03:00
Nikolai Kochetov
5379c52b9e
Support Aggregator for LowCardinality single key.
2018-08-13 19:23:40 +03:00
zhang2014
59b25812e7
Add check access database for system tables
2018-08-13 17:35:40 +08:00
alexey-milovidov
f538bd2113
Merge branch 'master' into decimal
2018-08-13 11:57:42 +03:00
zhang2014
62a85536b4
ISSUES-2786 add asterisk_left_columns_only setting
2018-08-13 11:02:50 +08:00
zhang2014
d7cd77640d
ISSUES-2786 fix replace asterisk with join query
2018-08-13 11:01:55 +08:00
proller
1e3c637741
Try fix internal compiler headers path
2018-08-11 02:28:33 +03:00
proller
3af99efd65
CLICKHOUSE-3530: Versioned inetrnal compiler headers ( #2837 )
2018-08-10 22:53:49 +03:00
Kirill Shvakov
a3ace87046
Add new system table "merge_tree_settings" ( #2841 )
...
* #2249 allow macros while creating kafka engine
* Update Macros.cpp
* Update Macros.h
* Add system table: merge_tree_settings
2018-08-10 20:42:12 +03:00
Nikolai Kochetov
4a62ab9d5c
Merged with master.
2018-08-10 16:53:08 +03:00
Alexey Milovidov
36db216abf
Preparation for extra warnings [#CLICKHOUSE-2]
2018-08-10 07:02:56 +03:00
Alexey Milovidov
d8ca4345b6
Fixed style violations [#CLICKHOUSE-2]
2018-08-10 04:41:54 +03:00
Anton Popov
c019d732c5
ClickHouse 3419 Add setting prefer_localhost_replica ( #2832 )
...
* add setting prefer_localhost_replica
* add prefer_localhost_replica setting
* fix bugs
* update setting comment
* Add test for prefer_localhost_replica
* fix bug
2018-08-10 04:27:54 +03:00
Nikolai Kochetov
da822f1cf3
Merged with master.
2018-08-09 14:32:19 +03:00
Nikolai Kochetov
ab10005af5
Renamed settings for LowCardinality type.
2018-08-09 13:52:46 +03:00
Nikolai Kochetov
c339313d8b
Fix LowCardinality conversions for defaults.
2018-08-09 13:52:33 +03:00
alesapin
402815977f
Add new error in fetchPartition op
2018-08-08 21:01:25 +03:00
Nikolai Kochetov
f4d9d50168
Merged with master.
2018-08-08 15:01:18 +03:00
Nikolai Kochetov
c8457abb1b
Made IFunction::isDeterministic and IFunction::isDeterministicInScopeOfQuery are const. Disabled default implementation with dictionary for not isDeterministicInScopeOfQuery functions.
2018-08-08 14:26:18 +03:00
Alexey Milovidov
207a2b8b3c
Fixed error #2795
2018-08-08 06:09:59 +03:00
alexey-milovidov
4e7b2927dd
Update Settings.h
2018-08-08 02:35:32 +03:00
alexey-milovidov
03727012a6
Update Settings.h
2018-08-08 02:35:32 +03:00
Alex Bocharov
a8818bb8af
Add output_format_json_escape_slashes setting - controls escaping slashes for string outputs in JSON output format.
2018-08-08 02:35:32 +03:00
Nikolai Kochetov
01209533f7
Optimize reverse index for ColumnUnique.
2018-08-07 21:10:16 +03:00
chertus
de68022fc5
rewrite Decimal with own data type
2018-08-07 16:57:28 +03:00
alexey-milovidov
0ef2a94d46
Merge pull request #2782 from VadimPE/CLICKHOUSE-3714
...
CLICKHOUSE-3714 add max_partition_size_to_drop
2018-08-06 20:20:59 +03:00
chertus
c590a74981
Merge branch 'master' into decimal
2018-08-06 13:38:18 +03:00
VadimPE
af9b288969
CLICKHOUSE-3714 add function in Context
2018-08-06 12:09:45 +03:00
VadimPE
d0f587bfc9
CLICKHOUSE-3714 fix
2018-08-06 11:58:30 +03:00
VadimPE
c30d459168
CLICKHOUSE-3714 fix
2018-08-06 11:43:34 +03:00
VadimPE
93202ca781
CLICKHOUSE-3714 fix code-style and copy-paste
2018-08-06 11:25:29 +03:00
chenxing.xc
4acc441179
fix aligned states review comments
2018-08-05 18:12:06 +08:00
chenxing.xc
202894e191
Merge remote-tracking branch 'rb/master'
2018-08-05 17:59:58 +08:00
Alexey Milovidov
e523f9a2c8
Fixed names [#CLICKHOUSE-2]
2018-08-05 11:54:57 +03:00
chenxing.xc
90d8290d28
aligned aggregate state
2018-08-05 16:45:15 +08:00
Alexey Milovidov
28771401a9
Merging #2226
2018-08-05 10:06:58 +03:00
Alexey Milovidov
2016374d20
Merging #2226
2018-08-05 10:05:43 +03:00
Alexey Milovidov
d99ef95846
Revert "Check for ambiguous column names in subqueries #2094 "
...
This reverts commit 36eae150d6
.
2018-08-05 09:18:53 +03:00
Alexey Milovidov
7459edfa42
Removed support for CHECK TABLE for Distributed tables [#CLICKHOUSE-2]
2018-08-05 09:01:41 +03:00
alexey-milovidov
05c7a1971d
Update InterpreterSelectQuery.cpp
2018-08-05 08:29:12 +03:00
Alexey Milovidov
47554229c0
Updated tests #2094
2018-08-05 08:25:37 +03:00
Alexey Milovidov
36eae150d6
Check for ambiguous column names in subqueries #2094
2018-08-05 07:02:29 +03:00
Alexey Milovidov
4a5d00b6e7
Removing clusters when they are removed from config #2777
2018-08-05 06:55:41 +03:00
Alexey Milovidov
5bce1d78b0
Correct number of columns is returned from an element of UNION ALL inside a subquery if some column was queried more than once #2786
2018-08-05 06:28:31 +03:00
Alexey Milovidov
c7e960b0a9
Better exception message #2094
2018-08-05 05:39:09 +03:00
Anton Popov
6c3d780552
ClickHouse 3551 Remove external dictionaries, when config updated ( #2779 )
...
* CLICKHOUSE-3551
* CLICKHOUSE-3551 Remove external dictionaties, when config updated
* CLICKHOUSE-3551 Remove external dictionaties, when config updated
* Update config.xml
2018-08-03 22:49:03 +03:00
chertus
a5a7dc0fdd
Merge branch 'master' into decimal
2018-08-03 13:30:27 +03:00
VadimPE
1e208c7186
CLICKHOUSE-3714 fix comment and ';'
2018-08-03 12:54:46 +03:00
VadimPE
b97fa2eb4d
CLICKHOUSE-3714 bool ckeck_CanBeDropped -> void ...
2018-08-03 12:39:01 +03:00
VadimPE
6142d9ae6a
CLICKHOUSE-3714 fix function names and get partition size
2018-08-03 11:33:57 +03:00
VadimPE
08fe108ba8
CLICKHOUSE-3714 fix methods name
2018-08-02 11:48:57 +03:00
alexey-milovidov
9cd5228df2
Using jemalloc instead of tcmalloc. ( #2773 )
...
* Added jemalloc as submodule [#CLICKHOUSE-2]
* Imported jemalloc-cmake [#CLICKHOUSE-2]
* Added README for jemalloc-cmake [#CLICKHOUSE-2]
* Trying to add jemalloc [#CLICKHOUSE-2]
* Trying to add jemalloc [#CLICKHOUSE-2]
* Trying to add jemalloc [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
* Add support for jemalloc: development [#CLICKHOUSE-2]
2018-08-02 03:20:20 +03:00
chertus
267f28f98d
decimal arithm (basic support)
2018-08-01 22:50:19 +03:00
Vadim
f6736a0e6e
Update Context.cpp
2018-08-01 20:44:23 +03:00
Vadim
034a88a504
Merge branch 'master' into CLICKHOUSE-3714
2018-08-01 20:42:56 +03:00
VadimPE
66d9ba3eb7
CLICKHOUSE-3714 add max_partition_size_to_drop
2018-08-01 20:41:18 +03:00
zhang2014
d61c53fc3e
ISSUES-863 support predicate push down with subquery
2018-08-01 17:56:02 +08:00
proller
d72ba2701b
CLICKHOUSE-3771 Preparing for new version scheme [WIP] ( #2646 )
...
* CLICKHOUSE-3771: compatible version transfer
* Fix
* Fixed compatibility
* fix
* Auto version update to [1.1.54401] [54398]
* fix auto revision up
* fix
* comments
* clean
* fix
* Send/recieve patch if we can
* fix
* Auto version update to [18.2.0] [54397]
* Client version in query_log
* Update TCPHandler.cpp
* Update Connection.cpp
* Update Defines.h
2018-08-01 00:36:18 +03:00
alexey-milovidov
405d7f9232
Merge pull request #2742 from yandex/support-join-on-syntax
...
Support join on syntax
2018-08-01 00:30:46 +03:00
alesapin
2db2d208e1
CLICKHOUSE-3863: Add HTTPS support for interserver replication
2018-08-01 00:29:47 +03:00
Nikolai Kochetov
9359ae7650
Fix test.
2018-07-31 20:34:17 +03:00
alexey-milovidov
f6b9c46d24
Update ExpressionAnalyzer.cpp
2018-07-31 06:04:35 +03:00
Nikolai Kochetov
368e7d0b08
Added joined_block_actions to SubqueryForSet for join subquery. [#CLICKHOUSE-3761]
...
3Added joined_block_actions to join expression action.
2018-07-30 22:41:27 +03:00
Nikolai Kochetov
bc054f2247
Fix tests. [#CLICKHOUSE-3761]
2018-07-30 22:40:43 +03:00
chertus
4a1b7cfebf
Merge branch 'master' into decimal
2018-07-30 21:51:08 +03:00
chertus
582f76c83b
string to decimal, decimal to string, check decimal bounds
2018-07-30 21:10:38 +03:00
Alexey Milovidov
8bc95412b6
Fixed bad code #2708
2018-07-28 00:33:30 +03:00
Alexey Milovidov
bbdd780be0
Fixed error when IN is used as an aggregation key [#CLICKHOUSE-3855]
2018-07-27 21:14:58 +03:00
chertus
b9fd87eff7
Merge branch 'master' into decimal
2018-07-27 20:31:33 +03:00
Nikolai Kochetov
7d9ebae2c2
Better comments.
2018-07-27 20:11:56 +03:00
Nikolai Kochetov
b5d6240646
Merged with master
2018-07-27 19:21:43 +03:00
Nikolai Kochetov
5123e0f86f
Remove joined table qualifiers from column names. [#CLICKHOUSE-3761]
2018-07-27 19:03:16 +03:00
Nikolai Kochetov
65dcca22a2
Substitute aliases for required columns in ExpressionAnalyzer. [#CLICKHOUSE-3761]
2018-07-27 19:02:56 +03:00
Nikolai Kochetov
11d66d8733
Support expressions for right JOIN keys. [#CLICKHOUSE-3761]
2018-07-27 19:02:42 +03:00
Nikolai Kochetov
98e5821769
Resolve qualified names for JOIN ON expression. [#CLICKHOUSE-3761]
2018-07-27 19:02:23 +03:00
Nikolai Kochetov
cc613d7ad3
Added JOIN keys to the list of needed columns for JOIN expression action.
2018-07-27 19:02:20 +03:00
Nikolai Kochetov
391ff31829
Added actions for JOIN key columns. [#CLICKHOUSE-3761]
2018-07-27 19:02:10 +03:00
Nikolai Kochetov
5058d1a345
Added columns from join on key of right table if they have different name from left block key in merged block. [#CLICKHOUSE-3761]
2018-07-27 19:01:48 +03:00
Nikolai Kochetov
92719e1f48
Supported JOIN ON syntax for single and chain in expression analyzer. [#CLICKHOUSE-3761]
2018-07-27 19:01:25 +03:00
alexey-milovidov
9242588449
Merge pull request #2708 from VadimPE/CLICKHOUSE-3837
...
CLICKHOUSE-3837 Add support for table function in remote() and cluster()
2018-07-26 21:36:04 +03:00
alexey-milovidov
24b0be2cf0
Merge pull request #2727 from alesapin/CLICKHOUSE-3832
...
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 20:50:09 +03:00
alesapin
6abbfbce87
CLICKHOUSE-3832: Add HTTP Basic authentification in replication protocol
2018-07-26 18:10:57 +03:00
chertus
c1c149d74b
decimal comparisons
2018-07-25 22:38:21 +03:00
VadimPE
867a3ebfae
CLICKHOUSE-3837 fix mistakes
2018-07-25 15:31:47 +03:00
zhang2014
7e87fa8e18
ISSUES-2688 support on cluster for kill & optimize query
2018-07-24 22:07:13 +03:00
alexey-milovidov
fb807c10e9
Update evaluateConstantExpression.cpp
2018-07-24 19:32:33 +03:00
VadimPE
46dec0d341
[CLICKHOUSE-3837] fix error in build
2018-07-24 17:05:37 +03:00
Vadim
437f3f20a9
Merge branch 'master' into CLICKHOUSE-3837
2018-07-24 16:21:51 +03:00
VadimPE
8dfb6806d8
add support for table function in remote() and cluster()
2018-07-24 16:10:34 +03:00
chertus
02f016579c
decimal (de)serialization (in progress)
2018-07-23 23:19:26 +03:00
Nikolai Kochetov
fd4d992294
Supported JOIN ON syntax for single and chain in expression analyzer.
2018-07-23 19:01:25 +03:00
Nikolai Kochetov
dd4ac9f3f1
Supported JOIN ON syntax for single and chain in expression analyzer.
2018-07-23 18:57:52 +03:00
Nikolai Kochetov
0f4c8e2f0a
Supported JOIN ON syntax for single and chain in expression analyzer.
2018-07-23 18:56:43 +03:00
Nikolai Kochetov
bbd13a25e4
Supported JOIN ON syntax for single and chain in expression analyzer.
2018-07-23 18:54:10 +03:00
Alexey Zatelepin
55301ce1f0
create input streams for parts using InterpreterSelectQuery [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
Alexey Zatelepin
f75fb6cd68
refactor InterpreterSelectQuery constructors [#CLICKHOUSE-3798]
2018-07-20 22:44:34 +03:00
Alexey Milovidov
a4d699e7f5
Comment [#CLICKHOUSE-2]
2018-07-20 18:50:39 +03:00
Nikolai Kochetov
7f8688b67b
Support data type with dictionary for krimary key.
2018-07-20 18:41:01 +03:00
Nikolai Kochetov
3a74ec7c0c
Mergred with master
2018-07-20 14:08:54 +03:00
Nikolai Kochetov
9c763f8090
Make DatsTypeWithDictionary independent from index type.
2018-07-20 13:16:27 +03:00
Alexey Milovidov
31dbbb05d2
Removed useless setting #2677
2018-07-19 23:22:49 +03:00
Alexey Milovidov
1b39ddf10b
Whitespaces [#CLICKHOUSE-2]
2018-07-19 19:39:48 +03:00
alexey-milovidov
164425d1ec
Fix performance regression with prepared sets when they are used inside another subquery. ( #2677 )
...
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Added documentation about ClickHouse testing (draft) [#CLICKHOUSE-2]
* Attempt to fix performance regression [#CLICKHOUSE-3796]
* Removed debug output [#CLICKHOUSE-3796]
* Removed debug output [#CLICKHOUSE-3796]
* Updated documentation about ClickHouse testing [#CLICKHOUSE-2]
* Revert "Updated documentation about ClickHouse testing [#CLICKHOUSE-2]"
This reverts commit 9eafc13f3b
.
* Revert "Added documentation about ClickHouse testing (draft) [#CLICKHOUSE-2]"
This reverts commit e28ad4b5fe
.
* Fixed test #2677
* Update InterpreterSelectQuery.cpp
2018-07-19 16:36:21 +03:00
proller
51cdec0bec
CLICKHOUSE-3771: fixes
2018-07-18 12:48:45 +03:00
chenxing.xc
f6000b304c
OR to IN rewrite issue in functions
2018-07-18 09:27:25 +03:00
chenxing.xc
5e3bc07a25
OR to IN rewrite issue in functions
2018-07-17 14:27:28 +08:00
Alexey Milovidov
77ed75e1d3
Merge branch 'master' into amosbird-master
2018-07-16 06:34:22 +03:00
VadimPE
5bb8f7ea4a
[CLICKHOUSE-3269] rename isDigit()
2018-07-15 00:22:29 +03:00
VadimPE
4134711faa
[CLICKHOUSE-3269] fix
2018-07-15 00:22:29 +03:00
VadimPE
18681db7fa
[CLICKHOUSE-3269] fix bug with netmaskToIPv6()
2018-07-15 00:22:29 +03:00
alexey-milovidov
b384b7afc4
Update Users.cpp
2018-07-15 00:22:29 +03:00
VadimPE
c45a5aa775
fix netmask from IPv4 to IPv6
2018-07-15 00:22:29 +03:00
VadimPE
5834c0f9d9
fix bug
2018-07-15 00:22:29 +03:00
VadimPE
180ba17e6b
fix
2018-07-15 00:22:29 +03:00
VadimPE
849f02104f
added support for new masks
2018-07-15 00:22:29 +03:00
Amos Bird
f5764910c4
Fix TRUNCATE command for temporary tables.
2018-07-10 22:25:08 +08:00
Alexey Milovidov
576885c6b8
Little better [#CLICKHOUSE-2]
2018-07-06 21:35:37 +03:00
Alexey Milovidov
5d52be3c7e
Merge branch 'master' of github.com:yandex/ClickHouse
2018-07-06 03:27:58 +03:00
Alexey Milovidov
21508df7c2
Fixed extremely bad code #2313
2018-07-06 03:27:47 +03:00
Amos Bird
78beacb3a5
Make OPTIMIZE be able to merge all parts with FINAL.
2018-07-05 21:32:54 +03:00
Alexey Milovidov
84fd35da41
Adaptations #2574
2018-07-05 00:00:50 +03:00
Alexey Milovidov
7bdafa6105
Merge branch 'master' of https://github.com/amosbird/ClickHouse into amosbird-master
2018-07-04 23:54:54 +03:00
Alexey Milovidov
e6c293ab60
Added setting "use_index_for_in_with_subqueries_max_values" #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
c99e717632
Fixed bad code #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
6afec54f7a
Addition to prev. revision #2571
2018-07-04 20:28:52 +03:00
Alexey Milovidov
e86f73e465
Fixed half of bad code #2571
2018-07-04 20:28:52 +03:00
Nikolai Kochetov
6e5e57353a
Review fixes. [#CLICKHOUSE-3694] #2156
2018-06-29 19:18:50 +03:00
Amos Bird
900b046943
Add options to enable parsing CSV with single/double quote.
2018-06-29 15:34:55 +08:00
Alexey Milovidov
e051998e1c
Renamed setting "send_logs_level" #2482
2018-06-28 23:11:14 +03:00
Alexey Milovidov
3894f094ea
Fixed setting descriptions #2482
2018-06-28 22:40:18 +03:00
alexey-milovidov
3904ba561f
Merge branch 'master' into CLICKHOUSE-2910
2018-06-28 20:47:25 +03:00
Nikolai Kochetov
bd4a899dd3
Reduced the number of IAST::getColumnName() calls in ExpressionAnalyzer.
2018-06-28 20:25:09 +03:00
Nikolai Kochetov
ebde528506
Create default macros in global context. [#CLICKHOUSE-3793]
2018-06-28 17:11:09 +03:00
Nikolai Kochetov
9f591b8d02
Merged with master.
2018-06-26 17:41:29 +03:00
Nikolai Kochetov
bd7c72de5c
Spelling.
2018-06-25 16:08:35 +03:00
Nikolai Kochetov
ba4cf6faf0
Merged with master.
2018-06-25 15:08:21 +03:00
proller
e1ae5233df
Add // Y_IGNORE tags
2018-06-21 18:24:36 +03:00
Vitaliy Lyudvichenko
1a4157f2a9
clickhouse_common_io does not depend on dbms. [#CLICKHOUSE-2910]
...
Get rid of extra linking dependencies for clickhouse_common_io. [#CLICKHOUSE-2910]
2018-06-21 15:13:56 +03:00
Vitaliy Lyudvichenko
358e4ae9bf
Fixed failures in utils, more precise test. [#CLICKHOUSE-2910]
2018-06-20 18:41:15 +03:00
Vitaliy Lyudvichenko
310bb4116e
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-06-19 23:33:11 +03:00
Vitaliy Lyudvichenko
e13ba09004
Rewritten ThreadStatus via adding shared thread state. [#CLICKHOUSE-2910]
...
Fixed race condition in SystemLog.
2018-06-19 23:30:35 +03:00
proller
fbe7df73a2
CLICKHOUSE-3762 Build fixes ( #2488 )
...
CONTRIB-254
2018-06-19 21:09:09 +03:00
Vitaliy Lyudvichenko
8dc1bebf00
Add logs forwarding from remote severs to client. [#CLICKHOUSE-2910]
2018-06-18 19:30:26 +03:00
Vitaliy Lyudvichenko
392f6e0c6c
Print query_id in logs. Add own logging interface. [#CLICKHOUSE-2910]
2018-06-18 16:41:13 +03:00
alexey-milovidov
e6daa67beb
Merge pull request #1890 from yandex/lz4_experiments
...
Faster LZ4 decompression (experimental) + simple draft of data mutator.
2018-06-16 04:57:47 +03:00
Vitaliy Lyudvichenko
a0e9d17bfd
Add query_id and host_name to server logs. [#CLICKHOUSE-2910]
2018-06-15 16:49:01 +03:00
Alexey Milovidov
c9789f985a
Fallback for non x86 [#CLICKHOUSE-2]
2018-06-14 23:16:57 +03:00
Vitaliy Lyudvichenko
4cd230f85c
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-06-14 16:04:00 +03:00
Vitaliy Lyudvichenko
95b42afcb9
Add test for profile events logging. [#CLICKHOUSE-2910]
2018-06-14 14:56:12 +03:00
alexey-milovidov
08ec751a8c
Merge pull request #2504 from yandex/system-mutations-table
...
[WIP] system.mutations table skeleton
2018-06-13 23:00:30 +03:00
Alexey Zatelepin
c5c601f662
save serialized commands in ReplicatedMergeTreeMutationEntry; split InterpreterAlterQuery::parseAlter() [#CLICKHOUSE-3747]
2018-06-13 17:14:08 +03:00
Alexey Zatelepin
14947b494f
make ASTAlterQuery::Parameters a real AST element ASTAlterCommand [#CLICKHOUSE-3747]
2018-06-13 17:13:28 +03:00
Alexey Milovidov
2a30db6b44
Whitespace [#CLICKHOUSE-2]
2018-06-12 06:26:24 +03:00
alexey-milovidov
fafecb3c25
Better modularity of formats. ( #2492 )
...
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development): removed very old tests #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
* Formats: better modularity (development) #2447
2018-06-10 22:22:49 +03:00
Alexey Milovidov
d864f39ec7
Merge branch 'master' into zhang2014-feature/support_truncate
2018-06-09 19:10:06 +03:00
Alexey Milovidov
f3d8b4e3cf
Merging: Fixed most of problems #2260
2018-06-09 19:03:07 +03:00
Alexey Milovidov
d56c199f07
Merging: Fixed half of problems #2260
2018-06-09 18:48:22 +03:00
Vitaliy Lyudvichenko
c04dfb40a6
Fixed memory tracking. [#CLICKHOUSE-2910]
2018-06-09 18:29:08 +03:00
Alexey Milovidov
0bc678474e
Merge branch 'feature/support_truncate' of https://github.com/zhang2014/ClickHouse into zhang2014-feature/support_truncate
2018-06-09 17:24:50 +03:00
Vitaliy Lyudvichenko
ed7cd86f09
Fixed several bug. Trun on --server_logs_level=warning in tests. [#CLICKHOUSE-2910]
...
Fixed several test to be compatible with --server_logs_level=warning.
2018-06-08 22:50:15 +03:00
Alexey Milovidov
045d5975b3
Fixed discrepancy between Query, SelectQuery, InsertQuery profile events [#CLICKHOUSE-3769]
2018-06-08 22:32:35 +03:00
Alexey Milovidov
101276e541
Allowed to switch between 'basic' and 'best effort' methods of parsing DateTime from text #1710
2018-06-08 06:15:33 +03:00
Alexey Milovidov
9940b4f8ff
Passing settings to ser/de of data types: development #1710
2018-06-08 05:26:44 +03:00
Alexey Milovidov
26d448baad
Passing settings to ser/de of data types: development #1710
2018-06-08 04:51:55 +03:00
Vitaliy Lyudvichenko
99b68d3cf3
Add more options for loggig. [#CLICKHOUSE-2910]
2018-06-07 21:46:53 +03:00
Vitaliy Lyudvichenko
ac54e52fb3
Add server logs passing to client. [#CLICKHOUSE-2910]
2018-06-07 20:58:50 +03:00
proller
cb65528147
Build fixes ( #2481 )
...
* Build fixes
* fix
* Fix package without compiler
* Better
* fix
* fix
* fix
* Build fix
* fix
* fix
* fix
* Build fix
* Fix test
* test fixes
* test: netcat-openbsd
* Compile fixes
* Update AggregateFunctionStatisticsSimple.h
* Update FunctionsRound.h
2018-06-07 17:42:38 +03:00
proller
347579ce46
Cmake: mark system includes as SYSTEM ( #1449 )
...
* contrib: cctz as submodule. update cctz.
* pbuilder: add ubuntu bionic, devel
* Cmake: mark system includes as SYSTEM
* Build fixes
* fix
* Fix package without compiler
* Better
* fix
* fix
* fix
* Build fix
* fix
* fix
* fix
* Cmake: Add SYSTEM to includes for external libs
2018-06-06 23:21:58 +03:00
proller
e475647594
Build fix
2018-06-06 23:07:41 +03:00
proller
01a31414eb
Build fixes ( #2474 )
2018-06-06 21:41:39 +03:00
Alexey Milovidov
583b9af56f
Fixed error: user settings don't apply when using session_id parameter [#CLICKHOUSE-3763]
2018-06-06 20:35:35 +03:00
Alexey Milovidov
b9b89a5590
Less dependencies [#CLICKHOUSE-2]
2018-06-05 22:46:49 +03:00
Alexey Zatelepin
2fde0acb36
allow ALTER DELETE in distributed DDL [#CLICKHOUSE-3688]
2018-06-05 16:23:52 +03:00
proller
4d12a823da
Use copy-headers from cmake. (working compiler test without package install) ( #2456 )
...
* Try use copy-headers from cmake [WIP]
* Using internal compiler without install
* 32bit Compile fix
* Fixes
* fix
* clean
* fix
* clean
2018-06-04 23:26:17 +03:00
Alexey Milovidov
ca52d96e09
Insignificant changes for PVS-Studio [#CLICKHOUSE-3]
2018-06-04 22:22:27 +03:00
Alexey Milovidov
df11490b2a
Insignificant changes guided by PVS-Studio [#CLICKHOUSE-3]
2018-06-04 18:45:08 +03:00
Alexey Milovidov
278ccdff73
Non significant change: removed redundant checks [#CLICKHOUSE-3]
2018-06-04 17:17:24 +03:00
Alexey Milovidov
8cb65277e2
Non significant changes according to clang's -Weverything, part 5 [#CLICKHOUSE-2]
2018-06-04 01:11:50 +03:00
Alexey Milovidov
f5adbceed2
Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2]
2018-06-03 23:39:06 +03:00
Alexey Milovidov
1c2b024c39
Non significant changes according to clang's -Weverything, part 2 [#CLICKHOUSE-2]
2018-06-03 20:43:56 +03:00
Alexey Milovidov
734cebdf09
Non significant changes according to clang's -Weverything, part 1 [#CLICKHOUSE-2]
2018-06-03 19:51:31 +03:00
Vitaliy Lyudvichenko
b46f2ad946
Simplified code via introducing states. [#CLICKHOUSE-2910]
2018-06-01 22:39:32 +03:00
Vitaliy Lyudvichenko
2b179b560b
Initialize external tables after enqueue query. [#CLICKHOUSE-2910]
2018-06-01 18:32:27 +03:00
Alexey Zatelepin
af06ca5d3c
Merge branch 'master' into replicated-mergetree-mutations
2018-06-01 16:21:14 +03:00
Vitaliy Lyudvichenko
549a6944d9
Better AsynchronousBlockInputStream in sync mode. [#CLICKHOUSE-2910]
2018-06-01 14:58:17 +03:00
Alexey Milovidov
f45c479a8b
Removed wrong query optimization [#CLICKHOUSE-3726]
2018-05-31 21:28:04 +03:00
Vitaliy Lyudvichenko
0355f81f20
[WIP] Introduced query_thread_log. [#CLICKHOUSE-2910]
2018-05-31 18:54:08 +03:00
Alexey Zatelepin
c9bb986330
Merge branch 'master' into replicated-mergetree-mutations
...
Conflicts:
dbms/src/Storages/MergeTree/AbandonableLockInZooKeeper.h
dbms/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
dbms/src/Storages/StorageReplicatedMergeTree.cpp
2018-05-31 18:52:42 +03:00
alexey-milovidov
cdacf073e8
Merge pull request #2449 from proller/fix15
...
CLICKHOUSE-3587 Always write client error to log
2018-05-30 22:27:21 +03:00
proller
dc721ed721
Try make cache for getSampleBlock ( #2313 )
...
* Cache for getSampleBlock
* Update InterpreterSelectWithUnionQuery.cpp
* Update 00632_get_sample_block_cache.sql
* Add tests
2018-05-30 22:23:15 +03:00
proller
b1f4bf3199
CLICKHOUSE-3587 Always write client error to log
2018-05-30 19:15:35 +03:00
Vitaliy Lyudvichenko
e265e5c2ab
Refactoring. [#CLICKHOUSE-2910]
2018-05-29 21:14:31 +03:00
Vitaliy Lyudvichenko
aa40931824
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-05-28 20:22:27 +03:00
Alexey Zatelepin
f6c72f8e56
Merge branch 'master' into replicated-mergetree-mutations
...
Conflicts:
dbms/src/Common/ActionBlocker.h
dbms/src/Storages/MergeTree/ActiveDataPartSet.cpp
dbms/src/Storages/MergeTree/ActiveDataPartSet.h
dbms/src/Storages/MergeTree/MergeTreeData.h
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeAlterThread.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.h
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
dbms/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp
dbms/src/Storages/StorageMergeTree.cpp
dbms/src/Storages/StorageReplicatedMergeTree.cpp
dbms/src/Storages/StorageReplicatedMergeTree.h
2018-05-28 18:37:30 +03:00
Alexey Zatelepin
59fe12ed15
part log and metrics [#CLICKHOUSE-3747]
2018-05-25 23:13:00 +03:00
Amos Bird
9eec14e9be
Let's make it fancier (function try catch block).
2018-05-25 23:38:57 +08:00
Alexey Milovidov
13762471da
Changed DayNum_t to DayNum as Amos Bird suggested [#CLICKHOUSE-3]
2018-05-25 16:29:15 +03:00
proller
87e8d8be5a
Fix internal compiler includes with new clang ( #2406 )
2018-05-24 15:40:02 +03:00
alexey-milovidov
55cfebc36b
Merge pull request #2395 from yandex/string_range-pointers-comparsion
...
Renamed StringRangeHash to StringRangePointersHash and added StringRa…
2018-05-21 22:42:42 +03:00
Vitaliy Lyudvichenko
c888903488
Add query ALTER TABLE t1 [REPLACE|ATTACH] PARTITION FROM t2
...
* Add ATTACH PARTITION FROM table for MergeTree. [#CLICKHOUSE-3546]
* Implemented replicated case on non-leader replica. [#CLICKHOUSE-3546]
* Disable merges in the dropping range. [#CLICKHOUSE-3546]
* DROP PARTITION is atomic and simpler now. [#CLICKHOUSE-3546]
* Implemented more SYSTEM queries. [#CLICKHOUSE-2931] [#CLICKHOUSE-3546]
SYSTEM queries:
RESTART REPLICAS
SYNC REPLICA db.name
STOP MERGES [db.name]
START MERGES [db.name]
STOP FETCHES [db.name]
START FETCHES [db.name]
STOP REPLICATED SENDS [db.name]
START REPLICATED SENDS [db.name]
STOP REPLICATION QUEUES [db.name]
START REPLICATION QUEUES [db.name]
* Fixed a bunch of bugs in REPLACE PARTITION. [#CLICKHOUSE-3546]
* Add tests for REPLACE PARTITION and SYSTEM. [#CLICKHOUSE-3546]
* Add system.part_log logging. [#CLICKHOUSE-3546]
* Fixed long wait in SYNC REPLICA. [#CLICKHOUSE-3546]
* Add requested changes. [#CLICKHOUSE-3546]
Fixed clickhouse-client bad return code.
* Add requested chenges. [#CLICKHOUSE-3546]
* Add requested chenges. [#CLICKHOUSE-3546]
2018-05-21 16:49:54 +03:00
Nikolai Kochetov
937cb2db29
Merged with master.
2018-05-21 14:38:50 +03:00
Nikolai Kochetov
aeaec2e6d7
Renamed StringRangeHash to StringRangePointersHash and added StringRangePointersEqualTo.
2018-05-21 14:18:11 +03:00
zhang2014
fa865636ce
ISSUES-2259 add comment & move delete database metadata implementation
2018-05-21 11:38:46 +08:00
zhang2014
c8f655c1aa
ISSUES-2259 fix the test after the merge master
2018-05-21 11:38:46 +08:00
zhang2014
6613e56784
ISSUES-2259 support truncate syntax
2018-05-21 11:38:46 +08:00
alexey-milovidov
0fe2984d00
Merge pull request #2388 from yandex/fix-prepared-sets-creation
...
Fix prepared sets creation
2018-05-19 19:03:04 +03:00