alexey-milovidov
72b3ec1ffa
Merge pull request #3428 from 4ertus2/joins
...
Мore ExpressionAnalyser refactoring, add unit-test for it
2018-10-22 22:24:39 +03:00
CurtizJ
a05aa5448d
add setting keep_alive
2018-10-22 21:09:55 +03:00
Alexey Zatelepin
bd38b4f560
add clear error message #275
2018-10-22 15:38:04 +03:00
alesapin
c6debd1c33
Better comment
2018-10-22 14:30:24 +03:00
chertus
a62fae8332
Merge branch 'master' into joins
2018-10-22 11:25:43 +03:00
alesapin
dcc8ca49d7
Add global counter to subqueries
2018-10-20 00:03:45 +03:00
chertus
b784f754a7
minor settings changes
2018-10-19 18:42:47 +03:00
chertus
dcf04ac36d
unit-test for ExpressionAnalyzer [CLICKHOUSE-3996]
2018-10-19 18:33:40 +03:00
chertus
5aedca40c2
fix asan
2018-10-18 22:27:28 +03:00
chertus
a32e06d298
more ExpressionAnalyzer refactoring [CLICKHOUSE-3996]
2018-10-18 18:03:14 +03:00
Artem Zuikov
52e94ecc5a
Merge pull request #3368 from 4ertus2/joins
...
Extract visitors from ExpressionAnalyser [CLICKHOUSE-3996]
2018-10-17 15:48:42 +03:00
chertus
5d3f03a6d2
minor refactoring (function naming)
2018-10-17 14:06:46 +03:00
chertus
40f1805bf4
fix gcc build
2018-10-17 13:59:05 +03:00
zhang2014
133363e8e3
ISSUES-2312 fix nested view & joined view without database
2018-10-17 14:35:16 +08:00
Alexey Milovidov
44f5c735aa
Temporary disable "enable_optimize_predicate_expression" setting by default #1777
2018-10-17 06:46:06 +03:00
chertus
27d66a45c3
extract more visitors from ExpressionAnalyzer [CLICKHOUSE-3996]
2018-10-16 22:00:05 +03:00
chertus
4071155043
better ActionsVisitor extraction [CLICKHOUSE-3996]
2018-10-16 15:34:20 +03:00
chertus
e6e28d2451
Merge branch 'master' into joins
2018-10-16 13:10:32 +03:00
chertus
465cb6d267
fix for Decimal128 group by [issue-3378]
2018-10-15 22:14:08 +03:00
Sabyanin Maxim
e050bc0428
Merge branch 'master' into CLICKHOUSE-4032
2018-10-14 18:35:45 +03:00
Sabyanin Maxim
ab050c8466
add comment section in column declaration.
...
add comment column type in alter method.
add comment section in system.columns.
2018-10-14 18:30:06 +03:00
Alexey Milovidov
50234013b5
Whitespaces [#CLICKHOUSE-4016]
2018-10-14 11:23:21 +03:00
Alexey Milovidov
98859f232b
Merge branch 'master' into group_by_two_level_compatibility
2018-10-13 02:13:30 +03:00
chertus
9120d5f38e
extract visitor from ExpressionAnalyser [CLICKHOUSE-3996]
2018-10-12 18:41:28 +03:00
alesapin
72ef357a02
Fix typo assignment
2018-10-12 17:52:39 +03:00
alesapin
17150fd688
CLICKHOUSE-4060: Use individual context for each function
2018-10-12 16:03:57 +03:00
Alexey Milovidov
6e39e021f0
Disable "compile_expressions" setting by default because it is not production ready [#CLICKHOUSE-4060]
2018-10-12 03:21:24 +03:00
alexey-milovidov
12772c2cd5
Merge pull request #3357 from yandex/check-for-array-join-in-prewhere
...
Added check for invalid PREWHERE
2018-10-12 01:32:44 +03:00
alexey-milovidov
27a07a9d90
Merge pull request #3356 from yandex/llvm-better-exception-messages
...
LLVM compiler: better exception messages.
2018-10-12 00:18:42 +03:00
Alexey Milovidov
e752271d99
Added check for invalid PREWHERE #3336
2018-10-11 23:52:25 +03:00
Alexey Milovidov
7d6365d139
LLVM compiler: better exception messages [#CLICKHOUSE-2]
2018-10-11 23:31:41 +03:00
chertus
c593d9a971
extract ExecuteScalarSubqueriesVisitor from ExpressionAnalyser [CLICKHOUSE-3996]
2018-10-11 22:28:59 +03:00
Alexey Milovidov
e3773c5d0c
Fixed code that was out of style #3145
2018-10-11 00:01:53 +03:00
Alexey Milovidov
55923011b5
Attempt to fix use-after-free, try 1 #3145
2018-10-10 23:44:50 +03:00
Alexey Milovidov
55bc2b812b
Miscellaneous #3145
2018-10-10 23:44:19 +03:00
Alexey Milovidov
75221c478a
Miscellaneous #3145
2018-10-10 23:37:01 +03:00
Alexey Milovidov
2c0ea27377
Miscellaneous #3145
2018-10-10 23:35:21 +03:00
Alexey Milovidov
5e50e6bfef
Fixed strange code #3145
2018-10-10 23:26:04 +03:00
alexey-milovidov
b9ecc4b819
Merge pull request #3340 from CurtizJ/issue-3253
...
Fix unnecessarily preparations for join at initial server [ISSUE-3253]
2018-10-10 23:04:13 +03:00
CurtizJ
16bea3d008
remove logs
2018-10-10 20:09:09 +03:00
CurtizJ
815380b8b2
fix unnecessarily preparations for join at initial server
2018-10-10 20:07:21 +03:00
chertus
1b7354f809
disable AST logging
2018-10-10 19:23:27 +03:00
alexey-milovidov
34bd8568b6
Merge pull request #3339 from liuyimin-bytedance/master
...
Issue 3269 Fix incorrect OR evaluation when multiples ORs are optimized to IN
2018-10-10 16:42:24 +03:00
alexey-milovidov
fe79529627
Update LogicalExpressionsOptimizer.cpp
2018-10-10 16:41:44 +03:00
liuyimin
019677c55b
Add fake range for tuple ASTFunction generated by Optimizer so that prepared set indexation works correctly
2018-10-10 21:31:18 +08:00
alexey-milovidov
4e6fd3e3fe
Merge pull request #3337 from VadimPE/CLICKHOUSE-3021
...
[CLICKHOUSE-3021] fix bug with unsupported value in CREATE TABLE
2018-10-10 16:23:17 +03:00
alexey-milovidov
2aa255f8b0
Update InterpreterCreateQuery.cpp
2018-10-10 16:23:06 +03:00
Vadim
56bfc25d9a
Update InterpreterCreateQuery.cpp
2018-10-10 16:15:17 +03:00
Vadim
834267054e
Update InterpreterCreateQuery.cpp
2018-10-10 16:14:29 +03:00
VadimPE
779a178347
CLICKHOUSE-3021 fix bug with unsupported value in CREATE TABLE
2018-10-10 15:50:29 +03:00
Alexey Milovidov
0b3a8cb489
Merge branch 'joins' of https://github.com/4ertus2/ClickHouse into 4ertus2-joins
2018-10-10 04:06:06 +03:00
chertus
c7bf0e77ea
add get64() for Decimal32 and Decimal64; remove allow_experimental_decimal_type setting [issue-3282]
2018-10-09 19:50:42 +03:00
chertus
b360fc895a
comment for TranslateQualifiedNamesVisitor [CLICKHOUSE-4001]
2018-10-09 17:41:19 +03:00
chertus
ec8d3b388d
move DumpASTNode to own file, style fixes [CLICKHOUSE-4001]
2018-10-09 17:32:11 +03:00
chertus
20b733aaf0
Merge branch 'master' into joins
2018-10-09 13:47:01 +03:00
alesapin
9946154908
CLICKHOUSE-3943: Rename FLUSH SYSTEM TABLES query to FLUSH LOGS, better tests
2018-10-09 13:05:27 +03:00
Alexey Milovidov
64c7e357e8
Fixed error #3230
2018-10-08 08:30:03 +03:00
Alexey Milovidov
80faec76e8
Merge remote-tracking branch 'origin/master' into fix-memory-tracker
2018-10-08 00:09:18 +03:00
alexey-milovidov
36c3feea80
Merge pull request #3270 from yandex/left-join-right-keys-fix
...
Left join right keys fix
2018-10-07 23:26:40 +03:00
Alexey Milovidov
a66beb5ec1
Fixed error #3230
2018-10-05 22:29:49 +03:00
Alexey Milovidov
5503822983
Merge branch 'master' into fix-memory-tracker
2018-10-05 18:15:50 +03:00
Nikolai Kochetov
064facd8de
Updated test.
2018-10-05 10:43:58 +03:00
alexey-milovidov
b9d1eb4154
Merge pull request #3298 from yandex/fix-prewhere-with-altered-columns
...
Fix prewhere with altered columns
2018-10-04 23:57:11 +03:00
Nikolai Kochetov
b1fa3fab9d
Fix prewhere whith final. #2827
2018-10-04 21:18:54 +03:00
CurtizJ
8c2060b48a
wip on finish sorting
2018-10-04 17:55:02 +03:00
CurtizJ
dd9516a810
wip on finish sorting
2018-10-04 13:24:51 +03:00
Nikolai Kochetov
c4c14de02f
Join aliases and duplicating columns fixes.
...
Join aliases and duplicating columns fixes. [#CLICKHOUSE-3994] #3145
2018-10-02 21:17:39 +03:00
Nikolai Kochetov
c470cf1e26
Fix joined keys from right column with left join. [#CLICKHOUSE-3994]
2018-10-02 21:16:47 +03:00
alesapin
7d79192ad7
Merge pull request #3267 from yandex/CLICKHOUSE-4025
...
Fix join of unjoinable thread
2018-10-02 18:39:53 +03:00
alesapin
c9880ad9c0
Fix join of unjoinable thread
2018-10-02 16:38:28 +03:00
Alexey Milovidov
698be017e9
Changes after merge #3208
2018-10-02 00:49:56 +03:00
alexey-milovidov
a4736275c6
Merge pull request #3208 from vavrusa/master
...
PushingToViewsBlockOutputStream: process blocks concurrently
2018-10-01 04:42:55 +03:00
zhang2014
6778220ffd
ISSUES-3232 remake interpreter_subquery when rewrite subqueries
2018-09-30 17:27:59 +08:00
Alexey Milovidov
613061cee5
Fixed incompatibility when versions prior to 18.12.17 are used on remote servers and newer is used on initiating server, and GROUP BY both fixed and non-fixed keys, and when two-level group by method is activated [#CLICKHOUSE-4035]
2018-09-28 23:17:38 +03:00
chertus
69b9c25801
Merge branch 'master' into joins
2018-09-28 20:09:05 +03:00
chertus
4c8112138c
Merge branch 'master' into joins
2018-09-28 20:02:25 +03:00
alexey-milovidov
a149233d99
Merge pull request #3246 from yandex/low-cardinality-fixes
...
Low cardinality fixes
2018-09-28 19:50:53 +03:00
alexey-milovidov
c6ab6fa1a8
Merge pull request #3247 from CurtizJ/fix-thread-group
...
Fix distributed "CREATE TABLE AS SELECT" query.
2018-09-28 18:54:49 +03:00
Anton Popov
49438ed1a1
Update DDLWorker.cpp
2018-09-28 18:35:30 +03:00
CurtizJ
ed3c744055
fixes
2018-09-28 18:30:03 +03:00
chertus
59df909f87
more ast debug info
2018-09-28 18:01:13 +03:00
proller
ec11bef633
Build fixes ( #3181 )
2018-09-28 17:53:20 +03:00
CurtizJ
009c973312
remove redundant comment
2018-09-28 16:47:34 +03:00
CurtizJ
f9fb73ce2e
fix distributed "create table as select" query
2018-09-28 16:44:39 +03:00
chertus
593b3ae338
one more minor fix
2018-09-28 15:13:01 +03:00
alexey-milovidov
b84a499a93
Merge pull request #3231 from zhang2014/fix/ISSUES-3225
...
ISSUES-3225 fix alias conflict when predicate optimization
2018-09-28 14:46:54 +03:00
chertus
b4ea89e1f3
minor fix
2018-09-28 14:46:52 +03:00
chertus
669ab71502
rename files according to class name
2018-09-28 13:52:08 +03:00
Nikolai Kochetov
97add69825
Rename WithDictionary to LowCardinality.
2018-09-28 13:44:59 +03:00
Alexey Milovidov
138e70197e
Fixed comments and docs #3241
2018-09-28 06:42:08 +03:00
Alexey Milovidov
169dbfe200
Fixed discrepancy between default values of "log_queries" and "log_query_threads" settings [#CLICKHOUSE-4030]
2018-09-28 06:40:39 +03:00
chertus
57d2c9db60
AST debug stuff: DumpASTNode, TranslateQualifiedNamesVisitor, hide AST explain command [CLICKHOUSE-4001]
2018-09-27 22:25:18 +03:00
Nikolai Kochetov
5a211b1ab7
More comments.
2018-09-27 18:16:47 +03:00
chertus
041cef5968
explain ast [CLICKHOUSE-4001]
2018-09-27 12:47:21 +03:00
zhang2014
b35ab511cb
ISSUES-3225 fix alias conflict when predicate optimization
2018-09-27 14:29:38 +08:00
Marek Vavruša
a971a0bc07
PushingToViewsBlockOutputStream: process blocks concurrently
...
The current model is to process blocks for attached views in sequence.
This is not ideal when the processing time for each view varies, or is
blocking (for example with replicated tables), as processing of next-in-line
view is blocked by wait in it's predecessor.
This commit changes the behavior to process 2 or more attached views concurrently.
2018-09-26 15:22:06 -07:00
Alexey Milovidov
30da8de1b6
Send log message about peak memory usage to client #3230
2018-09-27 00:19:49 +03:00
Alexey Milovidov
99927a3518
Returned logging peak memory usage in query scope #3230
2018-09-27 00:10:43 +03:00
Alexey Milovidov
0928acdf8a
Removed dead code #3230
2018-09-27 00:02:54 +03:00
Alexey Milovidov
dd88c092b7
Attempt to fix inconsistent values in total memory tracker #3143
2018-09-26 23:45:40 +03:00
Alexey Milovidov
e90484db77
Fix conversion between Date and DateTime when inserting in VALUES format and "input_format_values_interpret_expressions" is true #3226
2018-09-26 22:43:10 +03:00
alexey-milovidov
b6e53d22e1
Merge pull request #3200 from yandex/low-cardinality-function-result-cache
...
Added cache for low cardinality function result.
2018-09-26 18:12:48 +03:00
alexey-milovidov
6374094f0c
Merge pull request #3202 from zhang2014/fix/ISSUES-3145
...
ISSUES-3145 support qualified asterisk
2018-09-26 17:41:01 +03:00
Alexey Milovidov
042536177d
Merge branch 'master' into order-by-remerge
2018-09-26 04:24:35 +03:00
Nikolai Kochetov
d526859011
Added cache for low cardinality function result. [#CLICKHOUSE-3904]
2018-09-25 16:48:52 +03:00
zhang2014
b887ec8e98
ISSUES-3145 support qualified asterisk
2018-09-25 10:42:51 +08:00
alexey-milovidov
002331be1b
Merge pull request #3204 from CurtizJ/CLICKHOUSE-3527
...
Better code in #3101 .
2018-09-25 00:28:11 +03:00
Alexey Milovidov
8e7c6598e8
Added remerge step to process ORDER BY with LIMIT when memory usage is high #3179
2018-09-24 23:07:30 +03:00
Alexey Milovidov
17b8e20922
Failover for hosts with missing DNS records while connecting to ZooKeeper #3201
2018-09-24 22:09:12 +03:00
CurtizJ
d0ed96aa04
better code
2018-09-24 22:08:11 +03:00
Alexey Milovidov
73f68b5ee4
Miscellaneous [#CLICKHOUSE-2]
2018-09-24 21:44:09 +03:00
Alexey Milovidov
5f6328646a
utils/check-style/check-style -n #3101
2018-09-24 21:02:25 +03:00
alexey-milovidov
b6c7d71a03
Merge pull request #3101 from CurtizJ/CLICKHOUSE-3527
...
CLICKHOUSE-3527 Fix race while parallel ddl queries
2018-09-24 20:59:57 +03:00
zhang2014
f3dcc2ef41
ISSUES-3145 support qualified asterisk
2018-09-24 23:28:18 +08:00
alexey-milovidov
76cb9ff873
Update Context.cpp
2018-09-22 18:22:54 +03:00
alexey-milovidov
b1eb66c03e
Merge branch 'master' into low-cardinality-fixes
2018-09-21 13:43:37 +03:00
alexey-milovidov
4a54a1c310
Merge pull request #3138 from yandex/low-cardinality-group-by
...
Low cardinality group by
2018-09-21 13:38:20 +03:00
Nikolai Kochetov
3e742a6b55
Review fixes.
2018-09-21 12:49:43 +03:00
Alexey Milovidov
8bfdcc6464
Fix style [#CLICKHOUSE-2]
2018-09-20 23:57:06 +03:00
alexey-milovidov
5d3027d4d0
Merge pull request #3171 from yandex/fix_segfault_on_incomplete_block
...
Reorder Squashing and adding default output stream in insert
2018-09-20 21:11:45 +03:00
alexey-milovidov
4a095d8433
Merge pull request #3172 from CurtizJ/CLICKHOUSE-3979
...
Add modificator CUBE [CLICKHOUSE-3979]
2018-09-20 21:04:56 +03:00
alexey-milovidov
0d2c6dff24
Update Aggregator.h
2018-09-20 20:59:47 +03:00
CurtizJ
b89feb1572
replace bool by enum
2018-09-20 20:51:42 +03:00
CurtizJ
8644853558
optimize
2018-09-20 18:46:37 +03:00
alesapin
94287f3199
Finally fixed
2018-09-20 18:35:52 +03:00
alesapin
c13ffed085
Remove redundant changes
2018-09-20 16:26:32 +03:00
chertus
6442b5b167
refactoring: hide ASTIdentifier kind
2018-09-20 16:13:33 +03:00
alesapin
0f12e028a5
Fix insert for native format
2018-09-20 15:59:33 +03:00
alesapin
dfa3e7e1cd
Missed changes
2018-09-20 14:40:04 +03:00
alesapin
b87a084f38
Strict order of evaluated and added columns
2018-09-20 14:16:15 +03:00
Nikolai Kochetov
d2fbc3df58
Fix in function for low cardinality argument. #3004
2018-09-20 13:55:10 +03:00
alesapin
2b3e29f607
Take header from first block in Squashing stream
2018-09-19 20:39:04 +03:00
alesapin
e1c8045055
Fix error with header
2018-09-19 15:56:56 +03:00
alesapin
520446df53
Reorder Squashing and adding default output stream in insert
2018-09-19 14:09:12 +03:00
alesapin
c2f3453fda
Reorder Squashing and adding default output stream in insert
2018-09-19 14:06:42 +03:00
Alexey Zatelepin
badefe14bc
allow ON CLUSTER for ALTER UPDATE #3158
2018-09-19 14:01:09 +03:00
CurtizJ
8f7daa75d1
update comments
2018-09-19 12:34:07 +03:00
CurtizJ
e4c1ca91c1
update tests
2018-09-18 21:41:54 +03:00
Anton Popov
f550b21a8f
Merge branch 'master' into CLICKHOUSE-3527
2018-09-18 21:35:54 +03:00
CurtizJ
3177f3f6a9
update ddl guard
2018-09-18 21:33:15 +03:00
Alexey Milovidov
599ec4c577
Merge branch 'veloman-yunkan-jsoneachrow_import_nested'
2018-09-17 23:36:01 +03:00
Alexey Milovidov
8852660b24
Merge branch 'jsoneachrow_import_nested' of https://github.com/veloman-yunkan/ClickHouse into veloman-yunkan-jsoneachrow_import_nested
2018-09-17 23:26:43 +03:00
CurtizJ
43951e4879
add test
2018-09-17 22:16:51 +03:00
alexey-milovidov
c275764647
Merge pull request #3124 from yandex/CLICKHOUSE-3800
...
CLICKHOUSE-3800: Enable compilation to llvm by default
2018-09-17 21:50:45 +03:00
CurtizJ
8c9fe80d2d
add modificator cube
2018-09-17 21:01:04 +03:00
Alexey Milovidov
2963e056ef
Whitespaces [#CLICKHOUSE-3800]
2018-09-17 18:34:43 +03:00
Nikolai Kochetov
e84c64dae4
Fix build
2018-09-17 15:47:06 +03:00
Alexey Milovidov
01435a2c5d
Fixed error in documentation for setting "send_logs_level" #3136
2018-09-15 00:53:03 +03:00
Nikolai Kochetov
e2e31751e9
Support low cardinality columns in aggregation method with fixed keys. [#CLICKHOUSE-3903]
2018-09-14 20:14:31 +03:00
Veloman Yunkan
5fe127e4c3
Added --input_format_import_nested_json option
...
By default mapping of nested json data to nested tables is disabled. To
enable the import of nested json data (into corresponding nested tables)
clickhouse must be run with the --input_format_import_nested_json=1
option.
2018-09-14 13:43:57 +00:00
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
CurtizJ
3bc743c50d
do not merge blocks into one
2018-09-03 12:49:04 +03:00
alexey-milovidov
7d8f0a6140
Merge pull request #3022 from yandex/padded-arena
...
Padded Arena
2018-09-03 05:39:42 +03:00
Alexey Milovidov
3873ab1adb
Fixed tests in Sandbox [#CLICKHOUSE-2]
2018-09-03 05:32:29 +03:00
Alexey Milovidov
cb0af7c3af
Removed unused aggregation method [#CLICKHOUSE-2]
2018-09-03 03:33:29 +03:00
Alexey Milovidov
8e17652f0d
Removed AggregationMethodConcat, because AggregationMethodSerialized appeared to be far superior [#CLICKHOUSE-2]
2018-09-03 03:07:05 +03:00
Alexey Milovidov
0b2ec39f11
Miscellaneous [#CLICKHOUSE-2]
2018-09-03 03:00:56 +03:00
Alexey Milovidov
13aac718a3
Reverted wrong change [#CLICKHOUSE-2]
2018-09-03 01:24:46 +03:00
Alexey Milovidov
1de3f144f6
Padding chunks in Arena in attempt to improve performance [#CLICKHOUSE-2]
2018-09-03 00:28:25 +03:00
Alexey Milovidov
7b1d6df25f
Merge remote-tracking branch 'origin/master' into ubsan-fixes-3
2018-09-02 23:42:15 +03:00
Alexey Milovidov
2da40c4117
Respect alignment in AggregationMethodConcat [#CLICKHOUSE-2]
2018-09-02 23:40:58 +03:00
Alexey Milovidov
4b01c2d9ba
Added comment [#CLICKHOUSE-2]
2018-09-02 22:49:12 +03:00
Alexey Milovidov
b82cf235b7
Suppressed one UBSan alert and added clarification in comment [#CLICKHOUSE-2]
2018-09-02 22:12:50 +03:00
Alexey Milovidov
24675aed1a
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 08:01:21 +03:00
Alexey Milovidov
77ccc8c65c
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 07:58:55 +03:00
Alexey Milovidov
ff13752d01
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 06:47:14 +03:00
Alexey Milovidov
538edbb8e2
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 06:33:48 +03:00
Alexey Milovidov
fc27be314b
Avoid temporary nullptr references [#CLICKHOUSE-2]
2018-09-02 06:00:04 +03:00
Alexey Milovidov
f97d9e8f3f
Fixed build #2957
2018-09-02 03:25:33 +03:00
Alexey Milovidov
f7107f12b4
Merge branch 'master' into extra-warnings
2018-09-02 03:13:36 +03:00
alexey-milovidov
16dc142a05
Merge pull request #3017 from yandex/ubsan-fixes
...
Fixes for UBSan.
2018-09-02 03:12:20 +03:00
Alexey Milovidov
c75cc14703
Fixed error in UBSan [#CLICKHOUSE-2]
2018-09-01 23:28:46 +03:00
Alexey Milovidov
751cf62262
Added documentation for CurrentMetrics #3010
2018-09-01 22:51:38 +03:00
alexey-milovidov
64b48b5fcf
Merge pull request #2907 from zhang2014/feature/support_join_for_table_function
...
ISSUES-2906 support join for table function
2018-09-01 20:49:49 +03:00
alexey-milovidov
889e060993
Merge pull request #3006 from VadimPE/CLICKHOUSE-1660
...
CLICKHOUSE-1660 Added duplicated columns removal in USING(...)
2018-09-01 20:43:54 +03:00
Alexey Milovidov
8f54125884
Minor modifications #2808
2018-09-01 06:17:43 +03:00
alexey-milovidov
6d5092518f
Merge pull request #2808 from chenxing-xc/master
...
Aligned aggregate state #2754
2018-09-01 05:38:11 +03:00
alesapin
66eb5402b0
Fix style
2018-08-31 16:25:33 +03:00
alesapin
a3ebbea3a0
Fix style
2018-08-31 16:23:56 +03:00
alesapin
650d15696f
CLICKHOUSE-3800: Add memory comsumption profile_event of compiled expression cache
2018-08-31 15:39:27 +03:00
alesapin
ac6ab62c6f
CLICKHOUSE-3800: Remove use after free of context
2018-08-31 13:27:08 +03:00
VadimPE
db8e63ff67
CLICKHOUSE-1660 Added duplicated columns removal in USING(...)
2018-08-31 13:00:46 +03:00
alesapin
711b228a30
Merge remote-tracking branch 'upstream/master'
2018-08-31 10:15:33 +03:00
alexey-milovidov
a05cdfbb45
Merge branch 'master' into extra-warnings
2018-08-31 03:03:44 +03:00
Alexey Milovidov
0c6c1e83a3
Avoid excessive padding in Pretty formats [#CLICKHOUSE-2]
2018-08-31 02:34:12 +03:00
Alexey Milovidov
5df5df8971
utils/check-style/check-style -n
2018-08-31 00:13:34 +03:00
alexey-milovidov
3b8e3c854c
Merge pull request #3000 from proller/fix3
...
CLICKHOUSE-3940 Fix crash on join
2018-08-30 22:52:59 +03:00
alexey-milovidov
f22b12b698
Update Join.cpp
2018-08-30 22:52:28 +03:00
Alexey Milovidov
76eaacf1be
Fixed tests in Sandbox [#CLICKHOUSE-2]
2018-08-30 22:27:36 +03:00
alesapin
ed34ffc94e
Merge branch 'master' into master
2018-08-30 19:34:29 +03:00
alesapin
6e64067a70
CLICKHOUSE-3800: Move cache to context, change hashing algorithm, add drop instruction for compiled expressions cache
2018-08-30 19:31:20 +03:00
proller
81960a2690
CLICKHOUSE-3940 Fix crash on join
2018-08-30 18:44:30 +03:00
Alexey Zatelepin
dc2a4c21e9
execute ALTER UPDATE [#CLICKHOUSE-13]
2018-08-30 16:56:43 +03:00
VadimPE
5551f2902c
CLICKHOUSE-1660
2018-08-30 15:32:11 +03:00
alexey-milovidov
b05c62be9f
Merge pull request #2994 from CurtizJ/CLICKHOUSE-3935
...
ClickHouse-3935 Fix bug with qualified columns in where clause
2018-08-30 15:01:47 +03:00
alexey-milovidov
2e22a14c5c
Merge pull request #2997 from VadimPE/fix_exception_message
...
Fix error message in exception message for DROP TABLE/PARTITION
2018-08-30 14:19:58 +03:00
VadimPE
81893ae577
Fix error message
2018-08-30 12:33:31 +03:00
CurtizJ
764aa70d04
fix bug with quailified columns in where clause
2018-08-30 01:09:04 +03:00
CurtizJ
b43d403815
Revert "fix bug with quailified columns in where clause"
...
This reverts commit e007fd2b9e
.
2018-08-30 01:04:45 +03:00
alesapin
647446c45e
CLICKHOUSE-3800: More correct compilated function call counter
2018-08-29 23:05:31 +03:00
CurtizJ
e007fd2b9e
fix bug with quailified columns in where clause
2018-08-29 22:45:29 +03:00
alexey-milovidov
794b4d30a8
Merge pull request #2989 from yandex/fix-context-lifetime-try-2-quick
...
Fix lifetime of Context reference in functions (first quick variant) …
2018-08-29 21:32:48 +03:00
alexey-milovidov
07408490b6
Merge pull request #2982 from VadimPE/CLICKHOUSE-3934
...
CLICKHOUSE-3934 add join_default_strictness
2018-08-29 21:32:03 +03:00
alexey-milovidov
b99bf0c558
Update Settings.h
2018-08-29 21:27:41 +03:00
alesapin
06adf19053
CLICKHOUSE-3800: Remove tab
2018-08-29 20:51:23 +03:00
alesapin
d2a5efb11b
CLICKHOUSE-3800: Add perf test
2018-08-29 20:49:43 +03:00
Alexey Milovidov
3361247126
Fix lifetime of Context reference in functions (first quick variant) [#CLICKHOUSE-2]
2018-08-29 18:36:24 +03:00
Alexey Milovidov
4ebfaa768e
Miscellaneous [#CLICKHOUSE-2]
2018-08-29 18:16:34 +03:00
VadimPE
f253719eac
CLICKHOUSE-3934 add SettingsJoinStrictness
2018-08-29 18:15:42 +03:00
alesapin
7498105b67
CLICKHOUSE-3800: Fix hash and equals functions
2018-08-29 18:14:44 +03:00
Alexey Milovidov
697067f207
Fix lifetime of Context reference in functions (first quick variant) [#CLICKHOUSE-2]
2018-08-29 17:59:08 +03:00
VadimPE
d626ae11a7
CLICKHOUSE-3934
2018-08-29 16:54:43 +03:00
Vadim Plakhtinskiy
f0c16900aa
CLICKHOUSE-3934 fix bug with CROSS JOIN
2018-08-29 16:51:07 +03:00
chertus
a69c936b44
improve field visitors for UUID CLICKHOUSE-3249
2018-08-29 14:58:40 +03:00
alesapin
a8db29c714
Merge remote-tracking branch 'upstream/master'
2018-08-29 11:42:50 +03:00
Alexey Milovidov
2581d88f0e
Better error message: avoid confusion when column is named a [#CLICKHOUSE-3]
2018-08-28 23:39:18 +03:00
Alexey Milovidov
f45afa37a8
Miscellaneous [#CLICKHOUSE-3]
2018-08-28 21:25:40 +03:00
alesapin
1a85271702
CLICKHOUSE-3800: Add expression cache
2018-08-28 20:06:42 +03:00
Vadim
9a0802f5bd
fix documentation
2018-08-28 17:52:27 +03:00
Vadim
98abde8480
Update ExpressionAnalyzer.cpp
2018-08-28 17:41:15 +03:00
Vadim
096b5e6a9d
Update ExpressionAnalyzer.cpp
2018-08-28 17:40:07 +03:00
Vadim
564ddbf8d8
Update ExpressionAnalyzer.cpp
2018-08-28 17:33:57 +03:00
Vadim
a8c1199ad4
Merge branch 'master' into CLICKHOUSE-3934
2018-08-28 17:06:17 +03:00
VadimPE
398d38eead
CLICKHOUSE-3934 add join_default_strictness
2018-08-28 16:57:31 +03:00
CurtizJ
a603595120
remove redundant code
2018-08-28 12:27:17 +03:00
Alexey Milovidov
74fee0dc98
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 21:20:58 +03:00
Alexey Milovidov
a3cd1ea8cb
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 21:16:32 +03:00
Alexey Milovidov
0d02315778
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 21:07:17 +03:00
Alexey Milovidov
3efffba44e
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 21:05:28 +03:00
Alexey Milovidov
956f76e000
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 20:58:43 +03:00
Alexey Milovidov
5b257c588f
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 20:42:13 +03:00
Alexey Milovidov
6e18af7ed3
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 20:18:14 +03:00
Alexey Milovidov
486d87ebcd
Merge remote-tracking branch 'origin/master' into extra-warnings
2018-08-27 20:01:33 +03:00
alexey-milovidov
95b2bcbc6b
Merge pull request #2970 from 4ertus2/decimal
...
Some more Decimal
2018-08-27 19:59:26 +03:00
Alexey Milovidov
e5a2dd8624
Merge branch 'master' into extra-warnings
2018-08-27 19:19:04 +03:00
chertus
ee873c8e9f
Merge branch 'master' into decimal
2018-08-27 19:18:48 +03:00
Amos Bird
ea84430864
Get rid of useless std::move to get NRVO
...
http://eel.is/c++draft/class.copy.elision#:constructor,copy,elision
Some quote:
> Speaking of RVO, return std::move(w); prohibits it. It means "use move constructor or fail to compile", whereas return w; means "use RVO, and if you can't, use move constructor, and if you can't, use copy constructor, and if you can't, fail to compile."
There is one exception to this rule:
```cpp
Block FilterBlockInputStream::removeFilterIfNeed(Block && block)
{
if (block && remove_filter)
block.erase(static_cast<size_t>(filter_column));
return std::move(block);
}
```
because references are not eligible for NRVO, which is another rule "always move rvalue references and forward universal references" that takes precedence.
2018-08-27 22:15:48 +08:00
zhang2014
f8d7cf17a7
ISSUES-2482 fix crash when on cluster
2018-08-27 19:03:22 +08:00
Alexey Milovidov
a70d0b79e4
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 04:13:02 +03:00
Alexey Milovidov
0fd919fdc5
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 04:11:58 +03:00
Alexey Milovidov
c193d15ef2
Merge branch 'master' into generalize-zookeeper
2018-08-26 03:32:15 +03:00
Alexey Milovidov
aa936b09f9
Added check for max_block_size = 0 #2447
2018-08-25 19:32:44 +03:00
Alexey Milovidov
3475ef5304
Attempt to generalize ZooKeeper interface [#CLICKHOUSE-2]
2018-08-25 04:58:14 +03:00
CurtizJ
cf3fbb8c51
minor changes
2018-08-24 20:37:08 +03:00
chertus
53ec40eeee
some decimal field improvements CLICKHOUSE-3765
2018-08-24 19:35:00 +03:00
CurtizJ
e0b3283ed3
Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-3893
2018-08-24 18:09:53 +03:00
CurtizJ
c18ad18d96
Add rollup modificator
2018-08-24 18:00:00 +03:00
chertus
54a3c028c5
Merge branch 'master' into decimal
2018-08-24 14:19:41 +03:00
Alexey Milovidov
eee6644a22
Better exception message in case of wrong number of arguments for function "if" [#CLICKHOUSE-3932]
2018-08-24 12:57:42 +03:00
zhang2014
cdc4c65adc
ISSUES-2906 support join for table function
2018-08-24 15:40:09 +08:00
zhang2014
83ceeca199
ISSUES-2906 support join for table function
2018-08-24 14:45:24 +08:00
alexey-milovidov
5637b30556
Merge pull request #2929 from zhang2014/fix/support_asterisk_for_predcate_optimize
...
ISSUES-863 fix predicate not work for asterisk
2018-08-24 08:53:04 +03:00
zhang2014
21528697f8
ISSUES-863 turn off enable_optimize_predicate_expression
2018-08-24 13:30:49 +08:00
Alexey Milovidov
6043ea02de
Style #2913
2018-08-24 08:25:00 +03:00
zhang2014
bf517d5523
ISSUES-863 fix failure tests
2018-08-24 12:11:32 +08:00
zhang2014
32cc611f5d
ISSUES-863 fix predicate optimizer not work for asterisk
2018-08-24 10:05:43 +08:00
alexey-milovidov
c538e78453
Merge pull request #2933 from zlobober/patch-1
...
More verbose access denied error message
2018-08-24 01:44:51 +03:00
Max Akhmedov
d5ccd26348
More verbose access denied error message
2018-08-23 21:44:13 +03:00
proller
38347f120d
fixes
2018-08-23 15:20:54 +03:00
proller
426b8c6130
Merge remote-tracking branch 'upstream/master' into fix3
2018-08-23 14:27:05 +03:00
Alexey Milovidov
b9778a3764
Speed up fuzz tests [#CLICKHOUSE-2]
2018-08-23 04:31:28 +03:00
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
0463fb6dd3
Update Settings.h
2018-07-16 19:48:56 +03:00
chertus
e65c0b436a
Merge branch 'master' into issue-3578
2018-07-16 18:28:06 +03:00
chertus
2cddb4b840
send metadata only for affected table
2018-07-16 17:52:02 +03:00
Alexey Milovidov
9611198568
Merge branch 'master' into background-processing-pool-backoff
2018-07-16 06:39:37 +03:00
Alexey Milovidov
77ed75e1d3
Merge branch 'master' into amosbird-master
2018-07-16 06:34:22 +03:00
alexey-milovidov
68b57e605a
Merge branch 'master' into background-processing-pool-backoff
2018-07-16 06:27:43 +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
chertus
c8f71cb539
Merge branch 'master' into issue-3578
2018-07-13 14:30:42 +03:00
chertus
f89e476c0f
add option to disable sending metadata
2018-07-12 17:33:57 +03:00
Amos Bird
f5764910c4
Fix TRUNCATE command for temporary tables.
2018-07-10 22:25:08 +08:00
Alexey Milovidov
0947c7808d
Avoid locking while reading config to check part_log #2281
2018-07-08 07:54:37 +03: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
chertus
88c4081a82
3578: defaults for input streams (in progress)
2018-07-04 20:02:47 +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
alexey-milovidov
517318334a
Merge pull request #1722 from silviucpp/background-schedule-pool-fix
...
Background schedule pool fixed
2018-05-19 19:00:43 +03:00
Vitaliy Lyudvichenko
bd4d8a6766
Add profile events and settings logging. [#CLICKHOUSE-2910]
2018-05-17 19:01:41 +03:00
Nikolai Kochetov
9a1c286ade
Changed prepared set indexation from AST* to StringRange. [#CLICKHOUSE-3734]
2018-05-17 17:54:43 +03:00
Alexey Zatelepin
d31b897ba7
validate mutation commands [#CLICKHOUSE-3688]
2018-05-16 05:46:15 +03:00
Alexey Zatelepin
3b97d3938f
alter delete skeleton [#CLICKHOUSE-3688]
2018-05-16 05:46:15 +03:00
Alexey Milovidov
fb91bba279
Miscellaneous [#CLICKHOUSE-2]
2018-05-16 03:34:56 +03:00
Vitaliy Lyudvichenko
abc73eb6ba
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-05-15 21:35:52 +03:00
Nikolai Kochetov
6715b945d9
Allow using of function which returs tuple for IN. [#CLICKHOUSE-3730]
2018-05-15 18:38:04 +03:00
Nikolai Kochetov
aaad77a602
Fixed unnecessary creation of prepared set for function arguments other than second for in or global in. [#CLICKHOUSE-3730]
2018-05-15 18:38:04 +03:00
Nikolai Kochetov
e6adcfaad5
Fixed element types for explicit set in IN function. [#CLICKHOUSE-3730]
2018-05-15 18:38:04 +03:00
Nikolai Kochetov
651bac519c
Fixed element types for explicit set in IN function.
...
Fixed element types for explicit set in IN function. [#CLICKHOUSE-3730]
2018-05-15 18:38:04 +03:00
sundy-li
2511a4784b
Support data write to StorageMySQL table
2018-05-15 03:02:59 +03:00
Alexey Milovidov
3943cfb11e
Addition to prev. revision [#CLICKHOUSE-2]
2018-05-14 22:14:37 +03:00
Vitaliy Lyudvichenko
de6c48f4df
Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910
2018-05-14 19:09:00 +03:00
Alexey Milovidov
8690d596b0
Miscellaneous [#CLICKHOUSE-2]
2018-05-13 12:32:56 +03:00
Alexey Milovidov
582085bf15
Be more conservative about new feature #2277
2018-05-11 00:29:44 +03:00
Alexey Milovidov
65a08210ac
Merge branch 'llvm-jit' of https://github.com/pyos/ClickHouse into pyos-llvm-jit
2018-05-10 22:09:47 +03:00
pyos
e5ebc24657
Revert the part of bd332b that moved a read after std::move.
2018-05-10 21:19:41 +03:00
pyos
1718e575a7
Bridge between incompatible LLVM APIs
2018-05-10 20:31:24 +03:00
Alexey Milovidov
4d9088d3d4
Merge branch 'llvm-jit' of https://github.com/pyos/ClickHouse into pyos-llvm-jit
2018-05-10 18:23:53 +03:00
Alexey Milovidov
d3b7bafedf
Miscellaneous #2277
2018-05-10 18:22:54 +03:00
pyos
bd332b9171
Allow calling into libc from jitted code.
...
Mostly for intrinsics like memcpy/memset/memmove, which are inserted
during optimization by LLVM itself. (With a null resolver, a compiled
version of something like `Uint64 < 0` would segfault.)
2018-05-10 17:00:32 +03:00
pyos
4776168c3b
Merge branch 'master' of https://github.com/yandex/ClickHouse into llvm-jit
2018-05-10 13:25:26 +03:00
Vitaliy Lyudvichenko
5704de8774
Fixed settings passing in clickhouse-local and tmp dirs. [#CLICKHOUSE-3713]
2018-05-10 02:15:06 +03:00
Alexey Milovidov
72ab282bca
Removed hack #2277
2018-05-10 00:03:03 +03:00
Alexey Milovidov
3a059b82d2
Merge branch 'master' of github.com:yandex/ClickHouse into pyos-llvm-jit
2018-05-09 23:34:20 +03:00
Vitaliy Lyudvichenko
864dc0546b
Add requested changes. [#CLICKHOUSE-3645]
2018-05-09 07:55:08 +03:00
Vitaliy Lyudvichenko
8746149965
More persistent directory names for replicas. [#CLICKHOUSE-2]
2018-05-09 07:55:08 +03:00
Vitaliy Lyudvichenko
1f05000c2c
Better naming. [#CLICKHOUSE-3645]
2018-05-09 07:55:08 +03:00
Vitaliy Lyudvichenko
704583968f
Do not save resolved addresses in Connections. [#CLICKHOSUE-2]
...
Add disable_internal_dns_cache main config option.
2018-05-09 07:55:08 +03:00
Vitaliy Lyudvichenko
8fd72a6777
Add automatic DROP DNS CACHE, update of SYSTEM queries. [#CLICKHOUSE-3645]
2018-05-09 07:55:08 +03:00
pyos
32fd123010
Select an *exact* target machine, not an approximation.
...
Required for enabling advanced features such as AVX and AVX2.
Code mostly copied from LLVM's tools/opt/opt.cpp.
2018-05-07 19:06:13 +03:00
pyos
d4b5c01a1e
Fix addModule check for LLVM < 7
...
It returns `Expected`, so false-y is a failure. (In >= 7 it returns
an `Error`, so truth-y is a failure. Wow, that's confusing.)
2018-05-07 16:04:07 +03:00
pyos
0e09138405
Assume output and one input of LLVMFunction is non-const
2018-05-07 16:03:26 +03:00
Alexey Milovidov
01bbf650f8
Build fixes #2277
2018-05-07 11:59:24 +03:00
Alexey Milovidov
147919928d
Better error checks #2277
2018-05-07 09:49:56 +03:00
Alexey Milovidov
d1b4b5c836
Fixed error; added ProfileEvent #2277
2018-05-07 09:23:18 +03:00
Alexey Milovidov
b8a6261bbc
Style [#CLICKHOUSE-2]
2018-05-07 05:15:47 +03:00
Alexey Milovidov
fd0ee5c6b1
Style [#CLICKHOUSE-2]
2018-05-07 05:14:24 +03:00
Alexey Milovidov
02f8757bef
Applied clang-format #2272
2018-05-07 05:09:44 +03:00
Alexey Milovidov
b2edcfaa50
Applied clang-format #2272
2018-05-07 05:09:29 +03:00
Alexey Milovidov
1dc1ccc1d8
Applied clang-format #2272
2018-05-07 05:08:38 +03:00
Alexey Milovidov
90427db854
Applied clang-format #2272
2018-05-07 05:06:55 +03:00
Alexey Milovidov
94369e55d3
Fixed style a bit [#CLICKHOUSE-2]
2018-05-07 05:01:29 +03:00
Alexey Milovidov
956128a67a
Fixed style a bit [#CLICKHOUSE-2]
2018-05-07 05:01:11 +03:00
Alexey Milovidov
a687c90100
Allow to link with LLVM if it was compiled without RTTI #2277
2018-05-07 03:00:12 +03:00
Alexey Milovidov
71814a33d5
Fixed code #2272
2018-05-06 14:34:31 +03:00
Alexey Milovidov
9da677719c
Fixed code #2272
2018-05-06 14:34:16 +03:00
Alexey Milovidov
ee019183d2
Fixed code #2272
2018-05-06 14:31:14 +03:00
Alexey Milovidov
04d1c8c449
Fixed code #2272
2018-05-06 14:29:17 +03:00
Alexey Milovidov
b580d1c487
Allow to build with clang 7
2018-05-06 14:16:38 +03:00
Alexey Milovidov
6c7f896f9f
Miscellaneous #2277
2018-05-06 13:42:35 +03:00
Alexey Milovidov
69c67b4cd4
Addition to prev. revision #2277
2018-05-06 12:37:16 +03:00
Alexey Milovidov
c4a26764ce
Miscellaneous #2277
2018-05-06 12:32:36 +03:00
Alexey Milovidov
b1b95454cc
Make warning suppressions more local #2277
2018-05-06 12:29:57 +03:00
pyos
88bb2f7c25
Resolve symbols right after compiling.
...
llvm::orc::RTDyldObjectLinkingLayer::findSymbol appears to be non-threadsafe.
2018-05-05 00:38:17 +03:00
Nikolai Kochetov
530b99cee5
Added ConvertColumnWithDictionaryToFullBlockInputStream.
2018-05-04 14:39:15 +03:00
pyos
a286dea2e1
Don't waste time jit-compiling isolated functions.
...
This is already done ahead of time when building the executable.
2018-05-03 16:34:42 +03:00
pyos
23bbf632e5
If all inputs to a jitted function are constant, return a constant
2018-05-03 16:33:40 +03:00
pyos
accbbdb9e3
Add a setting that disables jit-compilation
2018-05-03 00:48:20 +03:00
pyos
900b92f744
Merge API changes from upstream
2018-05-01 22:52:33 +03:00
pyos
27f12eeaa3
Merge branch 'master' of https://github.com/yandex/ClickHouse into llvm-jit
2018-05-01 22:51:37 +03:00
Tsarkova Anastasia
ba901ebc3f
struct instead of class
2018-05-01 21:18:13 +02:00
Tsarkova Anastasia
7c9741ed5b
Fix style.
2018-05-01 15:31:38 +02:00
Tsarkova Anastasia
fe0753a128
Minor fixes, adding test case.
2018-05-01 15:24:43 +02:00
Tsarkova Anastasia
210a389592
Getting rid of measure action, other small fixes applied.
2018-04-30 21:33:32 +02:00
pyos
7529aa55a4
Fix a bug that limited inlining depth at 2
2018-04-30 01:23:27 +03:00
Tsarkova Anastasia
a99ff6f380
Fix tests.
2018-04-29 23:48:33 +02:00
Tsarkova Anastasia
9286c98789
Fix build.
2018-04-29 23:13:01 +02:00
pyos
b4c7bee12b
Merge branch 'master' of https://github.com/yandex/ClickHouse into llvm-jit
2018-04-29 23:22:18 +03:00
pyos
72f2fea837
Extract the code that compiles a single IFunctionBase from LLVMFunction
2018-04-29 21:03:58 +03:00
pyos
1be009d485
Remove getDefaultNativeValue in favor of llvm::Constant::getNullValue
2018-04-29 20:32:30 +03:00
Tsarkova Anastasia
4bce6035b1
Merge branch 'master' into master
2018-04-29 18:02:34 +02:00
Tsarkova Anastasia
2c96b1c684
Add comments. Change projection restoring function.
2018-04-29 15:49:58 +02:00
pyos
4641e2960f
Move ExpressionActions::compileFunctions to ExpressionJIT.cpp.
...
This means ExpressionJIT.h only has to expose one function.
2018-04-29 13:39:01 +03:00
pyos
6e05c5ace4
compilePrologue() isn't particularly useful after all.
...
Basically the only thing it can do that compile() can't is create 'alloca'
instructions, which are only needed to get pointers to stack variables.
Given that dynamically-sized allocations aren't possible with this API,
such pointers are probably completely pointless (heh).
2018-04-28 18:11:23 +03:00
pyos
1ffc2a0775
Make LLVMFunction monotonicity computation shorter (and fix a typo-bug)
2018-04-28 17:41:24 +03:00
pyos
a1eb938ed2
Inline nullable number constants into compiled code.
...
Also, protect against some segfaults during compilation by checking
correctness of the type returned by compile().
2018-04-28 17:12:00 +03:00
pyos
ccc895d162
Represent nullable types as pairs instead of pointers.
...
Turns out LLVM has insertvalue & extractvalue for struct in registers. This is
faster than pointers because null checks are now subject to more optimizations.
2018-04-28 14:12:23 +03:00
pyos
5c75342d54
Check nativity of all types *before* calling isCompilable
2018-04-28 01:03:52 +03:00
pyos
979c4d959f
Let jit-compilable functions deal with NULLs themselves.
...
And provide a default implementation of compile() for nullable columns
that actually works and is consistent with execute().
2018-04-28 00:34:27 +03:00