Commit Graph

13892 Commits

Author SHA1 Message Date
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
CurtizJ
e4c1ca91c1 update tests 2018-09-18 21:41:54 +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
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
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
Nikolai Kochetov
e84c64dae4 Fix build 2018-09-17 15:47:06 +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
VadimPE
a2dac6e236 CLICKHOUSE-3993 add default type of JOIN 2018-09-17 11:20:46 +03:00
robot-clickhouse
9148adb717 Auto version update to [18.13.0] [54408] 2018-09-17 09:05:31 +03:00
Alexey Milovidov
7f27f0e4ca Fixed build #3146 2018-09-17 06:44:29 +03:00
Alexey Milovidov
01cffc1382 Added test [#CLICKHOUSE-3988] 2018-09-17 06:24:39 +03:00
Alexey Milovidov
5e3b507bd6 Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988] 2018-09-17 06:09:56 +03:00
Alexey Milovidov
55bc0bb46b Added function "toDayOfYear" [#CLICKHOUSE-3716] 2018-09-17 04:27:34 +03:00
Alexey Milovidov
4cf73d607c Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988] 2018-09-17 03:42:39 +03:00
Veloman Yunkan
f51d791b68 Fixed the 00715_json_each_row_input_nested test 2018-09-16 14:42:35 +00:00
robot-clickhouse
9dd4a5c727 Auto version update to [18.12.17] [54407] 2018-09-16 05:24:57 +03:00
alexey-milovidov
13406d876c
Merge pull request #3130 from yandex/fix-dependency-on-new-libc
Fix dependency on too new libc
2018-09-16 05:24:09 +03:00
Alexey Milovidov
767db1bc30 Revert "Auto version update to [18.12.16] [54407]"
This reverts commit 3e6d6bbb6c.
2018-09-16 05:23:48 +03:00
Alexey Milovidov
a9824de575 Miscellaneous (avoid valgrind's "Syscall param socketcall.sendto(msg) points to uninitialised byte(s)") [#CLICKHOUSE-3989] 2018-09-16 03:25:25 +03:00
Alexey Milovidov
7d6ec29c5c Fixed tests in Travis (order of destruction of thread-local variables of the main thread vs. static variables) [#CLICKHOUSE-3989] 2018-09-16 03:14:55 +03:00
Alexey Milovidov
01435a2c5d Fixed error in documentation for setting "send_logs_level" #3136 2018-09-15 00:53:03 +03:00
proller
d752d5d62d Prepare to new poco, build fixes (#3072)
* WIp

* fix

* fix

* test

* fix poco netssl find

* clean

* fixes

* wip

* wip

* new poco

* fixes

* Fixes

* wip

*  clean

* clean

*     clean

* clean

* Update HTTPHandlerFactory.h
2018-09-14 22:48:51 +03:00
Alexey Milovidov
cc393f130e Minor modifications #3123 2018-09-14 22:23:03 +03:00
Alexey Milovidov
5dfc311075 Fixed build #3123 2018-09-14 22:15:11 +03:00
Alexey Milovidov
6688f01cf0 ./utils/check-style/check-style -n #3123 2018-09-14 22:11:48 +03:00
alexey-milovidov
a26e6935da
Merge pull request #3123 from Enmk/Issue_2093_Support_arbitrary_type_for_ranges_in_range_hashed_dictionary
Added support of int-based types: Int\UInt(8,16,32), Date, DateTime f…
2018-09-14 22:10:13 +03:00
alexey-milovidov
f64dbda13a
Update FunctionsExternalDictionaries.h 2018-09-14 22:04:53 +03:00
alexey-milovidov
f27a712b7e
Update FunctionsExternalDictionaries.h 2018-09-14 22:02:40 +03:00
alexey-milovidov
93a269d7af
Update FunctionsExternalDictionaries.h 2018-09-14 21:55:12 +03:00
alexey-milovidov
67d6ce4f41
Update FunctionsExternalDictionaries.h 2018-09-14 21:51:18 +03:00
alexey-milovidov
09b1cafe76
Update RangeHashedDictionary.cpp 2018-09-14 21:44:59 +03:00
alexey-milovidov
be51dccbb7
Merge pull request #3126 from VadimPE/CLICKHOUSE-3476
[CLICKHOUSE-3476] add invalidate_query for ClickHouse in Dictionary
2018-09-14 21:18:09 +03:00
alexey-milovidov
f6d048d4f6
Update ClickHouseDictionarySource.cpp 2018-09-14 21:14:17 +03:00
alexey-milovidov
685560134a
Merge pull request #3129 from 4ertus2/decimal
var, stddev and math functions for decimal [CLICKHOUSE-3765]
2018-09-14 21:12:37 +03:00
alexey-milovidov
bf53c4a31d
Merge pull request #3134 from zhang2014/fix/ISSUES-3110
ISSUES-3110 fix merge and distributed engine query stage
2018-09-14 21:10:16 +03:00
Nikolai Kochetov
936b4789bd Added more tests with low cardinality type. 2018-09-14 21:01:11 +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
chertus
57260bbd6a math funcs for decimal (Float64 inside) [CLICKHOUSE-3765] 2018-09-14 17:40:51 +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
Vasily Nemkov
dbcbce6fe4 More tests for range edge cases and for querying out of range;
Minor cleanup: removed extra header file.
2018-09-14 16:42:57 +03:00
Veloman Yunkan
47eb0e28b3 Nested JSON data is mapped to nested table data 2018-09-14 12:15:32 +00:00
Veloman Yunkan
8d427dd09d Extracted JSONEachRowRowInputStream::readJSONObject
Also changed the names of previously extracted functions to camel case.
2018-09-14 10:47:26 +00:00
zhang2014
7a87da78d7 ISSUES-3110 fix merge and distributed engine query stage 2018-09-14 18:16:27 +08:00
chertus
0740804ce7 fix build 2018-09-14 13:15:56 +03: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
VadimPE
38fef408c8 Merge branch 'CLICKHOUSE-3476' of https://github.com/VadimPE/ClickHouse into CLICKHOUSE-3476 2018-09-14 12:34:16 +03:00
VadimPE
62726d53d4 CLICKHOUSE-3476 fix 2018-09-14 12:33:11 +03:00
Nikolai Kochetov
3dc5cd3a3a Merged with master. 2018-09-14 12:14:37 +03:00
Veloman Yunkan
446df4342e Testing of JSONEachRow input of Nested data
The new test demonstrates current handling of flat JSON data corresponding
to nested columns.
2018-09-14 09:12:56 +00:00
Alexandr Krasheninnikov
b9e35c50a6 Merge github.com:yandex/ClickHouse into function_format_date 2018-09-14 11:42:32 +03:00
Veloman Yunkan
4cf2cd9586 Some more refactoring 2018-09-14 08:27:49 +00: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
Veloman Yunkan
270f13fe99 Some refactoring 2018-09-14 07:28:49 +00:00
robot-clickhouse
3e6d6bbb6c Auto version update to [18.12.16] [54407] 2018-09-14 06:23:40 +03:00
robot-clickhouse
182ec7d3e4 Auto version update to [18.12.15] [54407] 2018-09-14 06:21:25 +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
b824652992
Update DictionarySourceFactory.cpp 2018-09-13 21:58:12 +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
chertus
7adf8d29cf var/stddev for decimal [CLICKHOUSE-3765] 2018-09-13 21:36:47 +03:00
VadimPE
f544564df6 Add documentation 2018-09-13 18:57:51 +03:00
Vadim
8d1edbc019
Update ClickHouseDictionarySource.cpp 2018-09-13 18:20:40 +03:00
Vasily Nemkov
99560e06f8 Added support of int-based types: Int\UInt(8,16,32), Date, DateTime for range_hashed dictionary.
Fixes #2093
Added type checks for .range_min and .range_max
Allowed nullable range values in dictionary source
Added test for range_hashed dictionaries
2018-09-13 18:19:55 +03:00
VadimPE
d04db2a211 CLICKHOUSE-3476 fix 2018-09-13 18:13:23 +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
560e131493 fix bug with old version 2018-09-13 15:53:32 +03:00
VadimPE
7ed39aaca3 add partition_id 2018-09-13 15:48:46 +03:00
VadimPE
11955b550f fix 2018-09-13 15:24:34 +03:00
zhang2014
25f79593a2 ISSUES-3105 fix some bugs in the predicate optimizer 2018-09-13 20:08:27 +08:00
alesapin
5c7f5229a1 Merge branch 'master' of github.com:yandex/ClickHouse 2018-09-13 14:38:31 +03:00
alesapin
ae718cf536 Fix integration test 2018-09-13 14:38:20 +03:00
robot-clickhouse
d894904d7f Auto version update to [18.12.14] [54407] 2018-09-13 13:19:54 +03:00
alesapin
84cde3429b Merge branch 'master' of github.com:yandex/ClickHouse 2018-09-13 13:12:40 +03:00
alesapin
c088574dca Add test for odbc dictionary 2018-09-13 13:12:11 +03:00
CurtizJ
c1533f6176 Merge remote-tracking branch 'origin/CLICKHOUSE-3527' into CLICKHOUSE-3527 2018-09-13 13:01:56 +03:00
CurtizJ
eb60ffae92 more iterations in test 2018-09-13 12:48:22 +03:00
Alexey Milovidov
59f8313b83 utils/check-style/check-style 2018-09-13 06:34:58 +03:00
Alexey Milovidov
32e3da3f52 Merge #3035 2018-09-13 06:13:29 +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
8aa4f8f5df Fixed error [#CLICKHOUSE-2] 2018-09-13 05:55:32 +03:00
Alexey Milovidov
655b79f1af Every function in its own file, part 4 [#CLICKHOUSE-2] 2018-09-13 04:59:51 +03:00
Alexey Milovidov
2b08c072d8 Removed dependency #3009 2018-09-13 04:26:12 +03:00
Alexey Milovidov
2d43715058 Fixed build (clang version 7.0.0 (trunk 334145) cannot eat this code) #3103 2018-09-13 04:22:22 +03:00
alexey-milovidov
295606ed37
Update createHardLink.cpp 2018-09-13 04:10:22 +03:00
alexey-milovidov
fd630179ec
Merge pull request #3103 from yandex/dont-fetch-unchanged-mutated-parts
Don't fetch parts not changed by mutations
2018-09-13 04:00:31 +03:00
Alexey Milovidov
f2879f819f Fixed build #3009 2018-09-13 03:50:04 +03:00
alexey-milovidov
34f1998009
Merge pull request #3009 from yandex/astudnev-cum_sum_limit2
[FIX] Additional higher order functions to work with arrays
2018-09-13 03:17:41 +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
alexey-milovidov
77f41b8580
Merge pull request #3104 from CurtizJ/CLICKHOUSE-3034
CLICKHOUSE-3034 Add setting allow_ddl
2018-09-13 03:06:26 +03:00
alexey-milovidov
5998496790
Merge pull request #3116 from 4ertus2/decimal
Some aggregate functions for Decimal
2018-09-13 03:01:27 +03:00
alexey-milovidov
4af3df9433
Merge pull request #3117 from yandex/CLICKHOUSE-3970
ClickHouse 3970: Add setting min_merge_bytes_to_use_direct_io
2018-09-13 02:53:06 +03:00
alexey-milovidov
02ba818a70
Merge pull request #3118 from yandex/validate-sizes-of-nested
Validate sizes of arrays - elements of Nested data structures
2018-09-13 02:50:33 +03:00
Alexey Milovidov
727ef40a03 Fixed build [#CLICKHOUSE-3692] 2018-09-13 01:44:42 +03:00
alesapin
c7e073e954 Fix url in invalidate request 2018-09-13 00:34:48 +03:00
Alexey Milovidov
3293480a12 Validate sizes of arrays - elements of Nested data structures [#CLICKHOUSE-3692] 2018-09-13 00:08:55 +03:00
alesapin
a44290701d Fix bug in ODBCDictionarySource, copy missed fields in copy constructor 2018-09-13 00:02:06 +03:00
alesapin
ca2334f992 Fix build 2018-09-12 22:57:14 +03:00
alesapin
17a8fb86dc CLICKHOUSE-3970: Rename variable 2018-09-12 21:19:47 +03:00
chertus
45ec7e63aa add static asserts for decimal [CLICKHOUSE-3765] 2018-09-12 20:50:51 +03:00
alesapin
c38e3e7890 CLICKHOUSE-3970: Add logging 2018-09-12 20:28:59 +03:00
alesapin
1664bec008 CLICKHOUSE-3970: Add setting for O_DIRECT for big merges 2018-09-12 20:19:52 +03:00
chertus
d301fcd004 decimal quantileExact [CLICKHOUSE-3765] 2018-09-12 19:36:13 +03:00
chertus
1c4825138a decimal avg [CLICKHOUSE-3765] 2018-09-12 16:27:32 +03:00
alexey-milovidov
481d8f11f1
Merge pull request #3097 from zhang2014/fix/ISSUES-3059
ISSUES-3059 fix nullable type argument for aggregate function
2018-09-12 07:41:10 +03:00
alexey-milovidov
0751290dca
Merge pull request #3099 from VadimPE/CLICKHOUSE-3839
CLICKHOUSE-3839 add partition_id in system.merges
2018-09-12 07:38:43 +03:00
Alexey Milovidov
136d9d7b18 Added setting names for suggest [#CLICKHOUSE-2] 2018-09-12 04:03:58 +03:00
chertus
dd5c55df2c decimal sum [CLICKHOUSE-3765] 2018-09-11 21:42:06 +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
Alexey Zatelepin
02a99145d6 add test for fetches of merged or mutated parts [#CLICKHOUSE-3937] 2018-09-11 19:41:01 +03:00
Alexey Zatelepin
6da58aedd8 don't fetch mutated part if we have local part with the same checksums [#CLICKHOUSE-3937] 2018-09-11 19:41:01 +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
VadimPE
985f2f2704 CLICKHOUSE-3476 fix build 2018-09-11 15:48:18 +03:00
zhang2014
7af592d8e1 ISSUES-3059 fix nullable type argument for aggregate function 2018-09-11 19:33:14 +08:00
zhang2014
5834b42083 ISSUES-2560 fix crash when create temporary with in clause 2018-09-11 19:31:59 +08:00
VadimPE
dc629ad2cf Merge branch 'CLICKHOUSE-3839' of https://github.com/VadimPE/ClickHouse into CLICKHOUSE-3839 2018-09-11 14:18:20 +03:00
VadimPE
5da1561e69 CLICKHOUSE-3839 2018-09-11 14:16:40 +03:00
VadimPE
bb7a353e9b CLICKHOUSE-3476 2018-09-11 12:29:02 +03:00
alexey-milovidov
13c66e27c4
Merge pull request #3092 from 4ertus2/decimal
Decimal round functions [CLICKHOUSE-3765]
2018-09-10 22:37:05 +03:00
alexey-milovidov
548aee702f
Merge pull request #3095 from 4ertus2/refactoring
Refactoring: fewer type casts [CLICKHOUSE-2]
2018-09-10 22:36:42 +03:00
robot-clickhouse
5772699e9c Auto version update to [18.12.13] [54407] 2018-09-10 22:07:26 +03:00
Alexey Milovidov
f16aa1964a Better formatting of numbers in log message [#CLICKHOUSE-2] 2018-09-10 21:23:11 +03:00
chertus
bbb302826a Merge branch 'master' into refactoring 2018-09-10 20:52:27 +03:00
chertus
c693a73385 hotfix (helpers refactoring) 2018-09-10 20:51:25 +03:00
robot-clickhouse
bd869be048 Auto version update to [18.12.12] [54407] 2018-09-10 20:27:51 +03:00
alexey-milovidov
4793e620be
Merge pull request #3093 from yandex/fix-columns-ordering
Fix columns ordering in MergeTreeRangeReader
2018-09-10 20:26:45 +03:00
chertus
3cf39258a4 fewer type casts [CLICKHOUSE-2] 2018-09-10 20:09:07 +03:00
Nikolai Kochetov
d7116dabfe Added test with prewhere and missing column. [#CLICKHOUSE-3975] 2018-09-10 18:52:50 +03:00
Nikolai Kochetov
2ea009bddc Fix columns ordering. 2018-09-10 18:28:03 +03:00
chertus
a89cbd0f88 countEqual test for Decimal [CLICKHOUSE-3765] 2018-09-10 17:46:26 +03:00
chertus
1ecb9fb271 fix build 2018-09-10 17:26:47 +03:00
alexey-milovidov
20d5ddd58c
Merge branch 'master' into alter-update 2018-09-10 17:17:10 +03:00
alexey-milovidov
3054e62e00
Merge pull request #3089 from VadimPE/CLICKHOUSE-3839
CLICKHOUSE-3839 add virtual column "_partition_id"
2018-09-10 17:16:21 +03:00
alexey-milovidov
31bb16e082
Update FunctionsRound.h 2018-09-10 17:13:03 +03:00
alexey-milovidov
b7de315747
Update FunctionsRound.h 2018-09-10 17:11:30 +03:00
chertus
9828813523 Decimal round functions [CLICKHOUSE-3765] 2018-09-10 16:52:18 +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
Vadim
48420078e7
Update 00709_virtual_column_partition_id.reference 2018-09-10 14:12:29 +03:00
robot-clickhouse
fc00da194a Auto version update to [18.12.11] [54407] 2018-09-10 13:44:17 +03:00
alexey-milovidov
1d28a9c510
Merge pull request #3090 from yandex/fix_prewhere_with_sampling_2
Fix prewhere with sampling 2
2018-09-10 13:43:07 +03:00
VadimPE
cc50e810fc CLICKHOUSE-3839 add tests 2018-09-10 13:20:21 +03:00
Nikolai Kochetov
0f7b2ae748 Updated test with prewhere sampling. [#CLICKHOUSE-3972] 2018-09-10 13:14:09 +03:00
Nikolai Kochetov
1d62c9309c Fix sampling with prewhere. [#CLICKHOUSE-3972] 2018-09-10 13:06:12 +03:00
VadimPE
10ab9587a2 CLICKHOUSE-3839 add virtual column _partition_id 2018-09-10 12:53:13 +03:00
chertus
6846d33b88 test UUID toString() convertion issue-3081 2018-09-10 11:48:39 +03:00
robot-clickhouse
b4e62da3a6 Auto version update to [18.12.10] [54407] 2018-09-10 07:40:13 +03:00
Alexey Milovidov
9e6b310c2b Renamed test [#CLICKHOUSE-3888] 2018-09-10 07:12:03 +03:00
Alexey Milovidov
f798b29111 Added test [#CLICKHOUSE-3888] 2018-09-10 07:08:43 +03:00
Alexey Milovidov
c9b612de48 Attempt to fix CLICKHOUSE-3888 bug 2018-09-10 06:59:48 +03:00
Alexey Milovidov
c646f5649c Every function in its own file, part 3 2018-09-10 05:36:33 +03:00
Alexey Milovidov
ab365686a0 Every function in its own file, part 3 2018-09-10 04:39:06 +03:00
Alexey Milovidov
cfb05edd8f Every function in its own file, part 3 2018-09-10 04:19:14 +03:00
Alexey Milovidov
33d49ad2da Every function in its own file, part 3 2018-09-10 03:58:04 +03:00
Alexey Milovidov
fec8ceba3d Every function in its own file, part 3 2018-09-10 03:51:08 +03:00
Alexey Milovidov
0d584eae47 Every function in its own file, part 3 2018-09-10 02:47:56 +03:00
Alexey Milovidov
d3c047695e Every function in its own file, part 3 2018-09-10 02:36:06 +03:00
Alexey Milovidov
42c49da354 Revert "Fixed error [#CLICKHOUSE-3888]"
This reverts commit 1d8302a4d7.
2018-09-10 00:17:29 +03:00
Alexey Milovidov
c6e31b47ad Every function in its own file, part 3 2018-09-10 00:15:40 +03:00
Alexey Milovidov
2126170d97 Every function in its own file, part 3 2018-09-09 23:57:54 +03:00
Alexey Milovidov
1defdb168d Merge branch 'master' into CLICKHOUSE-3888 2018-09-09 08:48:03 +03:00
Alexey Milovidov
3f07a1af51 Fixed error [#CLICKHOUSE-2] 2018-09-09 08:47:27 +03:00
Alexey Milovidov
1d8302a4d7 Fixed error [#CLICKHOUSE-3888] 2018-09-09 08:30:14 +03:00
Alexey Milovidov
b2ec7ce6b2 Merge branch 'master' of github.com:yandex/ClickHouse 2018-09-09 06:28:55 +03:00
Alexey Milovidov
54ea7b0b20 Fixed error [#CLICKHOUSE-2] 2018-09-09 06:28:45 +03:00
alexey-milovidov
3bb89eca16
Merge pull request #3083 from yandex/every_function_in_own_file_2
Every function in its own file, part 2
2018-09-09 05:31:33 +03:00
Alexey Milovidov
c7b1a40296 Fixed test [#CLICKHOUSE-2] 2018-09-09 05:23:24 +03:00
Alexey Milovidov
8497af1d7f Fixed memory leak in insertion methods of ColumnAggregateFunction if the object have another as a source; exception safety [#CLICKHOUSE-2] 2018-09-09 04:16:34 +03:00
Alexey Milovidov
bbe1074121 Every function in its own file, part 2 [#CLICKHOUSE-2] 2018-09-09 02:15:12 +03:00
Alexey Milovidov
c48649fd12 Every function in its own file, part 2 [#CLICKHOUSE-2] 2018-09-09 01:57:56 +03:00
Alexey Milovidov
b695a6bec5 Every function in its own file, part 2 [#CLICKHOUSE-2] 2018-09-09 01:31:20 +03:00
Alexey Milovidov
ba152a5059 Every function in its own file, part 2 [#CLICKHOUSE-2] 2018-09-09 01:16:30 +03:00
Alexey Milovidov
09926ebb93 Every function in its own file, part 2 [#CLICKHOUSE-2] 2018-09-09 01:04:39 +03:00
Alexey Milovidov
4ec18956c7 Preparation [#CLICKHOUSE-2] 2018-09-08 22:23:48 +03:00
Alexey Milovidov
b6d3ab4362 Merge branch 'master' of github.com:yandex/ClickHouse 2018-09-08 06:07:20 +03:00
Alexey Milovidov
e78c16000c utils/check-style/check-style #3069 2018-09-08 06:07:12 +03:00
robot-clickhouse
778373b661 Auto version update to [18.12.9] [54407] 2018-09-08 05:24:36 +03:00
alexey-milovidov
264e48b8d6
Merge pull request #3080 from yandex/every_function_in_own_file_1
Every function in its own file, part 1
2018-09-08 04:50:27 +03:00
Alexey Milovidov
38b812ddba Merging #3062 2018-09-08 04:42:34 +03:00
alexey-milovidov
8dcf59389c
Merge pull request #3062 from CurtizJ/CLICKHOUSE-3723.3
Aggregate function states addition [CLICKHOUSE-3723]
2018-09-08 04:40:37 +03:00
alexey-milovidov
8f1064b203
Update FunctionsArithmetic.h 2018-09-08 04:40:23 +03:00
alexey-milovidov
bd8f1e92c2
Merge pull request #3079 from yandex/fix-query-scope
Fixed usage of query scope in TCPHandler #2482
2018-09-08 04:36:45 +03:00
Alexey Milovidov
639f7e026c Every function in its own file, part 1 [#CLICKHOUSE-2] 2018-09-08 04:26:46 +03:00
Alexey Milovidov
445645418c Every function in its own file, part 1 [#CLICKHOUSE-2] 2018-09-08 04:24:09 +03:00
Alexey Milovidov
4c5556aba1 Better exception message [#CLICKHOUSE-2] 2018-09-08 02:37:31 +03:00
Alexey Milovidov
a3745a6aa7 Fixed usage of query scope in TCPHandler #2482 2018-09-08 02:22:02 +03:00
alexey-milovidov
dc2d36882b
Update FunctionsArithmetic.h 2018-09-08 01:29:37 +03:00
Alexey Milovidov
40dc6820ba Miscellaneous [#CLICKHOUSE-2] 2018-09-08 01:22:48 +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
ef22af2e49
Merge pull request #2881 from zhang2014/feature/support_optimize_predicate_for_view
ISSUES-863 support optimize predicate for view
2018-09-08 00:43:13 +03:00
alexey-milovidov
f638c62914
Update 00705_aggregate_states_addition.sql 2018-09-08 00:40:26 +03:00
alexey-milovidov
603b31bdb6
Merge branch 'master' into CLICKHOUSE-3723.3 2018-09-08 00:39:34 +03:00
alexey-milovidov
a2df7d522c
Merge pull request #3069 from CurtizJ/CLICKHOUSE-3893
Fix code duplication in RollupBlockInputStream and TotalsHavingBlockInputStream
2018-09-08 00:35:56 +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
alexey-milovidov
3b21cde9bb
Update 00714_alter_uuid.sql 2018-09-08 00:33:26 +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
chertus
ad77505137 implement CAST Strings to UUID [issue-3061] 2018-09-07 19:38:40 +03:00
Nikolai Kochetov
3d06fc4217 Added test with prewhere and sampling. [#CLICKHOUSE-3969] 2018-09-07 19:11:15 +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
d77037fec7 fix use after move 2018-09-07 18:54:34 +03:00
Alexey Zatelepin
1064d1d26b update MATERIALIZED columns when their dependencies are updated [#CLICKHOUSE-13] 2018-09-07 18:54:18 +03:00
chertus
d7bb629195 Merge branch 'master' into refactoring 2018-09-07 17:39:22 +03:00
chertus
0b35cdae69 refactoring: add some sugar in type checks [CLICKHOUSE-0002] 2018-09-07 17:37:26 +03:00
CurtizJ
a0ee183826 whitespaces 2018-09-07 17:21:11 +03:00
CurtizJ
3e854df5a5 remove code duplicates 2018-09-07 17:18:15 +03:00
CurtizJ
7c2fef0c1a fix getting value from const column 2018-09-07 17:06:10 +03:00
CurtizJ
8fc1ddd646 fix arguments check 2018-09-07 15:36:56 +03:00
alesapin
e8438572ad CLICKHOUSE-3894: Fixes in tests 2018-09-07 14:51:51 +03:00
CurtizJ
a784b828ce Merge branch 'master' of https://github.com/yandex/ClickHouse into CLICKHOUSE-3723.3 2018-09-07 13:02:07 +03:00
Nikolai Kochetov
8200827723 Added test for prewhere with virtual column. [#CLICKHOUSE-3965] 2018-09-07 11:11:48 +03:00
Alexey Milovidov
476ff57528 Merge branch 'master' of github.com:yandex/ClickHouse 2018-09-07 04:51:49 +03:00
Alexey Milovidov
cac07628b2 Added comment [#CLICKHOUSE-3939] 2018-09-07 04:49:26 +03:00
robot-clickhouse
3b73262e72 Auto version update to [18.12.8] [54407] 2018-09-07 04:43:52 +03:00
Alexey Milovidov
199d8734f9 Fixed race condition in DROP/CREATE MergeTree tables [#CLICKHOUSE-3939] 2018-09-07 04:39:48 +03:00
robot-clickhouse
ae45b68ba2 Auto version update to [18.12.7] [54407] 2018-09-07 02:41:09 +03:00
alexey-milovidov
794be10ecd
Merge pull request #3065 from yandex/fix-prewhere-with-aliases-3
Fix prewhere with aliases 3
2018-09-07 02:39:35 +03:00
Nikolai Kochetov
a6b51d1fc7 Fix virtual columns for prewhere with aliases. 2018-09-06 22:18:38 +03:00
alesapin
bf15d002a3 Merge 2018-09-06 22:15:37 +03:00
alesapin
790b4b3eca Fix build 2018-09-06 22:13:49 +03:00
CurtizJ
83677e4e44 better code 2018-09-06 22:13:47 +03:00
Nikolai Kochetov
af47426401 Merge branch 'master' into fix-prewhere-with-aliases-3 2018-09-06 21:49:25 +03:00
alesapin
f751f72e1a Fix virtual destructor 2018-09-06 21:44:38 +03:00
Alexey Milovidov
98b835ea52 Fixed build [#CLICKHOUSE-2] 2018-09-06 21:44:12 +03:00
Nikolai Kochetov
8593145794 Merged with master 2018-09-06 21:30:03 +03:00
CurtizJ
e4a1ba728d better error code 2018-09-06 21:28:43 +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
proller
db13ef96d6 Fix ssl init (#3056)
* Try to fix ../libs/libglibc-compatibility/glibc-compatibility.c:151: multiple definition of `explicit_bzero'
contrib/ssl/crypto/libcrypto.a(explicit_bzero.c.o):../contrib/ssl/crypto/compat/explicit_bzero.c:16: first defined here

* Fix ssl init

* fix

* noncopyable

* clean
2018-09-06 21:05:33 +03:00
CurtizJ
7e2519a127 fix wrong code 2018-09-06 21:02:41 +03:00
CurtizJ
fb923dcbf5 aggregate function states addition 2018-09-06 20:59:23 +03:00
Nikolai Kochetov
641771f66f Fix virtual columns for prewhere with aliases. 2018-09-06 20:45:49 +03:00
proller
d75e1f8a72 Merge remote-tracking branch 'upstream/master' into fix8 2018-09-06 18:58:19 +03:00
proller
255866304f
env TEST_RUN_STRESS=1 ctest -V (#3057) 2018-09-06 18:57:55 +03:00