Commit Graph

13747 Commits

Author SHA1 Message Date
Alexey Zatelepin
0ec0a24bc9 fix use of temp variable after it gets out of scope 2018-09-20 16:55:22 +03:00
Nikolai Kochetov
d8a9525cf9 Added test with low acrdinality and array functions. #3004 2018-09-20 16:53:29 +03:00
alesapin
c13ffed085 Remove redundant changes 2018-09-20 16:26:32 +03:00
Nikolai Kochetov
d66527ec15 Fix functions with Array(LowCardinality) arguments. #3004 2018-09-20 16:16:30 +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
19d00cde7e Added test for low cardinality with in function. #3004 2018-09-20 13:57:52 +03:00
Nikolai Kochetov
d2fbc3df58 Fix in function for low cardinality argument. #3004 2018-09-20 13:55:10 +03:00
CurtizJ
f9ff586415 optimize 2018-09-20 13:44:13 +03:00
Nikolai Kochetov
5e4c5dd1c9 Fix functions on low cardinality with cons tesult. 2018-09-20 11:32:33 +03:00
Alexey Milovidov
2878f39e1e Added performance tests #3176 2018-09-19 23:48:25 +03:00
Alexey Milovidov
200860724e More tests #3176 2018-09-19 23:36:32 +03:00
Alexey Milovidov
2236435ed8 Added comment #2770 2018-09-19 23:23:33 +03:00
Alexey Milovidov
68a4ad0034 Added comment #2770 2018-09-19 23:22:58 +03:00
Alexey Milovidov
b396818632 Added comment #2770 2018-09-19 23:20:39 +03:00
Alexey Milovidov
44de6a0317 Improved performance 1.5..1.8 times #2770 2018-09-19 23:07:46 +03:00
alesapin
cf195ed832 Fix test 2018-09-19 20:52:09 +03:00
alesapin
2b3e29f607 Take header from first block in Squashing stream 2018-09-19 20:39:04 +03:00
VadimPE
89d408224b fix bug with part_name 2018-09-19 18:07:20 +03:00
VadimPE
2396b44519 fix 2018-09-19 17:44:30 +03:00
Nikolai Kochetov
bb570fa1a8 Fix low cardinality serialization test reference. 2018-09-19 17:43:12 +03:00
Nikolai Kochetov
2df05cf620 Fix native deserealization for nullable low cardinality. 2018-09-19 17:43:07 +03:00
Nikolai Kochetov
b93ea8e7cc Fixed default value index for LowCardinality(Nullable). 2018-09-19 17:42:59 +03:00
VadimPE
66b4a606d5 fix bug with add new partition in quorum 2018-09-19 17:34:41 +03:00
Alexey Zatelepin
b7cb8d1ae1 write correct columns list when UPDATEd part doesn't contain all columns [#CLICKHOUSE-13] 2018-09-19 16:04:52 +03:00
alesapin
e1c8045055 Fix error with header 2018-09-19 15:56:56 +03:00
alesapin
bb4be0515b Add test for segfault 2018-09-19 15:18:10 +03:00
chertus
f39d78b0bc AVG() exception instead of division by zero 2018-09-19 15:11:21 +03:00
CurtizJ
31bf960bfe add new syntax 2018-09-19 14:18:38 +03:00
Nikolai Kochetov
79e3ae2f75 Fix cast Null to LowCardinality(Nullable). #3066 2018-09-19 14:11:52 +03:00
VadimPE
f05d93897b Del old class 2018-09-19 14:10:56 +03:00
alesapin
520446df53 Reorder Squashing and adding default output stream in insert 2018-09-19 14:09:12 +03:00
VadimPE
17ffa8c310 fix class for added parts 2018-09-19 14:08:04 +03:00
alesapin
c2f3453fda Reorder Squashing and adding default output stream in insert 2018-09-19 14:06:42 +03:00
Nikolai Kochetov
926dfa82f3 Added test for low cardinality alter add column. #3066 2018-09-19 14:05:21 +03:00
Alexey Zatelepin
badefe14bc allow ON CLUSTER for ALTER UPDATE #3158 2018-09-19 14:01:09 +03:00
Nikolai Kochetov
1c611e2ad5 Fix low cardinality column deserialization from empty stream. #3114 2018-09-19 13:27:46 +03:00
VadimPE
96b117cb00 Revert "Update ReplicatedMergeTreeQuorumWriter.h"
This reverts commit e3add7f0c7.
2018-09-19 13:23:52 +03:00
alexey-milovidov
5ac1c763b1
Merge pull request #3165 from yandex/fix-prewhere-from-storage-merge-over-distributed
Fix reading from merge over distributed with prewhere.
2018-09-19 00:10:34 +03:00
Alexey Milovidov
2b74fd8a01 Style #2770 2018-09-18 22:44:15 +03:00
Alexey Milovidov
ead7baa805 Little better #2770 2018-09-18 22:41:42 +03:00
Alexey Milovidov
7b1da2cd73 Improved performance two times #2770 2018-09-18 22:29:29 +03:00
Nikolai Kochetov
501940fa7e Fix reading from merge over distributed with prewhere. 2018-09-18 22:01:29 +03:00
Alexey Milovidov
9ff5f28de4 Little better #2770 2018-09-18 21:58:05 +03:00
Alexey Milovidov
765b85e021 utils/check-style/check-style -n 2018-09-18 21:52:31 +03:00
Alexey Milovidov
dc7963a957 Merge branch 'alex-krash-function_format_date' 2018-09-18 21:51:14 +03:00
Alexey Milovidov
41bde049ab Merge remote-tracking branch 'origin/master' into alex-krash-function_format_date 2018-09-18 21:39:02 +03:00
alexey-milovidov
282e9aea45
Merge pull request #3161 from 4ertus2/refactoring
Some refactoring - DataTypeWithSimpleSerialization helper class
2018-09-18 21:37:30 +03:00
Alexey Milovidov
b8cbedee27 Merging #2770 2018-09-18 21:31:43 +03:00
Alexey Milovidov
ac73431451 Formatting; fixed error; fixed memory leak; miscellaneous #2770 2018-09-18 19:42:25 +03:00
chertus
0300256a07 add comment 2018-09-18 19:29:44 +03:00
Alexey Milovidov
dde8ca03cf Merge branch 'function_format_date' of https://github.com/alex-krash/ClickHouse into alex-krash-function_format_date 2018-09-18 19:19:29 +03:00
Alexey Milovidov
a918461216 Merge branch 'master' of github.com:yandex/ClickHouse 2018-09-18 19:17:36 +03:00
alexey-milovidov
67d559f3ef
Merge pull request #3163 from Bloxy-info/fix-negative-cumsum
fix arrayCumSumNonNegative that it does not accumulative negative values
2018-09-18 19:15:15 +03:00
alexey-milovidov
00dbf64176
Update arrayCumSumNonNegative.cpp 2018-09-18 19:14:01 +03:00
Alexey Milovidov
65f074715b Miscellaneous #3123 2018-09-18 19:12:23 +03:00
chertus
ba2f1a17b2 refactoring: class DataTypeWithSimpleSerialization [CLICKHOUSE-2] 2018-09-18 16:31:51 +03:00
chertus
fee5f24326 test for decimal + column defaults [CLICKHOUSE-3765] 2018-09-18 15:08:54 +03:00
daoready
889d5139ef fix arrayCumSumNonNegative that it does not accumulative negative values 2018-09-18 14:55:14 +03:00
Alexander Krasheninnikov
64533ff4df Add support for Date, filled documentation 2018-09-18 03:32:24 +03:00
Alexey Milovidov
599ec4c577 Merge branch 'veloman-yunkan-jsoneachrow_import_nested' 2018-09-17 23:36:01 +03:00
Alexey Milovidov
46ef387ce3 Style #3144 2018-09-17 23:35:21 +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
alexey-milovidov
006119b81d
Merge pull request #3155 from yandex/fix-float-parsing-with-custom-csv-delimiter
Fix float parsing with custom csv delimiter
2018-09-17 22:39:45 +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
alexey-milovidov
ded83c215c
Merge pull request #3150 from splichy/fix-storage-kafka-arg-schema
Fix Storage Kafka: Schema positional argument number
2018-09-17 21:49:48 +03:00
alexey-milovidov
c6f90523de
Merge pull request #3153 from 4ertus2/decimal
E-notation for decimal input [issue-3135]
2018-09-17 21:49:00 +03:00
alexey-milovidov
4bcc2f3600
Merge pull request #3154 from yandex/fix-hash-ranged-storage-dictionary
Fix hash ranged storage dictionary
2018-09-17 21:47:56 +03:00
Alexey Milovidov
c96464ca8e Added test #3142 2018-09-17 21:22:56 +03:00
Alexey Milovidov
c00147f37d Fixed parsing of floats in CSV file with custom delimiter #3142 2018-09-17 21:17:30 +03:00
Alexey Milovidov
8ba2ec9365 Merge branch 'master' of github.com:yandex/ClickHouse 2018-09-17 21:13:00 +03:00
Alexey Milovidov
20326bdcda Added comment #3142 2018-09-17 21:12:50 +03:00
Nikolai Kochetov
e0521b1abd Fix range boundaries for RangeHashed dictionary. 2018-09-17 21:06:01 +03:00
CurtizJ
8c9fe80d2d add modificator cube 2018-09-17 21:01:04 +03:00
chertus
7db097a49a support e-notation for decimal input [issue-3135] 2018-09-17 20:07:38 +03:00
Alexandr Krasheninnikov
ff9ff462fc Add tests 2018-09-17 20:02:12 +03:00
alexey-milovidov
13779bc75d
Merge pull request #3152 from zhang2014/fix/ISSUES-3149
ISSUES-3149 fix incorrectly masks rows in views
2018-09-17 18:57:47 +03:00
Nikolai Kochetov
2547fa6c88 Fix BlockInputStream for RangeHashed dictionary. 2018-09-17 18:51:10 +03:00
Alexey Milovidov
8218cf3a5f ZooKeeper: retry with different node in case when ZK server closed connection in response for our handshake [#CLICKHOUSE-3987] 2018-09-17 18:49:08 +03:00
Alexey Milovidov
2963e056ef Whitespaces [#CLICKHOUSE-3800] 2018-09-17 18:34:43 +03:00
zhang2014
745696b888 ISSUES-3149 fix incorrectly masks rows in views 2018-09-17 23:30:15 +08:00
alexey-milovidov
c62b640595
Merge pull request #3147 from VadimPE/CLICKHOUSE-3993
CLICKHOUSE-3993 add default type of JOIN in query
2018-09-17 16:33:48 +03:00
alexey-milovidov
3568087358
Update ParserTablesInSelectQuery.cpp 2018-09-17 16:33:19 +03:00
Vadim
e3add7f0c7
Update ReplicatedMergeTreeQuorumWriter.h 2018-09-17 16:05:20 +03:00
Vadim
3fabac31f6
Update ReplicatedMergeTreeQuorumWriter.h 2018-09-17 16:02:30 +03:00
Vadim
3b155638a0
Update ReplicatedMergeTreeQuorumWriter.h 2018-09-17 15:54:20 +03:00
Vadim
df9a01585a
Update ReplicatedMergeTreeQuorumWriter.h 2018-09-17 15:51:42 +03:00
Nikolai Kochetov
e84c64dae4 Fix build 2018-09-17 15:47:06 +03:00
Vadim
4dee095b9d
Update MergeTreeDataSelectExecutor.cpp 2018-09-17 15:43:14 +03:00
Vadim
204e1d437f
Merge branch 'master' into ISSUES-2581 2018-09-17 15:30:08 +03:00
VadimPE
5defbadb4a Add new class for write new parts 2018-09-17 15:28:29 +03:00
Alexandr Krasheninnikov
a4c616cbc9 Merge https://github.com/yandex/ClickHouse into function_format_date 2018-09-17 15:03:16 +03:00
Alexandr Krasheninnikov
e3d76c3778 Started to work 2018-09-17 15:03:06 +03:00
Vojtech Splichal
5aca7f3c6e Fix Storage Kafka: Schema positional argument number
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
2018-09-17 13:01:10 +02:00
Nikolai Kochetov
5b8cfc8e35 Fixed test. 2018-09-17 13:53:49 +03:00
Nikolai Kochetov
a2eb72c64a Fixed ColumnWithDictionary::getPermutation(). [#CLICKHOUSE-3903] 2018-09-17 12:51:47 +03:00
VadimPE
acf34e29ad CLICKHOUSE-3993 add tests 2018-09-17 11:39:26 +03:00