alesapin
d8a2b063dc
CLICKHOUSE-3800: More convinient names for functions, comments and new profile event.
2018-09-14 13:08:38 +03:00
alesapin
fc3153e64c
CLICKHOUSE-3800: Fix rare race condition
2018-09-14 13:08:38 +03:00
alesapin
0bd32876e9
Initialize compilation_cache pointer in ALL constructors
2018-09-14 13:08:38 +03:00
alesapin
a3bc82c745
CLICKHOUSE-3800: Fix segfault
2018-09-14 13:08:38 +03:00
alesapin
3989a06000
CLICKHOUSE-3800: Enable compilation to llvm by default
2018-09-14 13:08:38 +03:00
Nikolai Kochetov
16ed282dfc
Fix build.
2018-09-14 12:42:38 +03:00
Nikolai Kochetov
3dc5cd3a3a
Merged with master.
2018-09-14 12:14:37 +03:00
Nikolai Kochetov
12ec9caaf5
Added comments.
2018-09-14 11:04:19 +03:00
Nikolai Kochetov
4674beb900
Shared cache for low cradinality single aggregation column. [#CLICKHOUSE-3903]
2018-09-14 11:04:18 +03:00
Nikolai Kochetov
df71c47840
Added dictionary hash for low cardinality column. [#CLICKHOUSE-3903]
2018-09-14 11:04:18 +03:00
Nikolai Kochetov
94bfe50f52
Cache saved hash for low cardinality aggregate method. [#CLICKHOUSE-3903]
2018-09-14 11:04:18 +03:00
Nikolai Kochetov
2eb35dd6ef
Cache AggregateDataPtr for single low cardinality column. [#CLICKHOUSE-3903]
2018-09-14 11:04:09 +03:00
Nikolai Kochetov
787e814e4c
Low cardinality group by signle column. [#CLICKHOUSE-3903]
2018-09-14 11:03:02 +03:00
alexey-milovidov
92b2cc6625
Merge pull request #3107 from zhang2014/fix/ISSUES-3105
...
ISSUES-3105 fix some bugs in the predicate optimizer
2018-09-13 22:19:11 +03:00
alexey-milovidov
3a4582baef
Merge pull request #3125 from amosbird/self
...
Simply Self.
2018-09-13 21:56:10 +03:00
alexey-milovidov
dcfe84b5fd
Merge pull request #3128 from VadimPE/part_id_in_log
...
Add partition_id in part_log
2018-09-13 21:52:52 +03:00
Alexey Milovidov
a56413884d
Added clarification [#CLICKHOUSE-3]
2018-09-13 21:45:14 +03:00
VadimPE
f544564df6
Add documentation
2018-09-13 18:57:51 +03:00
Amos Bird
af369483a9
Simply Self.
...
> When the normal name of the template (i.e., the name from the enclosing scope, not the injected-class-name) is used, it always refers to the class template itself and not a specialization of the template
http://eel.is/c++draft/temp.local
2018-09-13 22:59:54 +08:00
zhang2014
3c4b34e94f
ISSUES-3105 turned on enable_optimize_predicate_expression
2018-09-13 21:53:08 +08:00
VadimPE
7ed39aaca3
add partition_id
2018-09-13 15:48:46 +03:00
zhang2014
25f79593a2
ISSUES-3105 fix some bugs in the predicate optimizer
2018-09-13 20:08:27 +08:00
Alexey Milovidov
59f8313b83
utils/check-style/check-style
2018-09-13 06:34:58 +03:00
alexey-milovidov
0223225a05
Merge pull request #3035 from yandex/alter-update
...
ALTER UPDATE
2018-09-13 06:03:35 +03:00
alexey-milovidov
3bad4cee5c
Merge pull request #3098 from zhang2014/fix/ISSUES-2560
...
ISSUES-2560 fix crash when create temporary with in clause
2018-09-13 03:09:29 +03:00
Anton Popov
6214f6a559
Update InterpreterSetQuery.cpp
2018-09-11 21:41:53 +03:00
CurtizJ
c1ed0bb86a
add setting allow_ddl
2018-09-11 21:37:19 +03:00
Anton Popov
2194d4a109
Update InterpreterCreateQuery.cpp
2018-09-11 17:43:30 +03:00
Anton Popov
8ea2e558b5
Update Context.h
2018-09-11 17:39:01 +03:00
Anton Popov
5ce76ce12f
Update Context.cpp
2018-09-11 17:38:36 +03:00
CurtizJ
4ac59b471a
fix race while parallel create database
2018-09-11 17:33:06 +03:00
zhang2014
5834b42083
ISSUES-2560 fix crash when create temporary with in clause
2018-09-11 19:31:59 +08:00
alexey-milovidov
20d5ddd58c
Merge branch 'master' into alter-update
2018-09-10 17:17:10 +03:00
Alexey Milovidov
85e8c7920f
Merge branch 'master' of github.com:yandex/ClickHouse
2018-09-10 15:40:15 +03:00
Alexey Milovidov
772d609d86
Whitespace [#CLICKHOUSE-2]
2018-09-10 15:40:07 +03:00
Nikolai Kochetov
1d62c9309c
Fix sampling with prewhere. [#CLICKHOUSE-3972]
2018-09-10 13:06:12 +03:00
Alexey Milovidov
c9b612de48
Attempt to fix CLICKHOUSE-3888 bug
2018-09-10 06:59:48 +03:00
Alexey Milovidov
54ea7b0b20
Fixed error [#CLICKHOUSE-2]
2018-09-09 06:28:45 +03:00
Alexey Milovidov
c7b1a40296
Fixed test [#CLICKHOUSE-2]
2018-09-09 05:23:24 +03:00
alexey-milovidov
5d3a64ec46
Merge pull request #3077 from yandex/CLICKHOUSE-3800
...
CLICKHOUSE-3800: Improve cache of compiled expressions
2018-09-08 00:44:17 +03:00
alexey-milovidov
0b6e85e51d
Merge pull request #3073 from yandex/fix_prewhere_with_sampling
...
Fix prewhere with sampling
2018-09-08 00:34:06 +03:00
alesapin
2ba41c9b75
Update Settings.h
2018-09-08 00:02:42 +03:00
Nikolai Kochetov
8311c23d83
Fix test.
2018-09-07 23:23:28 +03:00
alesapin
e815260363
CLICKHOUSE-3800: Improve cache and turn on compilation by default
2018-09-07 23:17:40 +03:00
Nikolai Kochetov
76f47ed6ba
Fix test.
2018-09-07 22:57:26 +03:00
Alexey Zatelepin
949b4b640e
fix build after merge [#CLICKHOUSE-13]
2018-09-07 22:14:05 +03:00
Nikolai Kochetov
8b658f091d
Fix test.
2018-09-07 21:00:53 +03:00
Alexey Zatelepin
133c9c7c37
Merge branch 'master' into alter-update
...
Conflicts:
docs/en/query_language/alter.md
2018-09-07 19:11:02 +03:00
Nikolai Kochetov
6e41be3476
Avoid removing columns used in sample expression in prewhere actions. [#CLICKHOUSE-3969]
2018-09-07 19:01:21 +03:00
Alexey Zatelepin
1064d1d26b
update MATERIALIZED columns when their dependencies are updated [#CLICKHOUSE-13]
2018-09-07 18:54:18 +03:00
chertus
0b35cdae69
refactoring: add some sugar in type checks [CLICKHOUSE-0002]
2018-09-07 17:37:26 +03:00
Alexey Milovidov
199d8734f9
Fixed race condition in DROP/CREATE MergeTree tables [#CLICKHOUSE-3939]
2018-09-07 04:39:48 +03:00
Nikolai Kochetov
a6b51d1fc7
Fix virtual columns for prewhere with aliases.
2018-09-06 22:18:38 +03:00
Nikolai Kochetov
8593145794
Merged with master
2018-09-06 21:30:03 +03:00
alexey-milovidov
580683310b
Merge pull request #2990 from alesapin/master
...
CLICKHOUSE-3800: Add Cache for compiled expression.
2018-09-06 21:12:08 +03:00
alexey-milovidov
5057b15fab
Merge pull request #3047 from 4ertus2/decimal
...
Decimal improvements
2018-09-06 21:11:06 +03:00
Nikolai Kochetov
641771f66f
Fix virtual columns for prewhere with aliases.
2018-09-06 20:45:49 +03:00
alesapin
f331b48c58
Fix build
2018-09-06 12:52:22 +03:00
Nikolai Kochetov
ee89ddb445
Fix removing source aliased columns. [#CLICKHOUSE-3965]
2018-09-06 12:41:42 +03:00
Alexander Sapin
03174e131d
Merge remote-tracking branch 'upstream/master'
2018-09-06 12:39:42 +03:00
Alexander Sapin
3cbcd23a17
CLICKHOUSE-3800:Add if's for old llvm version
2018-09-06 12:10:40 +03:00
chertus
3bd586cad9
Merge branch 'master' into decimal
2018-09-06 11:57:46 +03:00
Alexey Milovidov
9df01c1012
Style #2948
2018-09-06 04:06:30 +03:00
alexey-milovidov
0ca8e20e66
Merge pull request #2948 from CurtizJ/CLICKHOUSE-3893
...
CLICKHOUSE-3893 - Add modificator rollup.
2018-09-06 03:59:02 +03:00
alexey-milovidov
4f9dd85c5e
Merge pull request #3050 from proller/fix20
...
Internal compiler run fixes
2018-09-06 03:29:10 +03:00
Alexey Milovidov
a2b515483e
Understanding the code #2482
2018-09-06 03:28:15 +03:00
Alexey Milovidov
0962b2841d
Added missing line (suggested by @nvartolomei) #3029
2018-09-06 00:05:49 +03:00
Alexey Milovidov
3c7c2e3853
Revert "Revert "Tidy up thread locals usage across translation units""
...
This reverts commit 509386b14d
.
2018-09-06 00:01:43 +03:00
proller
5877eece58
Internal compiler run fixes
2018-09-05 21:50:17 +03:00
Alexey Milovidov
509386b14d
Revert "Tidy up thread locals usage across translation units"
...
This reverts commit e28753061f
.
2018-09-05 19:41:34 +03:00
Anton Popov
7f71bc4189
Update InterpreterSelectQuery.cpp
2018-09-05 19:29:13 +03:00
Anton Popov
e6d49c4c93
Update InterpreterSelectQuery.cpp
2018-09-05 19:28:30 +03:00
CurtizJ
472adf4ab9
add rollup to formatted query
2018-09-05 19:23:28 +03:00
chertus
0581545cba
disable Decimal Comparison and Conditional compilation [CLICKHOUSE-3765]
2018-09-05 17:56:55 +03:00
Nikolai Kochetov
21081266e8
Fix test.
2018-09-05 16:04:28 +03:00
alesapin
16eaeefc6e
Fix naming
2018-09-05 15:42:37 +03:00
Nikolai Kochetov
71e08a4cc0
Fix test.
2018-09-05 15:19:15 +03:00
Nikolai Kochetov
1994fb832b
Fix test.
2018-09-05 15:16:37 +03:00
alesapin
2647c13c6b
CLICKHOUSE-3800: Fix naming, move compiled cache size setting to config.xml
2018-09-05 14:37:41 +03:00
Nikolai Kochetov
f18f6323c8
Fix build.
2018-09-05 13:31:00 +03:00
Nikolai Kochetov
46d6c03569
Merge branch 'master' into fix-prewhere-with-aliases
2018-09-05 13:08:07 +03:00
CurtizJ
18da41afe3
Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-3893
2018-09-05 12:49:02 +03:00
CurtizJ
a7bbf83c91
Revert "Revert "Merge branch 'master' into CLICKHOUSE-3893""
...
This reverts commit cdb2c8a770
.
2018-09-05 12:47:57 +03:00
CurtizJ
cdb2c8a770
Revert "Merge branch 'master' into CLICKHOUSE-3893"
...
This reverts commit 0704da5756
, reversing
changes made to 4534d449c1
.
2018-09-05 12:45:57 +03:00
Nikolai Kochetov
8e806d4e3d
Fix test. [#CLICKHOUSE-3944]
2018-09-05 09:21:33 +03:00
alexey-milovidov
d12c1b02bc
Merge pull request #3029 from nvartolomei/nv/tidyup-thread-locals
...
Tidy up thread locals usage across translation units
2018-09-05 00:16:03 +03:00
Alexey Milovidov
035c07d01e
Fixed error with locking in InterpreterDropQuery [#CLICKHOUSE-3959]
2018-09-04 23:56:09 +03:00
alexey-milovidov
1fc94d6fff
Update ExpressionActions.cpp
2018-09-04 22:48:05 +03:00
Nikolai Kochetov
eedd2c50de
Fix test. [#CLICKHOUSE-3944]
2018-09-04 21:59:34 +03:00
Nikolai Kochetov
8b9937ec51
More comments. [#CLICKHOUSE-3944]
2018-09-04 21:50:19 +03:00
Nikolai Kochetov
3c6db8ebc1
Fix prewhere with aliased columns. [#CLICKHOUSE-3944]
2018-09-04 21:28:01 +03:00
chertus
1ea6bc9691
decimal_check_overflow [CLICKHOUSE-3765]
2018-09-04 18:04:23 +03:00
Alexey Zatelepin
4f91833e67
Merge branch 'master' into alter-update
...
Conflicts:
dbms/src/Parsers/ASTIdentifier.cpp
2018-09-04 17:39:08 +03:00
Alexey Zatelepin
b6a5bbc4e9
move validation to MutationsInterpreter [#CLICKHOUSE-13]
2018-09-04 17:33:48 +03:00
Alexey Zatelepin
dc0c731c10
later mutation stages now work with IN (SELECT ...) [#CLICKHOUSE-13]
2018-09-04 14:39:10 +03:00
Nicolae Vartolomei
e28753061f
Tidy up thread locals usage across translation units
...
Fixes #3015 .
2018-09-03 22:36:16 +01:00
Alexey Zatelepin
d4d1020798
execute UPDATEs and DELETEs in stages [#CLICKHOUSE-13]
2018-09-03 22:34:49 +03:00
alesapin
a7bd2b42e8
CLICKHOUSE-3800: Review fixes
2018-09-03 13:14:05 +03:00
alesapin
83574eed7c
Merge remote-tracking branch 'upstream/master'
2018-09-03 13:11:33 +03:00
alesapin
11d248ba10
Resolve conflict
2018-09-03 13:11:10 +03:00