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