alexey-milovidov
a52de29fbf
Update ColumnWithDictionary.h
2018-09-20 20:41:54 +03:00
alexey-milovidov
a2d8ee1caa
Merge pull request #3183 from 4ertus2/refactoring
...
refactoring: hide ASTIdentifier kind
2018-09-20 20:38:06 +03:00
Nikolai Kochetov
ce8329d802
Fix test with names tuples.
2018-09-20 20:36:16 +03:00
alexey-milovidov
7a9500a3f1
Update InterpreterSelectQuery.cpp
2018-09-20 20:33:47 +03:00
Anton Popov
dd1b130048
Update CubeBlockInputStream.cpp
2018-09-20 20:32:57 +03:00
alexey-milovidov
cdcb301937
Merge pull request #3176 from yandex/format-date-time-further-attempts
...
Performance improvement of formatDateTime.
2018-09-20 20:29:22 +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
Alexey Milovidov
3eb183f21e
Fixed build; better #3176
2018-09-20 17:46:31 +03:00
VadimPE
3547334ba5
fix
2018-09-20 17:39:02 +03:00
VadimPE
c377389f62
CLICKHOUSE-3947 add LIKE and IN ()
2018-09-20 17:34:30 +03:00
Nikolai Kochetov
673acbdf94
Added more comments.
2018-09-20 17:19:12 +03:00
Alexey Zatelepin
0ec0a24bc9
fix use of temp variable after it gets out of scope
2018-09-20 16:55:22 +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
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
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
2b3e29f607
Take header from first block in Squashing stream
2018-09-19 20:39:04 +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
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
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
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
Nikolai Kochetov
1c611e2ad5
Fix low cardinality column deserialization from empty stream. #3114
2018-09-19 13:27:46 +03:00
CurtizJ
8f7daa75d1
update comments
2018-09-19 12:34:07 +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
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
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
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
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
Alexey Milovidov
7f27f0e4ca
Fixed build #3146
2018-09-17 06:44:29 +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
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
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
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
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
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
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
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
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
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
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
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
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
2ea009bddc
Fix columns ordering.
2018-09-10 18:28:03 +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
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
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
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
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
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
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
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
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
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
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
CurtizJ
a784b828ce
Merge branch 'master' of https://github.com/yandex/ClickHouse into CLICKHOUSE-3723.3
2018-09-07 13:02:07 +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
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
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
6d8b1bea4b
Try fix crash in StorageBuffer
2018-09-06 18:06:54 +03:00
chertus
5bbfdc2208
supertypes for Decimals [CLICKHOUSE-3765]
2018-09-06 13:48:54 +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
chertus
a969292b50
revert textCanContainOnlyValidUTF8() for Decimal; add DataTypeExtractor [CLICKHOUSE-3906]
2018-09-06 11:56:46 +03:00
Alexey Milovidov
5a096ee099
Attempt to fix an issue mentioned by Matt Keranen in #2958
2018-09-06 05:47:59 +03:00
Alexey Milovidov
b82d532db0
Removed incorrect code [#CLICKHOUSE-3939]
2018-09-06 05:30:58 +03:00
Alexey Milovidov
f584344184
Miscellaneous [#CLICKHOUSE-3939]
2018-09-06 05:24:35 +03:00
Alexey Milovidov
d8809eb2a1
Whitespaces [#CLICKHOUSE-3939]
2018-09-06 04:57:55 +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
4c549f79cd
Update RollupBlockInputStream.cpp
2018-09-06 03:58:24 +03:00