Ivan Lezhankin
bef6463cb4
Implement tcpPort() function
2020-11-13 18:50:50 +03:00
satanson
3dd4f2fb1e
use unlikely instead of BOOST_UNLIKELY
2020-11-13 15:21:08 +08:00
satanson
766883a0e3
A very fast O(logn) repeat impl
2020-11-13 00:47:59 +08:00
Nikolai Kochetov
46f70dd0de
Merge branch 'master' into actions-dag-f14
2020-11-12 11:54:44 +03:00
Alexander Tokmakov
b94cc5c4e5
remove more stringstreams
2020-11-10 21:22:26 +03:00
Nikolai Kochetov
1db8e77371
Add comments. Update ActionsDAG::Index
2020-11-10 17:54:59 +03:00
Nikolai Kochetov
6717c7a0af
Merge branch 'master' into actions-dag-f14
2020-11-09 14:57:48 +03:00
alexey-milovidov
2d427eb1e8
Merge pull request #16496 from ClickHouse/register-formats
...
Fix inconsistency in FormatFactory
2020-11-08 14:27:33 +03:00
Alexey Milovidov
d564e4efad
Fix build
2020-11-07 03:29:49 +03:00
Alexey Milovidov
fd84d16387
Fix "server failed to start" error
2020-11-07 03:14:53 +03:00
Nikolai Kochetov
93e4802fa4
Try fix integration test.
2020-11-06 17:07:28 +03:00
Nikolai Kochetov
9aeb757da4
Merge branch 'master' into actions-dag-f14
2020-11-06 15:04:20 +03:00
hexiaoting
ef0b78cf12
style error fix
2020-11-06 17:21:26 +08:00
Nikolai Kochetov
983aaa3b83
Try fix integration test.
2020-11-06 11:08:47 +03:00
hexiaoting
28e87da976
remove map literal and Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-06 15:07:41 +08:00
alexey-milovidov
7bda6dba3c
Merge pull request #16657 from ucasFL/reinterpret
...
Allow reinterpret between integers and floats of the same size
2020-11-05 23:21:59 +03:00
alexey-milovidov
39cd1c0371
Merge pull request #16700 from ClickHouse/better-arcadia
...
Improve Arcadia
2020-11-05 15:34:34 +03:00
alexey-milovidov
5954b7ec8b
Merge pull request #16570 from JacobHayes/add-farmfingerprint64
...
Add farmFingerprint64 function
2020-11-05 13:36:59 +03:00
Alexey Milovidov
b56486510f
Improve Arcadia
2020-11-05 12:55:01 +03:00
Alexey Milovidov
f06abe03da
utils/generate-ya-make/generate-ya-make.sh
2020-11-05 12:48:53 +03:00
alexey-milovidov
b8b9c6d409
Update reinterpretAs.cpp
2020-11-04 17:55:05 +03:00
Alexey Milovidov
d966bb939e
Fix inconsistent code around H3
2020-11-04 17:51:41 +03:00
Konstantin Malanchev
6e2e1da709
ya.make
2020-11-04 12:30:40 +01:00
Konstantin Malanchev
7d138ae717
clang-format
2020-11-04 12:30:40 +01:00
Konstantin Malanchev
d12f2f64fb
Add some of missed cmath functions
...
acosh
asinh
atan2
atanh
cosh
hypot
log1p
sinh
2020-11-04 12:30:40 +01:00
Alexey Milovidov
f7c77b4a25
Fix unit tests
2020-11-04 13:14:23 +03:00
feng lv
9b8dbf37cc
fix
...
fix
2020-11-04 08:56:15 +00:00
feng lv
cd711039fb
Allow reinterpret between integers and floats of the same size
2020-11-04 07:56:27 +00:00
alexey-milovidov
8a3f38f332
Merge branch 'master' into errorCode-v2
2020-11-04 01:40:41 +03:00
Nikolai Kochetov
6767a226fc
Merge branch 'master' into actions-dag-f14
2020-11-03 15:21:06 +03:00
Nikolai Kochetov
07a7c46b89
Refactor ExpressionActions [Part 3]
2020-11-03 14:28:28 +03:00
hexiaoting
66bca89001
Style error fix
2020-11-02 17:23:02 +08:00
hexiaoting
3a70cf3773
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-02 14:46:56 +08:00
hexiaoting
e1ff6c3870
Update codes
2020-11-02 14:46:32 +08:00
hexiaoting
619fe6b10b
Merge remote-tracking branch 'hexiaoting/dev_map2' into dev_map2
2020-11-02 14:07:00 +08:00
hexiaoting
2ba68d7494
Add map function
2020-11-02 14:05:53 +08:00
Jacob Hayes
2aa0362765
Add farmFingerprint64 function
2020-10-31 08:45:53 -04:00
alesapin
be183027b3
Merge pull request #16516 from zlobober/remove_g0
...
Remove -g0 form Arcadia build settings.
2020-10-30 13:58:08 +03:00
Azat Khuzhin
3661769e1b
Remove some absolute changes for errorCodeToName/system.errors
2020-10-30 09:04:22 +03:00
Maxim Akhmedov
3627fabfb9
Remove -g0 form Arcadia build settings.
2020-10-29 17:37:23 +03:00
Azat Khuzhin
b42f77a791
Covert error codes list to lookup table and drop generation of them.
2020-10-29 10:55:41 +03:00
Azat Khuzhin
b7eac807f5
Fix readability-qualified-auto in errorCodeToName()
2020-10-29 10:55:41 +03:00
Azat Khuzhin
a81b0418ac
Make errorCodeToName() return LowCardinality(String)
2020-10-29 10:55:41 +03:00
Azat Khuzhin
b2e2322895
Add system.errors table
...
Contains error codes with number of times they have been triggered.
Columns:
- `name` ([String](../../sql-reference/data-types/string.md)) — name of the error (`errorCodeToName`).
- `code` ([Int32](../../sql-reference/data-types/int-uint.md)) — code number of the error.
- `value` ([UInt64](../../sql-reference/data-types/int-uint.md)) - number of times this error has been happened.
**Example**
``` sql
SELECT *
FROM system.errors
WHERE value > 0
ORDER BY code ASC
LIMIT 1
┌─name─────────────┬─code─┬─value─┐
│ CANNOT_OPEN_FILE │ 76 │ 1 │
└──────────────────┴──────┴───────┘
2020-10-29 10:55:38 +03:00
Azat Khuzhin
3fb8d08dd4
Add errorCodeToName() function
...
This patch adds errorCode() function that will return macro name by the
exception code, useful for analyzing query_log and similar.
Later some descriptions can be added.
v2: replace hana::map/fusion::vector with external script
v3:
- use binary cmake dir for .sh
- use jump table over suboptimal std::unordered_map (with very poor hash
function for int -- std::hash)
- cleanup errorCodeToName (drop extra templates and headers)
- rename errorCode -> errorCodeToName
- fix arcadia build (by not providing those helpers there)
- fix build on CI, by using CMAKE_CXX_COMPILER for parsing the file
2020-10-29 10:55:00 +03:00
Alexey Milovidov
1e99ce5f3a
Merge branch 'master' into decimal-round-fuzz
2020-10-29 04:57:43 +03:00
Vasily Nemkov
e0d85ffd1d
Allow casting Tuple as Map.
...
SELECT CAST(([1, 2, 3], ['1', '2', 'foo']), 'Map(UInt8, String)') AS map
2020-10-28 12:41:11 +03:00
Alexander Kuzmenkov
ba34145817
Merge pull request #16425 from filimonov/minumum
...
Fix typos reported by codespell
2020-10-28 08:07:18 +03:00
Alexey Milovidov
7254f40ba8
Add range check for "scale" argument of decimal rounding function to prevent overflow
2020-10-28 04:16:52 +03:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell
2020-10-27 12:04:03 +01:00
Alexey Milovidov
59910991b6
Fix "Darwin"
2020-10-27 00:33:46 +03:00
Alexey Milovidov
2e232bad74
Merge branch 'master' into sigaltstack
2020-10-26 22:51:58 +03:00
Anton Popov
5fbca7d62d
Merge pull request #16337 from kitaisreal/uuid-safe-cast-functions-added
...
UUID safe cast functions added
2020-10-26 16:03:27 +03:00
Nikolai Kochetov
02bd35924e
Merge pull request #16242 from ClickHouse/another-one-untuple
...
Another one untuple implementation
2020-10-26 12:26:43 +03:00
Alexey Milovidov
1228396eff
Merge branch 'master' into sigaltstack
2020-10-26 05:09:33 +03:00
Maksim Kita
440ae2bc57
UUID safe cast functions added
...
1. Added readUUIDTextImpl, readUUIDText, tryReadUUIDText functions in
ReadHelpers.
2. Added toUUIDOrNull, toUUIDOrZero functions based on ReadHelpers read
implementations.
3. Updated documentation.
2020-10-25 11:45:29 +03:00
Alexey Milovidov
2613012fd1
Improve performance of FunctionsLogical a little by adding "restrict"
2020-10-25 04:43:06 +03:00
Alexey Milovidov
4e2c0ba226
Provide diagnostics on stack overflow
2020-10-25 03:10:05 +03:00
Alexey Milovidov
9d50921e52
Fix performance test "functions logical" after move to clang
2020-10-24 23:55:17 +03:00
alexey-milovidov
70427bfa63
Merge pull request #16335 from kexianda/fix
...
minor fix.
2020-10-24 21:41:35 +03:00
Xianda Ke
97d84dd855
minor fix.
...
redundant variable, duplicated defination of the variable aad_data
compiler error: variable ‘aad_value’ set but not used [-Werror=unused-but-set-variable]
2020-10-24 17:37:51 +08:00
alexey-milovidov
32e0de5121
Merge pull request #16071 from hczhcz/patch-1
...
Change error message in function if & ifNull
2020-10-24 07:40:22 +03:00
Nikita Mikhaylov
cb4945d8b0
Merge pull request #16205 from azat/do-not-cache-dictGet
...
Do not cache dictionary for dictGet*/dictHas*
2020-10-23 15:47:11 +03:00
hexiaoting
483be134b2
Support MergeTree Engine
2020-10-23 16:36:17 +08:00
filipe
6a3ceba9a3
add countMatches sql function (issue #15413 )
2020-10-23 01:28:25 -03:00
Azat Khuzhin
6f78243e32
Use std::nullptr_t over nullptr_t
2020-10-22 01:21:06 +03:00
Nikolai Kochetov
69279e6d76
Fix tests.
2020-10-21 23:05:10 +03:00
Nikolai Kochetov
69ae6ace47
Add untuple.
2020-10-21 21:17:27 +03:00
Nikolai Kochetov
a0da588f06
Merge branch 'master' into new-block-for-functions-4
2020-10-21 16:16:58 +03:00
Nikita Mikhaylov
ef5dd73ae0
Merge pull request #16155 from nikitamikhaylov/vladimir-golovchenko-fix-IPvXCIDRToRange
...
Merging #15856
2020-10-21 15:01:30 +03:00
Nikolai Kochetov
42a90cf533
Fix special build.
2020-10-21 11:32:57 +03:00
Nikolai Kochetov
c4c1446111
Fix build.
2020-10-21 09:22:20 +03:00
Nikolai Kochetov
68c9a57788
Merge branch 'master' into new-block-for-functions-4
2020-10-21 09:17:25 +03:00
Nikolai Kochetov
6177996d5b
Fix gcc build.
2020-10-21 00:27:01 +03:00
Azat Khuzhin
3559e3355c
Do not cache dictionary for dictGet*/dictHas*
...
There are places where ExpressionActionsPtr is cached
(StorageDistributed caching it for sharding_key_expr and
optimize_skip_unused_shards), and if the dictionary will be cached
within "query" then cached ExpressionActionsPtr will always have first
version of the query and the dictionary will not be updated after
reload.
For example this will fix dictGet in sharding_key (and similar places,
i.e. when the function context is stored permanently)
Fixes: 01527_dist_sharding_key_dictGet_reload
2020-10-21 00:22:40 +03:00
Nikolai Kochetov
19ccce0305
Fix gcc build.
2020-10-20 18:56:05 +03:00
Nikolai Kochetov
395b9293d5
Remove double space.
2020-10-20 17:03:54 +03:00
nikitamikhaylov
f33ae7f167
style
2020-10-20 16:34:57 +03:00
Nikolai Kochetov
a1d5adf8d5
Merge branch 'master' into new-block-for-functions-4
2020-10-20 16:16:08 +03:00
Nikolai Kochetov
295e612343
Fix build and tests.
2020-10-20 16:11:57 +03:00
vladimir golovchenko
a64bc6c586
Fixed IPv4CIDRToRange/IPv6CIDRToRange functions to pass Const IP address.
2020-10-20 15:06:22 +03:00
Nikolai Kochetov
9fe51524cc
Part 9.
2020-10-20 00:21:10 +03:00
Nikolai Kochetov
bc58637ec2
Fixing build.
2020-10-19 21:37:44 +03:00
Nikolai Kochetov
384718e6c3
Part 8.
2020-10-19 18:27:41 +03:00
Nikolai Kochetov
df1af1bd94
Part 7.
2020-10-19 16:42:14 +03:00
Nikolai Kochetov
740fad66f3
Part 6.
2020-10-18 22:00:13 +03:00
Nikolai Kochetov
50dcba6df4
Part 5.
2020-10-18 17:49:19 +03:00
hexiaoting
521b07d37a
Fix build error
2020-10-18 20:40:51 +08:00
hexiaoting
fcd35b0619
Merge branch 'master' into dev_map2
2020-10-18 16:18:13 +08:00
Nikolai Kochetov
ce2f6a0560
Part 4.
2020-10-18 00:41:50 +03:00
Vasily Nemkov
4124538b56
Merge remote-tracking branch 'upstream/master' into AES_encrypt_decrypt
2020-10-18 00:00:13 +03:00
Vasily Nemkov
f0d5ade1c1
Fixed argument checks and updated tests accordingly
2020-10-17 19:50:58 +03:00
Nikolai Kochetov
142ce5ece0
Part 3.
2020-10-17 19:48:53 +03:00
hexiaoting
db8ba39c9c
Implement Integer And Array for value type
2020-10-17 23:45:35 +08:00
Nikolai Kochetov
21c1a2e44d
Part 2.
2020-10-17 18:22:42 +03:00
Nikolai Kochetov
139487a1a0
Part 1.
2020-10-17 17:23:37 +03:00
hcz
d95229317d
Change error message in function if & ifNull
2020-10-16 17:50:47 +08:00
Mike
e89a3b5d09
Fixing arrayIndex functions when right operand is LC but left is not ( #16038 )
2020-10-16 12:08:44 +03:00
Alexander Kuzmenkov
41f1fd8fa0
Merge pull request #15822 from abyss7/fix-build
...
Fix build without libraries
2020-10-15 20:48:53 +03:00
Nikolai Kochetov
571a5fbff3
Update functions interface.
2020-10-15 19:52:25 +03:00
Nikolai Kochetov
ee7b32c283
Fix tests and build.
2020-10-15 14:52:25 +03:00
Nikolai Kochetov
d0112c5dc4
Merge branch 'master' into new-block-for-functions-3
2020-10-14 23:37:10 +03:00
Nikolai Kochetov
04476c533e
Fix ya.make
2020-10-14 23:33:25 +03:00
Alexander Kuzmenkov
1cbb26e6e4
Merge remote-tracking branch 'origin/master' into HEAD
2020-10-14 22:41:25 +03:00
Nikolai Kochetov
26158ebc94
Fix tests
2020-10-14 22:25:36 +03:00
Nikolai Kochetov
e2f826c22d
Rename block to columns.
2020-10-14 17:44:22 +03:00
Nikolai Kochetov
1f49d83622
Rename block to columns.
2020-10-14 17:32:43 +03:00
Nikolai Kochetov
e64eba88da
Rename block to columns.
2020-10-14 17:19:39 +03:00
Nikolai Kochetov
7108a0423f
Rename block to columns.
2020-10-14 17:15:57 +03:00
Nikolai Kochetov
31898fc5ce
Rename block to columns.
2020-10-14 17:14:13 +03:00
Nikolai Kochetov
77323962ec
Rename block to columns.
2020-10-14 17:07:54 +03:00
Nikolai Kochetov
959424f28a
Rename block to columns.
2020-10-14 17:04:50 +03:00
Alexey Milovidov
ac670d6868
Merge with master
2020-10-14 16:52:59 +03:00
Nikolai Kochetov
f81af6c958
Rename Block to ColumnsWithTypeAndName.
2020-10-14 16:50:18 +03:00
Vasily Nemkov
8984f4b8c2
Empty string optimization for encryption
2020-10-14 16:33:07 +03:00
Alexey Milovidov
5e502c52b3
Merge branch 'master' into AES_encrypt_decrypt
2020-10-14 16:30:23 +03:00
Nikolai Kochetov
966b1d6cf5
Rename Block to ColumnsWithTypeAndName.
2020-10-14 16:09:11 +03:00
Alexey Milovidov
298b321f4a
Merge with master
2020-10-14 15:51:53 +03:00
hexiaoting
cb9e88efa3
Update with fresh master to build sucessfully.
2020-10-14 15:35:22 +08:00
hexiaoting
4f3f221987
Fix build error
2020-10-14 14:35:14 +08:00
hexiaoting
974352a8e1
Fix style check errors.
2020-10-14 14:35:14 +08:00
hexiaoting
cdb4dd57a6
Add new DataType Map(key,value)
2020-10-14 14:35:14 +08:00
Alexey Milovidov
dbd4366aa4
Merge branch 'master' of github.com:filipecaixeta/ClickHouse into filipecaixeta-master
2020-10-13 23:45:43 +03:00
Alexey Milovidov
da4e4c5cdb
Merge branch 'master' into filipecaixeta-master
2020-10-13 23:44:48 +03:00
Nikolai Kochetov
9b42bfdc36
Merge pull request #15817 from ClickHouse/new-block-for-functions-2
...
Use `ColumnsWithTypeAndName` instead of `Block` for function calls [part 2]
2020-10-12 00:32:58 +03:00
Nikolai Kochetov
23aec1f954
Fix build.
2020-10-11 22:44:20 +03:00
alexey-milovidov
760e2ca29c
Update formatReadableTimeDelta.cpp
2020-10-11 22:43:04 +03:00
Nikolai Kochetov
3a17c2a7ac
Rename FunctionArguments to ColumnsWithTypeAndName
2020-10-11 22:20:20 +03:00
Nikolai Kochetov
0df08dcb36
Rename columns() to size().
2020-10-11 21:11:39 +03:00
Alexey Milovidov
c8ae1d097a
Add comments
2020-10-11 18:24:20 +03:00
Alexey Milovidov
8a252ebef8
Merge remote-tracking branch 'origin/master' into filipecaixeta-master
2020-10-11 17:29:50 +03:00
Alexey Milovidov
452a1b5218
Simplifications
2020-10-11 01:03:03 +03:00
Ivan Lezhankin
7ea393ada8
Fix build without libraries
2020-10-10 23:41:27 +03:00
Alexey Milovidov
7541be86cd
Fix "Arcadia"
2020-10-10 23:26:36 +03:00
Nikolai Kochetov
3f446b9713
Fix build.
2020-10-10 22:19:46 +03:00
Nikolai Kochetov
780bd424ad
Fix build.
2020-10-10 22:11:39 +03:00
Nikolai Kochetov
3099d44a96
Merge branch 'master' into new-block-for-functions-2
2020-10-10 22:09:50 +03:00
Nikolai Kochetov
6d8dc1f8ed
Fix style.
2020-10-10 21:44:51 +03:00
Alexey Milovidov
269b6383f5
Check for #pragma once in headers
2020-10-10 21:37:02 +03:00
Nikolai Kochetov
d28325a353
Replace getByPosition to []
2020-10-10 21:24:57 +03:00
Alexey Milovidov
f42b471de8
Moved functions to separate files; remove copy-paste
2020-10-10 21:23:54 +03:00
Alexey Milovidov
9ca9855f96
Merge branch 'master' into filipecaixeta-master
2020-10-10 20:52:34 +03:00
alexey-milovidov
1f6c2c8efc
Merge pull request #15803 from ucasFL/tid-function
...
Add `tid` and `logTrace` function
2020-10-10 19:37:04 +03:00
feng lv
9438f2f4d2
fix
...
fix
fix
2020-10-10 19:21:11 +08:00
Nikolai Kochetov
76a04fb4b4
Merge pull request #15762 from ClickHouse/new-block-for-functions
...
Use `ColumnsWithTypeAndName` instead of `Block` for function calls
2020-10-10 08:50:38 +03:00
feng lv
45925f60c7
fix
2020-10-10 11:20:45 +08:00
feng lv
d39868b853
fix
2020-10-10 10:56:21 +08:00
feng lv
ec87254abe
add test
2020-10-10 10:48:15 +08:00
alexey-milovidov
9d02347e2e
Update FunctionsFormatting.h
2020-10-09 22:55:02 +03:00
filipe
09b5e1dbc3
fix FunctionsFormatting error for ARM
2020-10-09 13:46:59 -03:00
Nikolai Kochetov
3898a8ac5f
Try fix tests.
2020-10-09 19:05:11 +03:00
feng lv
8a1a41f77b
add tid function
2020-10-09 23:49:14 +08:00
Nikolai Kochetov
9328cea4f1
Supress pvs
2020-10-09 14:35:58 +03:00
Nikolai Kochetov
a7fb2e38a5
Use ColumnWithTypeAndName as function argument instead of Block.
2020-10-09 10:41:28 +03:00
filipe
3861a03927
fix pvs check
2020-10-08 20:14:54 -03:00
Artem Zuikov
403a5320f5
enable bigint float division ( #15691 )
2020-10-07 14:32:57 +03:00
filipe
0436e0f8f1
fix style and pvs check
2020-10-03 20:50:44 -03:00
filipe
bab7c762bc
fix style and pvs check
2020-10-03 20:38:21 -03:00
filipe
146f973437
add maximum_unit arg to formatReadableTimeDelta function
2020-10-03 19:38:51 -03:00
tavplubix
e219162b82
Update FunctionsJSON.h
2020-10-03 21:09:22 +03:00
alexey-milovidov
6f3aab8f09
Merge pull request #15319 from bharatnc/ncb/fix-14509
...
Fix bug in queries like SELECT toStartOfDay(today())
2020-10-03 17:02:57 +03:00
alesapin
8c0581c503
Fix ilike cache
2020-10-02 17:27:47 +03:00
Alexander Kuzmenkov
bc66dc99d1
Merge remote-tracking branch 'origin/master' into HEAD
2020-10-01 12:28:30 +03:00
filipe
077ee81177
add an SQL function formatReadableTimeDelta to format time delta
2020-09-30 23:55:46 -03:00
Alexander Kuzmenkov
e45edd57f2
Add reinterpretAsUUID function
2020-09-30 20:19:32 +03:00
alexey-milovidov
ac989f3a8f
Merge pull request #15285 from ucasFL/now-with-timezone
...
function `now` allow an argument with timezone
2020-09-30 04:32:36 +03:00
feng lv
6d5cd95d3f
fix
2020-09-26 14:48:59 +08:00
bharatnc
5c8c636cf1
Fix - allow empty tz in exp like toStartOf*(today())
2020-09-25 11:03:16 -07:00
feng lv
87726a7af2
function allow an argument with timezone
2020-09-25 15:20:42 +08:00
Amos Bird
a2845acf37
Fix joinGet crash with LowCardinality types.
2020-09-24 17:29:52 +08:00
alexey-milovidov
3bc09bb867
Merge pull request #15178 from amosbird/dtcf
...
Fix performance issue when doing datetime comparison
2020-09-23 20:33:23 +03:00
Amos Bird
ee45395942
Fix datetime comparison
2020-09-23 10:29:55 +08:00
alesapin
269d225637
Merge branch 'master' into myrrc-feature-cmake-flags-doc-generator
2020-09-22 17:00:02 +03:00
Nikolai Kochetov
c77a6967a3
Remove commented code.
2020-09-21 19:22:23 +03:00
Nikolai Kochetov
334289fd57
Merge pull request #15082 from ClickHouse/try-improve-array-has-built-time
...
Update SourceVisitor for GatherUtils.
2020-09-21 17:08:14 +03:00
Nikolai Kochetov
0f3eab1e48
Merge pull request #15084 from amosbird/lef
...
Don't hide interface symbols
2020-09-21 17:07:52 +03:00
Amos Bird
741912cafd
Don't hide interface symbols
2020-09-21 21:03:17 +08:00
Nikolai Kochetov
efa493fbcb
Update SourceVisitor for GatherUtils.
2020-09-21 13:29:31 +03:00
alexey-milovidov
068e9f372e
Merge pull request #15030 from ClickHouse/base64-unpoison
...
Maybe fix MSan report in base64
2020-09-20 19:03:28 +03:00
Alexey Milovidov
0029c5512d
Maybe fix MSan report in base64
2020-09-19 22:43:26 +03:00
myrrc
146dd0f3f0
fixed comments parser
2020-09-19 20:14:37 +03:00
myrrc
c78d9f9f38
moved the generators to docs/ folder
2020-09-19 19:42:36 +03:00
Alexey Milovidov
ef5363b87f
Fix terribly wrong code
2020-09-19 02:05:13 +03:00
myrrc
f6bce8bd1e
reverted USE to ENABLE
2020-09-18 17:18:59 +03:00
myrrc
3953ed485b
added sub-tables in report, replaced some USE_ -> ENABLE_ for
...
consistency
2020-09-18 16:09:22 +03:00
alexey-milovidov
76a3cc2dae
Merge pull request #14937 from filimonov/finalizeAggregation_statefullness
...
Fix enable_optimize_predicate_expression for finalizeAggregation
2020-09-18 01:24:02 +03:00
Alexey Milovidov
799a675b5d
Merge branch 'master' into AES_encrypt_decrypt
2020-09-17 21:42:51 +03:00
myrrc
7cd5c0d34f
Merge remote-tracking branch 'upstream/master' into feature/cmake-flags-doc-generator
2020-09-17 19:17:09 +03:00
Mikhail Filimonov
22bd22702e
Fix enable_optimize_predicate_expression for finalizeAggregation
...
finalizeAggregation was wrongly marked as stateful, preventing pushing the conditions down.
2020-09-17 15:59:14 +02:00
alexey-milovidov
2413caa7d5
Merge pull request #14889 from ClickHouse/extract-all-groups-empty-match
...
Fix error in "extractAllGroups" function
2020-09-17 16:02:30 +03:00
Nikolai Kochetov
c2906e3871
Merge pull request #14918 from ClickHouse/revert-14362
...
Revert #14362
2020-09-17 15:41:08 +03:00
Nikolai Kochetov
bd92284b4e
Push ci.
2020-09-17 13:18:01 +03:00
Nikolai Kochetov
35e8ee5f85
Rollback inlining.
2020-09-17 12:20:23 +03:00
Nikolai Kochetov
6d3e6dadfa
Update has.
2020-09-17 11:18:00 +03:00
Nikolai Kochetov
225b85624e
Merge branch 'master' into inline-gather-utils
2020-09-17 11:17:32 +03:00
alexey-milovidov
200bc9b9b2
Update FunctionsAES.h
2020-09-17 00:57:26 +03:00
alexey-milovidov
60f91332b3
Update FunctionsAES.h
2020-09-17 00:52:01 +03:00
alexey-milovidov
d97426fe9a
Update FunctionsAES.cpp
2020-09-17 00:47:43 +03:00
Alexey Milovidov
c37b55c3b1
Fix error in "extractAllGroups" function
2020-09-17 00:19:58 +03:00
Nikolai Kochetov
9fc594a4c5
Fix tests.
2020-09-16 20:32:56 +03:00
Nikolai Kochetov
8fed50b1db
Fix GenericSource
2020-09-16 18:03:47 +03:00
Nikolai Kochetov
42c543a64d
Fix GenericSource
2020-09-16 17:58:54 +03:00
Nikolai Kochetov
17ec88da84
Split has.
2020-09-16 17:02:28 +03:00
Nikolai Kochetov
9a6b4b3355
Split has.
2020-09-16 16:49:09 +03:00
Nikolai Kochetov
ec6390231a
Split has.
2020-09-16 16:43:36 +03:00
Nikolai Kochetov
0eff356c38
Split has.
2020-09-16 16:37:16 +03:00
Nikolai Kochetov
bc1031be9b
Split has.
2020-09-16 16:33:28 +03:00
Nikolai Kochetov
715b1a41ed
Update arrayConcat
2020-09-16 16:14:46 +03:00
Nikolai Kochetov
2a2e369c6e
Update arrayConcat
2020-09-16 16:11:42 +03:00
Nikolai Kochetov
d362ced0b5
Update arrayConcat
2020-09-16 16:09:32 +03:00
Nikolai Kochetov
e94b814606
Update arrayConcat
2020-09-16 16:07:32 +03:00
Nikolai Kochetov
bbb89d10de
Fix build.
2020-09-16 15:40:18 +03:00
Nikolai Kochetov
d36e84cde9
Fix build.
2020-09-16 15:36:54 +03:00
Nikolai Kochetov
e9de8c8875
Fix build.
2020-09-16 15:21:26 +03:00
Nikolai Kochetov
b31ce6a536
Fix build.
2020-09-16 15:19:00 +03:00
Nikolai Kochetov
589fd67146
Fix build.
2020-09-16 15:15:14 +03:00
Nikolai Kochetov
4079a7f319
Fix build.
2020-09-16 15:13:34 +03:00
Nikolai Kochetov
dcb52c1d1d
Fix build.
2020-09-16 15:05:24 +03:00
Nikolai Kochetov
5acf73d873
Fix build.
2020-09-16 15:00:34 +03:00
Nikolai Kochetov
675b2c44af
Fix build.
2020-09-16 14:56:37 +03:00
Nikolai Kochetov
8bc45c9d42
Fix build.
2020-09-16 14:49:59 +03:00
Nikolai Kochetov
0800ceab5a
Fix build.
2020-09-16 14:39:42 +03:00
Nikolai Kochetov
9a92e5eabb
Fix build.
2020-09-16 14:33:29 +03:00
Nikolai Kochetov
22e3d471b6
Fix build.
2020-09-16 14:29:43 +03:00
Nikolai Kochetov
6c6e0a88c6
Fix build.
2020-09-16 14:22:08 +03:00
Nikolai Kochetov
85698e04fa
Update slice for arrays.
2020-09-16 13:57:23 +03:00
Nikolai Kochetov
9e00fb44b5
Update creating sink.
2020-09-16 13:18:28 +03:00
myrrc
29ac26f0f2
separated ch parts table
2020-09-16 00:12:37 +03:00
Nikolai Kochetov
69b02c7500
Remove space.
2020-09-15 16:35:04 +03:00
alexey-milovidov
88ac9bef1b
Delete gtest_openssl.cpp
2020-09-15 15:45:52 +03:00
Artem Zuikov
1ba67ea8a1
Improve DecimalBinaryOperation specializations ( #14743 )
2020-09-15 13:31:15 +03:00
Nikolai Kochetov
dd4d5bc931
Fix build
2020-09-15 13:10:41 +03:00
Artem Zuikov
51ba12c2c3
Try speedup build ( #14809 )
2020-09-15 12:55:57 +03:00
Nikolai Kochetov
c1f61984e5
Merge pull request #14513 from amosbird/mf1
...
Binary operator monotonicity
2020-09-15 12:45:23 +03:00
Nikolai Kochetov
fe9c451966
Fix build.
2020-09-15 10:20:34 +03:00
Nikolai Kochetov
2e7da0e2f9
Fix build.
2020-09-15 09:56:49 +03:00
Nikolai Kochetov
c044c040a8
Fix build.
2020-09-15 09:53:14 +03:00
alesapin
a75254766e
Merge pull request #14609 from ClickHouse/update_to_gcc_10
...
Update default build to gcc-10
2020-09-15 09:49:43 +03:00
Nikolai Kochetov
95ae1105d9
Remove virtual destructors for Visitor.
2020-09-15 02:05:43 +03:00
Nikolai Kochetov
45098f7112
Fix build.
2020-09-14 23:32:38 +03:00
Nikolai Kochetov
d418ee48a4
Merge pull request #14783 from amosbird/fix3
...
Fix signedness conversion monotonicity
2020-09-14 21:40:51 +03:00
Alexey Milovidov
038ae02126
Fix for #14761 , part 2
2020-09-14 20:24:55 +03:00
Nikolai Kochetov
d4542a352c
GatherUtils visibility.
2020-09-14 19:40:04 +03:00
Nikolai Kochetov
08d4e96529
GatherUtils visibility.
2020-09-14 19:37:35 +03:00
Ildus Kurbangaliev
67b49862d9
Add mapPopulateSeries function ( #13166 )
2020-09-14 19:11:50 +03:00
Nikolai Kochetov
c05021abc7
Inline GatherUtils algorithms.
2020-09-14 18:11:15 +03:00
Nikolai Kochetov
d2cd2775eb
Inline GatherUtils algorithms.
2020-09-14 17:44:08 +03:00
Nikolai Kochetov
765c8604c9
Inline GatherUtils algorithms.
2020-09-14 17:35:57 +03:00
Alexey Milovidov
b5620018ca
Fix for #14761
2020-09-14 17:02:24 +03:00
Amos Bird
004b91511d
Fix wrong code
2020-09-14 18:16:22 +08:00
Amos Bird
5998570762
Fix signedness conversion monotonicity
2020-09-14 18:12:41 +08:00
Amos Bird
654245af3c
Fix signedness conversion monotonicity
2020-09-14 18:11:40 +08:00
alesapin
336430d3c2
Merge pull request #14646 from ClickHouse/if_bug
...
Fix bug in if function when then clause contain const nullable column
2020-09-14 09:51:40 +03:00
Nikolai Kochetov
109fd9d6d7
Merge pull request #13015 from amosbird/jgmko
...
Refactor joinGet and implement multi-key lookup.
2020-09-13 22:39:48 +03:00
Amos Bird
72786c8130
Take arithmetic overflow into consideration
2020-09-13 21:55:16 +08:00
Amos Bird
34b9547ce1
Binary operator monotonicity
2020-09-13 21:55:12 +08:00
zhang2014
5b952a369b
Fix build failure in OSX
2020-09-12 12:07:02 +08:00
Artem Zuikov
6dd764bcfe
FunctionBinaryArithmetic refactoring ( #14712 )
2020-09-11 18:12:08 +03:00
alesapin
5ce0c21bbe
Remove redundant change
2020-09-11 14:24:42 +03:00
alesapin
ebb9de1376
Supress strange warning
2020-09-11 14:13:41 +03:00
alesapin
3b9ab3f1be
Fix if
2020-09-11 12:23:31 +03:00
alexey-milovidov
e73ca17ad3
Merge pull request #14725 from BooBSD/formatReadableQuantity
...
formatReadableQuantity() function
2020-09-11 12:09:18 +03:00
Vasily Nemkov
8129169ead
Fixed Yandex-specific builds :(
2020-09-10 22:52:42 +03:00
alexey-milovidov
f21cf98960
Merge pull request #14657 from myrrc/feature/disable-debug-symbols-cmake-option
...
Extracted the debug info generation for functions into a cmake option
2020-09-10 21:04:15 +03:00
Artem Hnilov
15bdb6048e
Function formatReadableQuantity() added.
2020-09-10 16:25:07 +00:00
myrrc
e008198023
fix: default value
2020-09-10 15:44:49 +03:00
feng lv
9a370a03ef
fix
...
fix
2020-09-10 19:18:56 +08:00
myrrc
598c81ed0a
fix: default value
2020-09-10 14:07:08 +03:00
myrrc
c309f55c20
updated setting and added default value
2020-09-10 14:02:52 +03:00
myrrc
11ffbda7cc
added the debugger info option
2020-09-09 21:17:01 +03:00
Ilya Yatsishin
594ce8ea66
Merge pull request #14636 from mcheshkov/use-global-addincl-for-icu
...
Use global ICU ADDINCL for Arcadia build
2020-09-09 20:50:52 +03:00
alexey-milovidov
38131917ef
Merge pull request #14530 from amosbird/ma
...
Fix Nullable String to Enum conversion.
2020-09-09 19:24:04 +03:00
alexey-milovidov
c6d0944994
Merge pull request #14591 from myrrc/bugfix/lc-nullability-checker
...
Correct nullability checker for LowCardinality nested columns
2020-09-09 19:23:19 +03:00
Mikhail Cheshkov
673244876e
Use global ICU ADDINCL for Arcadia build
2020-09-09 18:01:52 +03:00
Artem Zuikov
48f29ae11f
Fix bug in Decimal scale ( #14603 )
2020-09-09 16:18:58 +03:00
alexey-milovidov
91edd2bba1
Merge branch 'master' into bugfix/lc-nullability-checker
2020-09-09 09:50:39 +03:00
alexey-milovidov
0c2ecb53d1
Update arrayIndex.h
2020-09-09 09:35:05 +03:00
alexey-milovidov
f2e9a09b11
Merge pull request #14585 from ClickHouse/join-processor
...
Remove Join from ExpressionActions
2020-09-08 23:56:09 +03:00
myrrc
78eac658b0
adding correct LC nested nullability checker
2020-09-08 22:51:44 +03:00
alexey-milovidov
a5499ab9d6
Merge pull request #14555 from 4ertus2/some
...
Hide symbols in nameless namespace
2020-09-08 19:55:56 +03:00
Vasily Nemkov
d6c84291c9
Fixed data race caused by EVP_CIPHER_fetch()
2020-09-08 16:28:52 +03:00
Artem Zuikov
69e82e647e
another fix for clang tidy
2020-09-08 14:01:17 +03:00
Nikolai Kochetov
39aad9979a
Remove Join from ExpressionActions.
2020-09-08 13:40:53 +03:00
Artem Zuikov
d95614ad60
fix for clang tidy
2020-09-08 12:16:50 +03:00
Ilya Yatsishin
11a247d2f4
Merge pull request #14556 from ClickHouse/fix-arcadia-2
...
Lower binary size in "Arcadia" build
2020-09-08 12:08:35 +03:00
feng lv
4f94581116
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2020-09-08 16:01:13 +08:00
Artem Zuikov
7373aaf465
add IsOperation helper
2020-09-08 03:59:13 +03:00
Alexey Milovidov
e3924b8057
Fix "Arcadia"
2020-09-08 01:14:13 +03:00
Artem Zuikov
b3eafc1106
hide symbols in nameless namespace
2020-09-07 21:00:37 +03:00
Alexey Milovidov
53e39b05b2
Lower binary size in debug build
2020-09-07 18:35:18 +03:00
Amos Bird
4c3c1cdaf3
Fix Nullable String to Enum conversion.
2020-09-07 15:32:44 +08:00
alexey-milovidov
a78b04b56a
Merge pull request #14455 from ClickHouse/prepare-clang-11
...
Prepare for clang 11
2020-09-06 11:02:58 +03:00
alexey-milovidov
d61dda36ef
Update Sources.h
2020-09-06 01:09:59 +03:00
bharatnc
425c4d0634
fix style check - declare error code ILLEGAL_TYPE_OF_ARGUMENT
2020-09-04 21:26:51 -07:00
bharatnc
25080f3a88
additional checks for empty tz for toStartOfMonth|Quarter|Year
2020-09-04 20:15:37 -07:00
bharatnc
8fd00ff77b
rename test files and fix tests - add ; at the end
2020-09-04 18:42:43 -07:00
bharatnc
cf110f4eb0
toStartOfInterval* functions - disallow empty timezone
2020-09-04 17:32:38 -07:00
Artem Zuikov
7c20aa2c62
Another 256-bit integers (strict 32 bytes) ( #14229 )
2020-09-04 16:33:02 +03:00
Alexey Milovidov
4b3220f79a
Prepare for clang 11
2020-09-04 03:39:56 +03:00
Alexey Milovidov
796e3ae87d
Prepare for clang 11
2020-09-03 22:40:21 +03:00
alesapin
12f76d9448
Merge pull request #14325 from azat/suppress-wget-output
...
Suppress superfluous wget (-nv) output
2020-09-02 14:59:28 +03:00
alexey-milovidov
adf50fd774
Merge pull request #13761 from zhang2014/improvement/date_time
...
ISSUES-4006 add precision argument for DateTime type
2020-09-02 05:12:35 +03:00
Alexander Kuzmenkov
2f3bb5844a
Merge branch 'master' into suppress-wget-output
2020-09-01 16:59:04 +03:00
Artem Zuikov
d304d522cc
Refactoring: rename types to allow change bigint library ( #14219 )
2020-09-01 12:54:50 +03:00
Vasily Nemkov
bdaa012239
Fixed compilation for older (pre-3.0.0) OpenSSL versions
2020-09-01 12:42:23 +03:00
Vasily Nemkov
7cc4118dab
Fixed AES encrypt/decrypt performance
...
Improved execution time of EVP_DecryptInit_ex/EVP_EncryptInit_ex with some hacks
Fixed all-const case
2020-09-01 12:42:23 +03:00
Vasily Nemkov
b147ffcd43
encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions
...
Functions to encrypt/decrypt any input data with OpenSSL's ciphers
with custom key, iv, and add (-gcm mode only).
_mysql versions are 100% compatitable with corresponding MySQL functions
Supported modes depend on OpenSSL version, but generally are:
aes-{128,192,56}-{ecb,cbc,cfb1,cfb8,cfb128,ofb,gcm}
Please note that in a -gcm mode a 16-byte tag is appended to the ciphertext
on encryption and is expected to be found at the end of ciphertext on decryption.
Added tests that verify compatibility with MySQL functions,
and test vectors for GCM mode from OpenSSL.
Added masking rules for aes_X funtions
Rules are installed by default to config.d/query_masking_rules.xml
2020-09-01 12:42:15 +03:00
Azat Khuzhin
2d7cb03120
Suppress superfluous wget (-nv) output
...
Since for dowloading some of files wget logging may take 50% of overall
log [1].
[1]: https://clickhouse-builds.s3.yandex.net/14315/c32ff4c98cb3b83a12f945eadd180415b7a3b269/clickhouse_build_check/build_log_761119955_1598923036.txt
2020-09-01 10:25:13 +03:00
Alexander Kuzmenkov
134aae89f3
Merge pull request #14110 from 4ertus2/decimal
...
Fix Decimal to Float conversion and toDecimal256() function
2020-08-31 17:08:49 +03:00
alexey-milovidov
c6f55bbe6a
Merge pull request #14151 from 4ertus2/some
...
Add functions: isDecimalOverflow(), countDigits()
2020-08-28 22:01:54 +03:00
Artem Zuikov
881cd3331a
gix comment and useDefault*(), add tests for nullables
2020-08-28 13:16:42 +03:00
Alexey Milovidov
01567d62a4
Fix nullptr dereference in defaultValueOfTypeName
2020-08-27 21:36:18 +03:00
Artem Zuikov
2a0b98b19c
add countDigits() function
2020-08-27 16:17:13 +03:00
Artem Zuikov
724b38adc9
isDecimalOverflow() function
2020-08-27 04:14:10 +03:00
alexey-milovidov
67f16d5ae8
Merge pull request #14122 from ClickHouse/fix-fuzz-test-compile-expressions
...
More range checks when compile_expressions = 1
2020-08-27 02:15:40 +03:00
alexey-milovidov
0f706c01ca
Merge pull request #13888 from vladimir-golovchenko/add-date-trunc-function
...
Added date_trunc function
2020-08-27 02:12:27 +03:00
alexey-milovidov
c53854df19
Merge pull request #14079 from livace/fix_2d_pip
...
Fix pointInPolygon with const 2d array
2020-08-26 21:02:58 +03:00
Alexey Milovidov
5dbdd8ea3d
More range checks when compile_expressions = 1
2020-08-26 19:49:19 +03:00
alexey-milovidov
7ea28d976a
Update date_trunc.cpp
2020-08-26 17:28:54 +03:00
Artem Zuikov
fe5db661ce
fix decimal to float conversion and toDecimal256()
2020-08-26 15:26:12 +03:00
vladimir golovchenko
b0dd1d92b4
Added date_trunc function.
2020-08-25 16:41:08 -07:00
Alexey Ilyukhov
f32b7f48f1
Fix pointInPolygon with const 2d array
2020-08-26 01:13:47 +03:00
Alexey Milovidov
b0908144b3
Fix clang-tidy
2020-08-25 01:20:43 +03:00
Alexey Milovidov
99009a3468
utils/generate-ya-make/generate-ya-make.sh
2020-08-24 23:02:29 +03:00
Alexey Milovidov
846cdd70fc
Merge branch 'patch-0819' of https://github.com/hczhcz/ClickHouse into hczhcz-patch-0819-2
2020-08-24 23:01:59 +03:00
alexey-milovidov
6a164634d7
Merge pull request #12550 from myrrc/bug/low-cardinality-arrays-optimisations
...
Optimising has(), indexOf(), and countEqual() for Array(LowCardinality(T)) and constant right arguments
2020-08-24 22:31:29 +03:00
Anton Popov
93d49e5815
Merge pull request #13237 from vdimir/string-locate-startpos-3776
...
Support start_pos argument in `position` function
2020-08-24 12:23:19 +03:00
zhang2014
b679b2e30c
ISSUES-4006 fix toDateTime64 with scale 0
2020-08-21 13:16:50 +08:00
zhang2014
ec1572d7be
ISSUES-4006 support parserDateTime32 functions
2020-08-21 13:09:25 +08:00
zhang2014
45cc0778a0
ISSUES-4006 support scale with parserDateTime
2020-08-20 22:41:13 +08:00
zhang2014
edeb983eb0
ISSUES-4006 some refactor
2020-08-20 19:18:29 +08:00
Nikolai Kochetov
5928eab2c4
Fix lgamma race. ( #13842 )
...
* Fix lgamma race.
2020-08-20 12:27:29 +03:00
myrrc
d298409660
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-08-20 12:07:02 +03:00
hcz
4d093e8e26
Fix type error
2020-08-20 10:50:34 +08:00
myrrc
4f96291c35
rewrote the LC spec as a dispatcher
2020-08-19 21:59:39 +03:00
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals ( #13097 )
2020-08-19 14:52:17 +03:00
hcz
4bbcec3d33
Add defaultValueOfTypeName
2020-08-19 14:44:11 +08:00
myrrc
5ef5c889fd
moved the LC stuff to its implementations (some bugs remaining)
2020-08-18 23:09:41 +03:00
Alexey Milovidov
acf312467e
Stratify nans comparison in arrayCompact function
2020-08-18 22:16:53 +03:00
Alexey Milovidov
9615b1f06a
Generate ya.make
2020-08-18 12:46:02 +03:00
myrrc
3337d206ba
some bugs remaining
2020-08-18 01:55:41 +03:00
myrrc
69a0ca2564
checking other const approach
2020-08-18 01:43:20 +03:00
Alexey Milovidov
ba4c42abfe
Support UUID aliases in normalizeQuery
2020-08-17 21:17:20 +03:00
Alexey Milovidov
59b8153506
Fix "Arcadia" and "Unbundled" builds
2020-08-17 11:20:20 +03:00
Alexey Milovidov
ab435f0610
Fix style
2020-08-16 22:50:50 +03:00
Alexey Milovidov
9cd2ddb646
Add normalizedQueryHash function with tests
2020-08-16 22:38:56 +03:00
Alexey Milovidov
e733c0b96a
Add function "normalizeQuery"
2020-08-16 21:17:16 +03:00
feng lv
3b132c789e
fix
2020-08-16 16:01:52 +08:00
feng lv
2067501ead
fix
2020-08-16 15:42:35 +08:00
feng lv
2dd86392c6
fix comfilict
2020-08-16 15:30:55 +08:00
alexey-milovidov
8535e30bd4
Merge pull request #13753 from ClickHouse/avoid-too-slow-queries-with-arrays
...
Avoid too slow queries with arrays
2020-08-16 10:16:08 +03:00
Azat Khuzhin
e9d373b5b7
Fix step overflow in range()
2020-08-16 00:26:47 +03:00
vdimir
df63ada6cc
Fix Darwin build (std::max candidate template)
2020-08-15 20:08:59 +00:00
vdimir
8fc470d1c5
Fix compilcation errror in MultiMatchAnyImpl.h
2020-08-15 18:08:00 +00:00
zhang2014
fb1417db71
ISSUES-4006 try fix test failure
2020-08-16 01:08:03 +08:00
zhang2014
43839a97b6
ISSUES-4006 add factor with DateTime type
2020-08-15 21:29:24 +08:00
Alexey Milovidov
57b8d3f89b
Avoid too slow queries with arrays
2020-08-15 12:13:52 +03:00
Alexey Milovidov
1d51d9e8b6
Range check for h3KRing
2020-08-15 11:49:54 +03:00
myrrc
54f5c0e35a
fixed the String impl non-const offset bug
2020-08-14 23:07:31 +03:00
myrrc
a519559644
updated ColumnVector to compare with other U, cleaned ImplString
2020-08-14 21:08:30 +03:00
Alexey Milovidov
baa85f0a88
Fix timeout in sql_fuzzy test
2020-08-14 04:35:02 +03:00
myrrc
a9c9bae47e
fixed the columnvector test
2020-08-13 17:17:49 +03:00
myrrc
0edf3a693d
fixing the processGeneric ColumnVector type bug
2020-08-13 16:44:13 +03:00
myrrc
e2e38e30d0
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-08-12 19:12:08 +03:00
myrrc
1ed406dfd8
empty commit to restart CI
2020-08-12 19:11:35 +03:00
Amos Bird
ffcbfc383b
remove obsolete comments
2020-08-12 09:30:40 +08:00
Alexander Kazakov
6e0d536327
Merge branch 'master' into bug/low-cardinality-arrays-optimisations
2020-08-11 16:25:20 +03:00
myrrc
eabcc293eb
fixed generic LC impl
2020-08-11 14:15:43 +03:00
myrrc
659c78c7ab
more canonical resize
2020-08-10 18:37:04 +03:00
myrrc
8562c36ea4
fix: false processing
2020-08-10 18:32:02 +03:00
Nikolai Kochetov
11966f6257
Update FunctionsMiscellaneous.h
2020-08-10 18:22:08 +03:00
myrrc
565cedbf1c
updating functions
2020-08-10 17:22:35 +03:00
myrrc
403a47bd1e
reverted the code back to constant args handling
2020-08-10 13:34:19 +03:00
Vitaly Baranov
3b9f5a827c
Fix getting settings specified in query.
2020-08-10 01:07:23 +03:00
alexey-milovidov
be38b0fe75
Merge pull request #13497 from amosbird/tdm
...
Better toDate/toDateTime functions.
2020-08-09 02:14:58 +03:00
alexey-milovidov
ba5988dcf6
Merge pull request #13446 from ClickHouse/fix-netloc
...
Function "netloc": fix wrong code.
2020-08-09 01:39:46 +03:00
Amos Bird
ba204fe3b2
fix test and add alias to FROM_UNIXTIME
2020-08-09 00:24:43 +08:00
alexey-milovidov
beed3c8244
Merge pull request #13500 from ClickHouse/hardening-and-better-error-messages
...
Hardening and better error messages
2020-08-08 17:13:43 +03:00
alexey-milovidov
c0fef71507
Merge pull request #13511 from ClickHouse/codespell
...
Fix typos in code with codespell.
2020-08-08 17:09:16 +03:00
Amos Bird
d9de96716a
string to date is not monotonic
2020-08-08 14:30:50 +08:00
Alexey Milovidov
6663f21fdd
Fix error
2020-08-08 05:02:36 +03:00
Alexey Milovidov
edd89a8610
Fix half of typos
2020-08-08 03:47:03 +03:00
Alexey Milovidov
ac2de4cc95
Fix build
2020-08-08 03:08:41 +03:00
Alexey Milovidov
ec281cd703
Fix assert in "lcm"
2020-08-08 02:01:05 +03:00
Alexey Milovidov
d026d4e289
Fix error
2020-08-07 23:53:46 +03:00
Alexey Milovidov
3c3350451e
Merge branch 'master' into fix-netloc
2020-08-07 22:57:46 +03:00
alexey-milovidov
cbe9878e9e
Update FunctionsConversion.h
2020-08-07 22:53:52 +03:00
alexey-milovidov
65b3863a9e
Update FunctionsConversion.h
2020-08-07 22:52:21 +03:00
Alexey Milovidov
f968ae8804
Hardening continued
2020-08-07 22:45:29 +03:00
Amos Bird
9938e1f3f6
Better toDate/toDateTime function.
2020-08-08 03:38:34 +08:00
Nikolai Kochetov
07b5f9a58f
Fix build.
2020-08-07 18:04:51 +03:00
Nikolai Kochetov
14c9ea0b58
Merge branch 'master' into ucasFL-master
2020-08-07 17:31:11 +03:00
myrrc
ac77e2a88f
empty commit to restart CI
2020-08-07 14:24:07 +03:00
Nikolai Kochetov
7a9b244f37
Push ci
2020-08-07 11:29:41 +03:00
Alexey Milovidov
1f2d0dce3e
Remove useless header file
2020-08-07 04:07:51 +03:00
Alexey Milovidov
d1ed1fb83a
Fix error
2020-08-07 04:04:37 +03:00
myrrc
d1412e5352
Merge branch 'bug/low-cardinality-arrays-optimisations' of github:myrrc/clickhouse into bug/low-cardinality-arrays-optimisations
2020-08-06 20:57:29 +03:00
myrrc
1c940a1921
got rid of a virtual col in loop in arrayIndex
2020-08-06 20:55:21 +03:00
Nikolai Kochetov
38c1d3b061
Fix build.
2020-08-06 16:47:08 +03:00
Alexander Kazakov
8c1dbb3893
For compatibility with Arcadia
2020-08-06 16:27:19 +03:00
Nikolai Kochetov
b28e121967
Fix tuple with NULL exement comparison.
2020-08-06 15:54:14 +03:00
myrrc
c8f737c37c
fix: re-resizing, Arcadia compatibility, updated perftest
2020-08-06 15:33:16 +03:00
myrrc
2d27fa0fa8
fix: style error, unused check
2020-08-06 02:24:28 +03:00
myrrc
4dd39f6fb4
fixed comparison bug by cloning the col_arg_indices
2020-08-05 18:16:03 +03:00
myrrc
0021f67664
re-unioned the *NumImpl
2020-08-05 15:43:19 +03:00
Anton Popov
1ac1955ffb
bump CI
2020-08-05 14:32:41 +03:00
myrrc
807f1887f4
some data flow fixes
2020-08-04 22:51:15 +03:00
myrrc
b210afb789
cloning the arr column to build the lc index
2020-08-04 18:00:42 +03:00
Alexey Milovidov
d91471ea00
Merge branch 'master' into stack-frams-size-limit
2020-08-04 15:28:47 +03:00
myrrc
98119af9de
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-08-04 15:01:27 +03:00
vdimir
7260009978
Fix argument handling in string search functions
2020-08-04 10:10:50 +03:00
alexey-milovidov
43f048d2cb
Merge pull request #13277 from ClickHouse/fix-fuzz-test5
...
Fix range checks in h3 functions
2020-08-04 01:29:33 +03:00
Alexey Milovidov
1d091738dd
Merge branch 'master' into stack-frams-size-limit
2020-08-03 20:41:47 +03:00
Alexey Milovidov
7bd0620deb
Added another check just in case
2020-08-03 19:39:08 +03:00
Alexey Milovidov
0e515aa1c9
Fixup
2020-08-03 17:49:50 +03:00
Alexey Milovidov
41f30d3bd8
Fix range checks in h3 functions
2020-08-03 17:32:14 +03:00
Alexander Tokmakov
5b92f43f12
Merge branch 'master' into database_atomic_improvements
2020-08-03 14:35:40 +03:00
alexey-milovidov
851e1a70d3
Merge pull request #13226 from ClickHouse/fix-if-nullable-cond-return-type
...
Fix function if with nullable constexpr as cond that is not literal NULL
2020-08-03 06:11:54 +03:00
alexey-milovidov
6097f6a43e
Merge pull request #13212 from ClickHouse/materialize-null
...
Function "materialize" should work for NULL as expected
2020-08-03 02:10:24 +03:00
alexey-milovidov
84e88f661e
Merge pull request #13213 from ClickHouse/fix-fuzz-test2
...
Fix assertion failure in FunctionsLogical
2020-08-03 00:29:44 +03:00
Alexey Milovidov
fd3c4e033e
Merge branch 'master' into fix-if-nullable-cond-return-type
2020-08-03 00:29:09 +03:00
Alexey Milovidov
41111d1e57
Merge branch 'master' into stack-frams-size-limit
2020-08-02 19:18:33 +03:00
alexey-milovidov
dfa57559a2
Merge pull request #13229 from ClickHouse/fix-geohash
...
Fix assert in geohashesInBox
2020-08-02 17:26:58 +03:00
Alexey Milovidov
577a0b405d
Merge branch 'master' into fix-if-nullable-cond-return-type
2020-08-02 17:24:46 +03:00
vdimir
368314b930
Fix style in PositionImpl and FunctionsStringSearch
2020-08-02 14:24:39 +00:00
alexey-milovidov
2d93ac97c9
Merge pull request #13224 from ClickHouse/fix-fuzz-test3
...
Fix assert in arrayElement
2020-08-02 17:21:52 +03:00
Alexey Milovidov
5d96839e98
Merge branch 'master' into materialize-null
2020-08-02 17:12:55 +03:00
Alexey Milovidov
1a966c4ff4
Merge branch 'master' into fix-fuzz-test2
2020-08-02 17:12:38 +03:00
vdimir
9ed7df64cd
Support 'start_pos' argument in 'position' function
2020-08-02 12:56:18 +00:00
Alexey Milovidov
a1c0dd3782
Fix assert in geohashesInBox
2020-08-02 05:59:09 +03:00
Vitaly Baranov
18b21511a9
Merge pull request #13013 from vitlibar/implement-custom-settings
...
Implement custom settings
2020-08-02 05:01:14 +03:00
Alexey Milovidov
9ad3dcacd6
Fix function if with nullable constexpr as cond that is not literal NULL
2020-08-02 04:56:07 +03:00
Alexey Milovidov
d3c0635fc0
Merge branch 'master' into stack-frams-size-limit
2020-08-02 04:35:09 +03:00
Alexey Milovidov
a4e8c47702
Fix assert in arrayElement
2020-08-02 04:07:08 +03:00
Alexey Milovidov
747239d850
Whitespace
2020-08-02 02:44:42 +03:00
Alexey Milovidov
4d3e39649c
Merge branch 'master' into fix-fuzz-test2
2020-08-02 02:27:57 +03:00
Alexey Milovidov
3735ae045e
Merge branch 'fix-fuzz-test2' into materialize-null
2020-08-02 01:52:10 +03:00
Alexey Milovidov
c0da83c160
Merge branch 'master' into materialize-null
2020-08-02 01:51:59 +03:00
alexey-milovidov
56a974049e
Merge pull request #13158 from ClickHouse/amosbird-fm
...
Merge #12574
2020-08-02 01:48:57 +03:00
Alexey Milovidov
1238456599
Slightly better
2020-08-01 22:10:59 +03:00
Alexey Milovidov
435164cfbb
Fix fuzz test
2020-08-01 21:52:30 +03:00
Alexey Milovidov
52d885e095
Function "materialize" should work for NULL as expected
2020-08-01 21:44:00 +03:00
Azat Khuzhin
3b022b85a5
Fix FunctionUnixTimestamp64 with constant argument
2020-08-01 13:29:36 +03:00
Vitaly Baranov
f73a4749cf
Add function getSetting().
2020-07-31 20:57:49 +03:00
alexey-milovidov
9c9ef0db9b
Merge branch 'master' into database_atomic_improvements
2020-07-31 14:56:49 +03:00
Alexey Milovidov
bf4e74375e
generate ya.make
2020-07-31 02:43:55 +03:00
Alexey Milovidov
67b7a5442f
Merge branch 'fm' of https://github.com/amosbird/ClickHouse into amosbird-fm
2020-07-31 02:43:27 +03:00
alexey-milovidov
74edcfb87e
Merge pull request #13073 from nikitamikhaylov/rewrite-tests
...
BayesAB test
2020-07-31 02:30:07 +03:00
Alexey Milovidov
c202691319
Merge branch 'master' into stack-frams-size-limit
2020-07-30 23:53:52 +03:00
Anton Popov
cf505a92ef
Merge pull request #9278 from achulkov2/polygon-dict-grids
...
Polygon dictionaries with grids
2020-07-29 21:32:35 +03:00
Nikita Mikhaylov
5a6a40437a
remove includes from all Function sources
2020-07-29 21:14:48 +03:00
alesapin
34e7b25d91
Merge pull request #12992 from ClickHouse/rerun_failed_in_fast_test
...
Rerun tests in fast test
2020-07-29 21:11:54 +03:00
Nikita Mikhaylov
1d6c2ba689
rewrite other test + remove useless includes
2020-07-29 20:37:57 +03:00
Alexander Kuzmenkov
239f08271a
Merge pull request #12745 from azat/cast-nullable-string-to-enum
...
Fix CAST(Nullable(String), Enum())
2020-07-29 20:23:21 +03:00
nikitamikhaylov
2909d965db
delete file
2020-07-29 17:47:42 +03:00
nikitamikhaylov
86c1cc71ea
try
2020-07-29 17:45:16 +03:00
nikitamikhaylov
9df54946cf
fix clang-tidy build
2020-07-29 17:06:33 +03:00
alesapin
d52f67d24e
Fix abtesting build
2020-07-29 14:00:04 +03:00
Ildus Kurbangaliev
fdf4fd337a
add mapAdd and mapSubtract functions ( #11735 )
2020-07-29 11:50:30 +03:00
Anton Popov
6d58279535
Merge remote-tracking branch 'upstream/master' into HEAD
2020-07-29 02:15:30 +03:00
myrrc
cf696afd4c
fix: function visibility
2020-07-28 18:26:53 +03:00
Amos Bird
993a11a57a
Fix MemSan error.
2020-07-28 22:43:43 +08:00
Amos Bird
0e6f9568a7
Allow all formats
2020-07-28 22:43:43 +08:00
Amos Bird
b30240efc0
formatRow function
2020-07-28 22:43:43 +08:00
myrrc
aaa05f2466
updated types checker
2020-07-28 17:41:04 +03:00
Amos Bird
230938d3a3
Refactor joinGet and implement multi-key lookup.
2020-07-28 22:38:52 +08:00
myrrc
da9502e496
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-07-28 15:06:39 +03:00
nikitamikhaylov
4d8a00d25e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into achimbab-bayesAB
2020-07-27 17:13:27 +03:00
jakalletti
7f853c2a56
fix arcadia
2020-07-27 17:10:57 +03:00
Alexander Tokmakov
6bfe88e83f
Merge branch 'master' into database_atomic_improvements
2020-07-26 13:40:05 +03:00
Azat Khuzhin
4713b59159
Fix CAST(Nullable(String), Enum())
...
The wrapper that is returned from createStringToEnumWrapper() does not
have access to the ColumnNullable (i.e. original column), because it is
converted to nested type in the prepareRemoveNullable().
So add original ColumnNullable into the block in prepareRemoveNullable()
if source type is Nullable and pass this flag to the
createStringToEnumWrapper() to make it know about that fact that last
column in the block is the original ColumnNullable in this case.
And this one looks most sane.
2020-07-26 12:00:24 +03:00
myrrc
ecf6f62820
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-07-24 18:15:49 +03:00
myrrc
6f953e06ae
fix: style-checker
2020-07-24 18:02:57 +03:00
myrrc
1e32210953
updated reference, fixed NULL values handling
2020-07-24 17:17:39 +03:00
myrrc
b44b3e9b2b
added column cast, added new test
2020-07-24 15:07:26 +03:00
philip.han
6029ff9bed
Remove const
2020-07-24 13:42:16 +09:00
philip.han
e1172755f0
Add static to toFloat64
2020-07-24 11:20:43 +09:00
Azat Khuzhin
73286c7b6e
Add skeleton implementations for DummyJSONParser::Element::getObject/getArray
...
Otherwise it fails for unbundled+shared build
2020-07-24 00:55:50 +03:00
myrrc
4a55186a99
some investigation
2020-07-23 19:46:38 +03:00
philip.han
104e1b57fa
Remove extra ';' after member function definition
2020-07-24 00:49:32 +09:00
philip.han
272e909cf4
Make IFunction::executeImpl const.
2020-07-23 22:48:37 +09:00
alexey-milovidov
c4cef3d47f
Merge pull request #12705 from azat/checkNumberOfArgumentsIfVariadic-fix
...
Drop checkNumberOfArgumentsIfVariadic() (never called), check in getReturnType()
2020-07-23 16:22:44 +03:00
philip.han
b71fe9dab9
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into bayesAB
2020-07-23 22:21:15 +09:00
Alexey Milovidov
9b39b6b7b4
Whitespace #12484
2020-07-23 13:29:59 +03:00
alexey-milovidov
456bf4461b
Merge branch 'master' into br1
2020-07-23 13:26:41 +03:00
alexey-milovidov
7a7f6dbf13
Update formatDateTime.cpp
2020-07-23 13:23:55 +03:00
philip.han
49fe5e55a0
Remove lambda function in abtesting
2020-07-23 17:53:26 +09:00
Azat Khuzhin
9096e1def3
Drop checkNumberOfArgumentsIfVariadic() (never called), check in getReturnType()
2020-07-23 11:13:19 +03:00
alesapin
c83bf1ab74
Revert "Refactor joinGet and implement multi-key lookup."
2020-07-23 10:47:17 +03:00
philip.han
67803573b6
Fix style
2020-07-23 15:00:45 +09:00
philip.han
e4b867c1f3
Return xs and ys of variants and improve type checking for the input of bayesAB
2020-07-23 14:22:18 +09:00
Alexander Tokmakov
237accd154
Merge branch 'master' into database_atomic_improvements
2020-07-23 06:33:20 +03:00
myrrc
9b9360eb2c
try to handle runtime type casting to compare the index column and the
...
target value correctly
2020-07-23 02:09:03 +03:00
myrrc
31fc55ccef
fix: const attributes
2020-07-23 00:54:43 +03:00
myrrc
76a866af47
another attribute fix
2020-07-23 00:44:39 +03:00
myrrc
6af63213ce
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-07-22 22:49:46 +03:00
myrrc
1d0bf93444
added perftest, fixed style check and PVS bugs
2020-07-22 22:44:11 +03:00
alexey-milovidov
004481f98b
Merge pull request #12418 from amosbird/jgmk
...
Refactor joinGet and implement multi-key lookup.
2020-07-22 21:44:24 +03:00
Nikolai Kochetov
a663bc76ba
Merge pull request #12634 from ClickHouse/const-iface-for-functions
...
Make IFunction::executeImpl const
2020-07-22 19:08:52 +03:00
myrrc
222eb7fba3
fixed result column overwriting
2020-07-22 16:18:21 +03:00
Alexey Milovidov
c55834c40f
Merge branch 'master' into stack-frams-size-limit
2020-07-22 08:49:00 +03:00
alexey-milovidov
49adaf95aa
Merge pull request #12585 from ClickHouse/mod-compatible
...
Make behaviour of remainder of division for floating point numbers compatible with most of DBMS
2020-07-22 08:43:45 +03:00
Alexander Tokmakov
9bcaaea3e0
Merge branch 'master' into database_atomic_improvements
2020-07-22 05:24:48 +03:00
Alexey Milovidov
7b81640e9b
Add support for function if with Array(UUID) arguments #11066
2020-07-22 00:15:19 +03:00
alexey-milovidov
72280ee2a3
Update moduloOrZero.cpp
2020-07-21 17:07:09 +03:00
alexey-milovidov
b358c796f1
Update moduloOrZero.cpp
2020-07-21 17:06:40 +03:00
Nikolai Kochetov
e4689ce302
Make IFunction::executeImpl const.
2020-07-21 16:58:07 +03:00
Alexey Milovidov
50bbfc848d
Merge branch 'master' into stack-frams-size-limit
2020-07-21 14:45:15 +03:00
Alexey Milovidov
e4c652ec28
Fix test; modify return type of Date or DateTime % Float to Float64
2020-07-21 13:36:04 +03:00
Alexey Milovidov
e93e0afd52
Added a comment
2020-07-21 13:20:09 +03:00
Vitaly Baranov
e3ee555c57
Merge pull request #12606 from vitlibar/improve-json-internal-interface
...
Improve JSON internal interface.
2020-07-20 23:35:09 +03:00
Vitaly Baranov
1fb4d9002d
Improve JSON internal interface.
2020-07-20 20:56:04 +03:00
myrrc
ad8afc3bfa
updated LC spec to catch LC(N(T)) and N(LC(T))
2020-07-20 18:49:06 +03:00
Vitaly Baranov
0b17595a91
Merge pull request #12423 from vitlibar/update-simdjson
...
Update simdjson
2020-07-20 10:15:38 +03:00
philip.han
11de86074f
Use range-based for loop and remove redundant call to 'c_str'
2020-07-20 15:33:23 +09:00
Alexey Milovidov
10355a2850
Make behaviour of remainder of division for floating point numbers compatible with most of DBMS #7323
2020-07-20 04:03:46 +03:00
philip.han
5e2d361dc8
Remove std::move
2020-07-20 00:12:58 +09:00
Vitaly Baranov
8bcaf7908e
Rework JSON functions to use the new simdjson interface.
2020-07-19 12:50:19 +03:00
myrrc
b60b689417
fixed Const(Array()) DB::Exception
2020-07-17 21:06:21 +03:00
myrrc
00fc61c244
updated getOrFindIndex for NullableTypes
2020-07-17 19:57:26 +03:00
myrrc
52dcb211ba
Merge branch 'master' into bug/low-cardinality-arrays-optimisations
2020-07-17 17:06:02 +03:00
philip.han
cdd7755484
Remove unused code
2020-07-17 22:05:17 +09:00
myrrc
80053d745d
first truly working version
2020-07-17 15:44:26 +03:00
philip.han
8e8af83b15
Fix style
2020-07-17 21:08:08 +09:00
philip.han
3554e6c36a
Replace vector with PODArray and add testcases
2020-07-17 21:06:29 +09:00
philip.han
769a6dfb08
bayseAB returns an empty block if input_rows_count is 0 and isDeterministic returns false
2020-07-17 18:21:25 +09:00
philip.han
d4aff270db
Fix the formula of gamma and the method of argument parsing
2020-07-17 17:52:51 +09:00
Vitaly Baranov
4cc101f1d4
Fix build scripts.
2020-07-17 10:30:13 +03:00
philip.han
36feefb429
Replace ABTestResult with Variants
2020-07-17 16:23:24 +09:00
Alexander Tokmakov
a612080df1
Merge branch 'master' into database_atomic_improvements
2020-07-17 00:43:59 +03:00
myrrc
0ce74ccc28
updated interface, bug investigation
2020-07-16 23:59:32 +03:00
Alexander Kuzmenkov
039cf36acb
Minor fixes for query fuzzer
2020-07-16 21:05:34 +03:00
myrrc
bc8e8c25e9
initial more or less working version
2020-07-16 18:14:52 +03:00
Nikita Mikhaylov
02c49b9d7f
better
2020-07-15 22:10:36 +00:00
Nikita Mikhaylov
22e0015782
fix arcadia
2020-07-15 21:28:01 +00:00
Alexander Tokmakov
f6949b2f47
use dictionary ids
2020-07-15 22:25:31 +03:00
Nikita Mikhaylov
ed05465479
Merge branch 'master' of github.com:ClickHouse/ClickHouse into achimbab-bayesAB
2020-07-15 16:34:56 +00:00
Nikita Mikhaylov
1a8811bd47
fix tidy build
2020-07-15 16:34:08 +00:00
Alexander Kuzmenkov
3e6b9f297f
Some provisions for Android build
2020-07-15 14:16:00 +03:00
Alexander Tokmakov
09abe71b60
Merge branch 'master' into database_atomic_improvements
2020-07-15 13:07:08 +03:00
Amos Bird
6017a33722
Fix
2020-07-15 10:20:05 +08:00
Amos Bird
46c2bb57ec
Refactor joinGet and implement multi-key lookup.
2020-07-15 10:12:04 +08:00
Nikita Mikhaylov
4d10ac9b1a
trigger ci
2020-07-15 02:25:59 +03:00
Alexander Tokmakov
eea0cdcf25
add uuid to generated config
2020-07-14 23:32:13 +03:00
feng lv
767bc7a905
add doc
...
fix test
fix
name style fix
2020-07-14 18:50:51 +08:00
feng lv
f0b423e928
add test
...
style fix
2020-07-14 14:16:47 +08:00
feng lv
dffdb6e9e9
add FROM_UNIXTIME function
2020-07-14 14:04:37 +08:00
Alexander Kuzmenkov
d6e7ab5988
Fuzzing-related fixes
2020-07-13 16:58:48 +03:00
alexey-milovidov
c615ea658b
Merge pull request #12400 from vitlibar/fix-bad_typeid
...
Fix std::bad_typeid when JSON functions called with argument of wrong type
2020-07-11 05:40:44 +03:00
alexey-milovidov
2d9e0ec049
Merge pull request #12376 from ClickHouse/fix-totals-state-2
...
Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments
2020-07-10 20:18:48 +03:00
Vitaly Baranov
94c858b2dc
Fix std::bad_typeid when JSON functions called with argument of wrong type.
2020-07-10 17:12:57 +03:00
Alexey Milovidov
d543a75f65
Allow to parse operator NOT as a function #12262
2020-07-10 09:48:05 +03:00
alexey-milovidov
8d7e418617
Merge pull request #12314 from BohuTANG/mysql_select_database
...
Support MySQL 'SELECT DATABASE()'
2020-07-10 06:32:04 +03:00
Alexey Milovidov
12e00411b4
Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments #12163
2020-07-10 06:23:42 +03:00
BohuTANG
260bcb9d79
Add integration test for mysql replacement query
2020-07-09 22:20:54 +08:00
philip.han
bc85df64cb
Fix-style
2020-07-09 22:11:40 +09:00
philip.han
6c814c9f9f
Add bayesAB function for bayesian_ab_testing
2020-07-09 22:11:40 +09:00
Alexey Milovidov
e17995cb75
Tested with "trap" function
2020-07-09 05:24:59 +03:00
alexey-milovidov
0c37fe9c75
Merge pull request #12179 from azat/GROUP-BY-injective-elimination-dictGet-fixes
...
Fix dictGet arguments check during GROUP BY injective functions elimination
2020-07-09 04:29:26 +03:00
alexey-milovidov
df8cde7b54
Merge pull request #12279 from ClickHouse/fix-array-fill
...
Fix arrayFill for empty arrays.
2020-07-08 14:28:15 +03:00
alexey-milovidov
d0d1590d0d
Merge pull request #12271 from ClickHouse/fix-logical-functions-review
...
Fix minor issues in ternary logic
2020-07-08 05:33:37 +03:00
Alexey Milovidov
34e67b521a
Fix ugly ugliness
2020-07-08 04:56:50 +03:00
Alexey Milovidov
abf1e015b3
Add documentation for arrayFill
2020-07-08 04:44:24 +03:00
Alexey Milovidov
7138ccca2b
Whitespace
2020-07-08 01:44:29 +03:00
Azat Khuzhin
6a04de61b6
Allow isInjective() with empty block (is function injective with any arguments)
...
Since most of the time function will ignore it anyway, and creating
arguments just for checking is function injective or not is overkill
2020-07-08 00:28:49 +03:00
Alexey Milovidov
5ef4e90dfb
Fix minor issues after #12196
2020-07-07 23:56:40 +03:00
alexey-milovidov
0fdc29be1e
Merge pull request #12196 from ClickHouse/akz/logical-functions-normalized-uint8
...
Fixed logical functions for UInt8 values when they are not equal to 0 or 1.
2020-07-07 23:19:35 +03:00
Alexander Kazakov
2906ae37f5
Simple (and fast) inplace fix for UInt8 -> bool
2020-07-07 13:26:11 +03:00
Alexey Milovidov
2e8ba3427a
Better assert
2020-07-06 23:40:32 +03:00
alexey-milovidov
3059be55a3
Merge branch 'master' into fix-test-under-thread-fuzzer
2020-07-06 19:49:25 +03:00
Anton Popov
66bed10ec1
Merge pull request #12109 from PerformanceVision/initialize_aggregation
...
Create initializeAggregation to initialize an aggregation function
2020-07-06 15:12:30 +03:00
Alexey Milovidov
1ca45c1b7e
Fix mutations interpreter #9088
2020-07-06 09:05:48 +03:00
Alexey Milovidov
0124eeb2d8
Added function "hasThreadFuzzer"
2020-07-06 06:21:29 +03:00
Guillaume Tassery
569a89280c
update ya.make
2020-07-06 10:06:45 +07:00
flynn
5816858403
add parseDateTimeBestEffortUS function ( #12028 )
...
* add function parseDateTimeBestEffortUS
* add test
* add doc
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-07-05 21:09:20 +03:00
alexey-milovidov
c08e24d9ab
Merge pull request #12136 from vivarum/vivarum-04659-new-ISO8601-year-modificators-for-formatDateTime
...
New ISO8601 year modificators for formatDateTime() function
2020-07-05 19:10:06 +03:00
alexey-milovidov
ab15c8d6ca
Merge pull request #12021 from ClickHouse/fix-if-fixed-string
...
Fix function if with FixedString arguments of different sizes
2020-07-05 19:02:21 +03:00
alexey-milovidov
eecf7ae3ee
Merge pull request #12140 from ClickHouse/fix-division
...
Fix potential overflow in integer division
2020-07-05 19:00:41 +03:00
myrrc
8c3417fbf7
ILIKE operator ( #12125 )
...
* Integrated CachingAllocator into MarkCache
* fixed build errors
* reset func hotfix
* upd: Fixing build
* updated submodules links
* fix 2
* updating grabber allocator proto
* updating lost work
* updating CMake to use concepts
* some other changes to get it building (integration into MarkCache)
* further integration into caches
* updated Async metrics, fixed some build errors
* and some other errors revealing
* added perfect forwarding to some functions
* fix: forward template
* fix: constexpr modifier
* fix: FakePODAllocator missing member func
* updated PODArray constructor taking alloc params
* fix: PODArray overload with n restored
* fix: FakePODAlloc duplicating alloc() func
* added constexpr variable for alloc_tag_t
* split cache values by allocators, provided updates
* fix: memcpy
* fix: constexpr modifier
* fix: noexcept modifier
* fix: alloc_tag_t for PODArray constructor
* fix: PODArray copy ctor with different alloc
* fix: resize() signature
* updating to lastest working master
* syncing with 273267
* first draft version
* fix: update Searcher to case-insensitive
* added ILIKE test
* fixed style errors, updated test, split like and ilike, added notILike
* replaced inconsistent comments
* fixed show tables ilike
* updated missing test cases
* regenerated ya.make
* Update 01355_ilike.sql
Co-authored-by: myrrc <me-clickhouse@myrrec.space>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-07-05 18:57:59 +03:00
alexey-milovidov
ec563e54dc
Merge pull request #12138 from ClickHouse/codeql
...
Fix warnings from CodeQL
2020-07-05 18:22:49 +03:00
alexey-milovidov
32a5dcd483
Update arraySum.cpp
2020-07-05 06:48:49 +03:00
Alexey Milovidov
73a5c38398
Fix potential overflow in integer division #12119
2020-07-05 03:29:03 +03:00
Alexey Milovidov
d2e8c0df79
Minor modification
2020-07-05 02:39:27 +03:00
Alexey Milovidov
96e8e93c64
Fix warnings from CodeQL
2020-07-05 02:16:16 +03:00
alexey-milovidov
f8a43d5e07
Update formatDateTime.cpp
2020-07-05 01:00:30 +03:00
Alexey Milovidov
731d92657d
Remove harmful code from "geoDistance" #12117
2020-07-05 00:57:57 +03:00
Alexey Milovidov
918e979449
Merge branch 'master' into fix-if-fixed-string
2020-07-04 22:00:27 +03:00
vivarum
d387fa719e
New ISO8601 year modificators for formatDateTime
2020-07-04 21:54:42 +03:00
Guillaume Tassery
027c6b705f
Create initializeAggregation to initialize an aggregation function based on a value
2020-07-03 19:18:47 +07:00
alesapin
f87c3af097
Merge pull request #12055 from ClickHouse/fix-9766
...
Fix arrayMap with Tuple(LowCardinality) argument
2020-07-02 13:40:05 +03:00
alesapin
65dae99c12
Merge pull request #12056 from ClickHouse/fix-11808
...
Fix defaultValueOfArgumentType
2020-07-02 13:35:38 +03:00
Nikolai Kochetov
e8ee5176cd
Fix defaultValueOfArgumentType
2020-06-30 14:29:50 +03:00
Nikolai Kochetov
820d2c63df
Try fix labda tuple(LC) argument.
2020-06-30 13:51:17 +03:00
Nikolai Kochetov
be51741566
Try fix labda tuple(LC) argument.
2020-06-30 13:19:06 +03:00
Alexey Milovidov
1194863b3d
Fix error
2020-06-30 01:50:26 +03:00
Alexey Milovidov
0bf7a8c554
Add multiIf
2020-06-30 01:50:26 +03:00
Alexey Milovidov
6fa1204698
Fix function if with FixedString arguments of different sizes
2020-06-30 01:50:26 +03:00
alexey-milovidov
c1d2d2d7f7
Merge pull request #12039 from ClickHouse/fix-nullable-tuple-compare
...
Fix nullable tuple compare
2020-06-30 01:38:46 +03:00
Nikolai Kochetov
c97d071b4b
Fix test.
2020-06-29 19:28:14 +03:00
Nikolai Kochetov
6bf9d670be
Fix test.
2020-06-29 18:22:21 +03:00