Konstantin Rudenskii
14687eccf7
Fix dollar token for lexer
2021-06-05 01:15:47 +03:00
mergify[bot]
d68d5e0ef1
Merge branch 'master' into rename-const-context-ptr
2021-06-04 14:41:41 +00:00
Konstantin Rudenskii
bef8b4c2c6
Add 'inline' to DummyParser's << operator; don't throw exceptioin on
...
USE_RAPIDJSON
2021-06-04 01:50:01 +03:00
Konstantin Rudenskii
04daa9b5ed
Second try to fix build
2021-06-04 00:17:51 +03:00
Konstantin Rudenskii
b00c3d8f5a
Fix build (probably)
2021-06-03 21:50:16 +03:00
Kruglov Pavel
8acf031c1b
Merge pull request #24398 from Avogar/fix-deltasum
...
Fix logical error AggregateFunctionFactory returned nullptr
2021-06-03 19:40:06 +03:00
l1tsolaiki
b1177ef680
Merge pull request #2 from ClickHouse/master
...
Pull current master
2021-06-02 10:03:49 +03:00
Nikolai Kochetov
dbaa6ffc62
Rename ContextConstPtr to ContextPtr.
2021-06-01 15:20:52 +03:00
tavplubix
e9ff0b6d70
Merge pull request #23657 from kssenii/poco-file-to-std-fs
...
Poco::File to std::filesystem
2021-05-31 23:17:02 +03:00
Kruglov Pavel
51bca62ff3
Fix typo
2021-05-31 18:01:55 +03:00
Konstantin Rudenskii
819ad748a4
Fix IFunction
2021-05-29 16:53:55 +03:00
Konstantin Rudenskii
2035c0cd6a
Change to IFunction
2021-05-29 16:15:58 +03:00
Konstantin Rudenskii
b9b28c3b7f
Fix include
2021-05-29 15:34:39 +03:00
Konstantin Rudenskii
8199b45e95
Fix style
...
Fifth try v2.0
Fifth try v2.1
Fifth try v2.2
Fifth try v2.3
Fifth try v2.4
Fifth try v2.5
Fifth try v2.6
Fifth try v2.7
Fifth try v2.8
Fifth try v2.9
Fifth try v2.10
Fifth try v2.11
Fifth try v2.12
Fifth try v2.13
Fifth try v2.14
Fifth try v2.15
Fifth try v2.16
Fifth try v2.17
Fifth try v2.18
Fifth try v2.19
Fifth try v2.20
Fifth try v2.21
Fifth try v2.22
Fifth try v2.23
Fifth try v2.24
Fifth try v2.25
Fifth try v2.26
Fifth try v2.27
Fifth try v2.28
Add ranges
Add ranges try v1.1
Add ranges try v1.2
Add ranges try v1.3
Add ranges try v1.4
Add ranges try v1.5
Add ranges try v1.6
Add ranges try v1.7
Add ranges try v1.8
Add ranges try v1.9
Add ranges try v1.10
Add ranges try v1.11
Add ranges try v1.12
Add ranges try v1.13
Add ranges try v1.14
Add ranges try v1.15
Add ranges try v1.16
Add ranges try v1.17
Add ranges try v1.18
Add ranges try v1.19
Add ranges try v1.20
Add ranges try v1.21
Add ranges try v1.22
Add ranges try v1.23
Add ranges try v1.24
Add ranges try v1.25
Add ranges try v1.26
Add ranges try v1.27
Add ranges try v1.28
Add ranges try v1.29
Add ranges try v1.30
Add ranges try v1.31
Add ranges try v1.32
Add ranges try v1.33
Add ranges try v1.34
Add ranges try v1.35
Add ranges try v1.36
Add ranges try v1.37
Add ranges try v1.38
Add ranges try v1.39
Add ranges try v1.40
Add ranges try v1.41
Add ranges try v1.42
Add ranges try v1.43
Add ranges try v1.44
Add ranges try v1.45
Add ranges try v1.46
Add ranges try v1.47
Leftover comment
Try wildcard
Try wildcard v1.1
Try wildcard v1.2
Try wildcard v1.3
New functions
New functions 1.1
New functions 1.2
New functions 1.3
New functions 1.4
New functions 1.5
New functions 1.6
New functions 1.7
New functions 1.8
New functions 1.9
New functions 1.10
New functions 1.11
New functions 1.12
New functions 1.13
New functions 1.14
New functions 1.15
New functions 1.16
Final steps
Final steps v1.1
Final steps v1.2
2021-05-29 15:30:53 +03:00
kssenii
db9f4762eb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-29 01:15:43 +03:00
Alexander Kuzmenkov
3f57fc085b
remove mutable context references from functions interface
...
Also remove it from some visitors.
2021-05-28 19:45:37 +03:00
Pavel Kruglov
d396f802c6
Fix typo
2021-05-28 15:39:36 +03:00
Pavel Kruglov
42d57138f2
replace all isDateOrDateTime invocations to explicit calls to isDate and isDateTime and isDateTime64
2021-05-28 15:34:49 +03:00
alexey-milovidov
27cf84fcc7
Merge pull request #24587 from nikitamikhaylov/reopen-enable-tests-and-examples
...
Enable tests, utils and examples in builds with clang-tidy
2021-05-28 09:36:18 +03:00
Nikita Mikhaylov
c127c433c2
better
2021-05-27 23:43:00 +03:00
kssenii
a0d8d689d3
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-27 15:44:12 +03:00
Anton Popov
8a71af5797
Merge pull request #24471 from CurtizJ/fix-cast-operator
...
Fix several cases in cast operator
2021-05-27 14:31:51 +03:00
kssenii
b28157a0df
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-27 00:01:25 +03:00
kssenii
73f16ee9ee
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-26 23:08:08 +03:00
Anton Popov
e1c86d3747
Merge pull request #24446 from amosbird/fixdate
...
Fix toWeek monotonicity
2021-05-26 15:32:03 +03:00
mergify[bot]
d6ada7df5c
Merge branch 'master' into fixdate
2021-05-26 02:38:10 +00:00
mergify[bot]
67e7030eae
Merge branch 'master' into modulo-partition-key
2021-05-25 15:39:17 +00:00
Anton Popov
453a1963d3
fix style
2021-05-25 16:40:55 +03:00
Anton Popov
ed180daf33
fix style
2021-05-25 16:40:03 +03:00
Anton Popov
35e2cc7b2b
fix several cases in cast operator
2021-05-25 02:50:28 +03:00
kssenii
c3fc2ff04b
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into modulo-partition-key
2021-05-24 22:08:49 +00:00
Maksim Kita
ef2696bae5
Fixed IFunction then typos
2021-05-24 23:27:32 +03:00
Amos Bird
6ba29af871
Fix toWeek monotonicity
2021-05-24 23:52:02 +08:00
Maksim Kita
7af4d5b86d
Fixed tests
2021-05-24 14:25:02 +03:00
Maksim Kita
af233007f6
Fixed code review issues
2021-05-24 12:30:28 +03:00
Maksim Kita
1a725d916b
Upated LogicalFunctions
2021-05-24 10:16:12 +03:00
Maksim Kita
72fbb2dd54
Fixed tests
2021-05-24 10:16:12 +03:00
Maksim Kita
ed443c8941
Function constant result with nonconstant arguments
2021-05-24 10:16:12 +03:00
kssenii
b72f6ea78e
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into modulo-partition-key
2021-05-22 16:15:15 +00:00
mergify[bot]
96e22c1926
Merge branch 'master' into issue-23351
2021-05-21 10:31:40 +00:00
kssenii
3dee003f9b
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-20 19:20:09 +03:00
Maksim Kita
af78649e56
Merge pull request #24023 from kitaisreal/compile-expressions-comparison-function-constant-case-with-alias-fix
...
CompileExpressions comparison function constant case fix
2021-05-20 10:58:38 +03:00
mergify[bot]
29b3ed4551
Merge branch 'master' into modulo-partition-key
2021-05-20 05:45:11 +00:00
Maksim Kita
f3164a6bc0
IFunction updated Exception throw
2021-05-19 17:58:23 +03:00
Maksim Kita
5a359a15bc
Fixed Arcadia after IFunctionOverloadResolver interface refactoring
2021-05-19 15:57:37 +03:00
vdimir
4fcc901be9
Merge branch 'master' into issue-23351
2021-05-19 15:33:47 +03:00
mergify[bot]
8ba2480724
Merge branch 'master' into modulo-partition-key
2021-05-18 15:32:51 +00:00
Anton Popov
662888aee0
Merge pull request #24183 from hexiaoting/dev_nested_bugfix
...
Fix bug for update nested columns with const condition
2021-05-18 18:26:02 +03:00
Kseniia Sumarokova
0ab15d0bc4
Merge branch 'master' into modulo-partition-key
2021-05-18 17:45:32 +03:00
hexiaoting
4eeaa02975
fix
2021-05-18 10:00:09 +08:00
Maksim Kita
0870970e30
Merge pull request #24178 from kitaisreal/function-move-file
...
Function move file
2021-05-17 22:02:43 +03:00
kssenii
9b8df78fdd
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-17 17:42:05 +03:00
Nikolai Kochetov
2e3e56f353
Update IFunction.cpp
2021-05-17 17:27:06 +03:00
hexiaoting
c5c7b2db97
Fix bug for update nested columns with const condition
2021-05-17 16:34:50 +08:00
Maksim Kita
0adc5883c0
Fixed style check
2021-05-17 11:13:15 +03:00
Maksim Kita
84fc1e0c3d
Fixed style check
2021-05-17 10:32:29 +03:00
Maksim Kita
d923d9e6ef
Function move file
2021-05-17 10:30:42 +03:00
vdimir
d266050b23
Merge branch 'master' into issue-23351
2021-05-17 09:42:59 +03:00
Maksim Kita
fa24fe82e1
Fixed FunctionConversion tests
2021-05-16 18:17:05 +03:00
kssenii
c7f51fe60e
Modulo adjustment for partition key
2021-05-15 19:51:02 +00:00
kssenii
d303975a1c
ModuloLegacy function
2021-05-15 18:45:19 +00:00
Maksim Kita
947f28d430
IFunction refactoring
2021-05-15 20:33:15 +03:00
vdimir
9091bba3d6
Restore correct cardinality in HashJoin
2021-05-15 14:39:13 +03:00
d.v.semenov
2d6d05386a
Just Works
...
Just works (remastered)
First steps
First steps fixed
First steps first fails
Research first steps
Tokenizer created
Sprint to the moon
Rename
Rename 2.0
Rename 3.0
Work in progress
Update
Oops
Oops x2
Try this
Now surely works
Maybe now?
Now?
Cmake first try
Restore to previous
Cmake second try
Make this work
Correct mistakes
Third try cmake
Exclude simd
Better
Try
Add std::cerr
More std::cerr
More and more std::cerr
Maybe fix?
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
AA
AB
AC
AD
AE
AF
AAA
AAB
AAC
AAD
AAF
AAE
AAF
AAG
AAH
AAI
AAJ
AAK
AAAA
AAAB
AAAC
AAAD
AAAE
AAAF
AAAG
AAAH
AAAAA
AAAAB
First try v2
First try v2.1
First try v2.2
First try v2.3
First try v2.4
First try v2.5
First try v2.6
First try v2.7
First try v2.8
First try v2.9
First try v2.10
First try v2.11
First try v2.12
First try v2.13
First try v2.14
First try v2.15
First try v2.16
First try v2.16
First try v2.17
First try v2.18
First try v2.19
First try v2.20
First try v2.21
First try v2.22
First try v2.23
First try v2.24
First try v2.25
First try v2.26
First try v2.27
First try v2.28
First try v2.29
First try v2.30
First try v2.31
First try v2.32
First try v2.33
First try v2.34
First try v2.35
First try v2.36
First try v2.37
Second try v2.00
Second try v2.01
Second try v2.02
Second try v2.03
Second try v2.04
Second try v2.05
Second try v2.06
Second try v2.07
Second try v2.08
Second try v2.09
Second try v2.10
Second try v2.11
Second try v2.12
Second try v2.13
Second try v2.14
Second try v2.15
Second try v2.16
Second try v2.17
Cleanup
Link SQLJSON only in simdjson build
Fix?
Fix?1.1
Fix
Revert "Fix"
This reverts commit 9df7aa977c880ec130062bceece7e215190b4837.
Revert "Fix?1.1"
This reverts commit 37429ecc9003fd73c106344186e39ff6603dde6c.
Revert "Fix?"
This reverts commit c1236fb8f4b5a799a5564aecf81136301f226e33.
Revert "Link SQLJSON only in simdjson build"
This reverts commit 8795cd8b143f3cfd312ddbf1b98e10d0d6fcaf51.
Revert "Cleanup"
This reverts commit e100dbc545f54421276be2e5d44f99f52fe1d87c.
Third try v2.0
Third try v2.1
Third try v2.2
Third try v2.3
Third try v2.4
Third try v2.5
Third try v2.6
Third try v2.7
Third try v2.8
Third try v2.9
Third try v2.10
Third try v2.11
Third try v2.12
Third try v2.13
Third try v2.14
Third try v2.15
Pre-intermediate touches v1.0
Pre-intermediate touches v1.1
Pre-intermediate touches v1.2
Pre-intermediate touches v1.3
Last changes
2021-05-15 12:34:44 +03:00
Maksim Kita
0b4b5eb808
FunctionComparison remove constant result for non constant arguments optimization
2021-05-15 00:03:26 +03:00
Ilya Yatsishin
e345b8b868
Merge pull request #24077 from abel-cheng/feature/splitByRegexp
...
add function splitByRegexp
2021-05-14 10:43:08 +03:00
Ilya Yatsishin
19fb0d2033
Merge pull request #24091 from Enmk/now64_timezone_fix
...
Fixed now64(): added second optional argument for timezone.
2021-05-14 10:36:40 +03:00
kssenii
f33a517d33
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-14 02:58:26 +03:00
Vasily Nemkov
22e304f88c
Fixed clang-tidy style check
2021-05-13 20:15:24 +03:00
Vasily Nemkov
3119660406
Fixed now64(): added second optional argument for timezone.
2021-05-13 16:51:32 +03:00
Vladimir
454b77c654
Update SplitByRegexpImpl
2021-05-13 13:27:29 +03:00
abel-wang
51c1d7c7ba
split into characters when split by '' & add docs
2021-05-13 11:15:38 +08:00
abel-wang
99b9fe6c33
add function splitByRegexp
2021-05-13 10:37:09 +08:00
Amos Bird
d22ab2028f
Run check_*_compiler_flag earlier
2021-05-12 12:14:25 +08:00
kssenii
393b026f2e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-11 16:49:23 +03:00
万康
7ef770e9c6
fix style check
2021-05-11 16:55:23 +08:00
Alexey Milovidov
b2ca5cd98b
Merge branch 'master' into normalize-bigint
2021-05-11 02:05:40 +03:00
alexey-milovidov
066acc71b6
Merge pull request #8482 from ClickHouse/enable-compile-expressions
...
Enable "compile_expressions" by default
2021-05-10 21:09:18 +03:00
Maksim Kita
3d005537cf
Function dictGetOrNull handle empty rows execute
2021-05-10 11:08:26 +03:00
Alexey Milovidov
18b7e38994
Remove redundant template
2021-05-10 00:26:34 +03:00
alexey-milovidov
1ea637d996
Merge pull request #23970 from ClickHouse/pvs-studio-fixes-6
...
PVS-Studio fixes, part 6
2021-05-09 21:45:19 +03:00
Alexey Milovidov
ce4bf58029
Merge with master
2021-05-09 19:01:38 +03:00
Alexey Milovidov
9753ddc8a0
Merge branch 'master' of github.com:yandex/ClickHouse into normalize-bigint
2021-05-09 18:54:29 +03:00
Alexey Milovidov
367f7fe6c9
Fix warnings by PVS-Studio
2021-05-08 23:57:08 +03:00
Alexey Milovidov
037d06bb2a
Fix warnings by PVS-Studio
2021-05-08 23:50:12 +03:00
Alexey Milovidov
49c0e18e45
Fix build
2021-05-08 21:46:41 +03:00
Alexey Milovidov
c9fb8ca026
Fix deprecated header
2021-05-08 21:19:45 +03:00
Maksim Kita
2a630b68a4
Fixed FunctionComparison with special edge case
2021-05-08 21:04:21 +03:00
Alexey Milovidov
ad88819ee4
Fix a bunch of warnings from PVS-Studio
2021-05-08 19:13:10 +03:00
Alexey Milovidov
e905883c75
More fixes for PVS-Studio
2021-05-08 19:12:31 +03:00
Alexey Milovidov
022667a190
Fix some PVS-Studio warnings
2021-05-08 19:12:19 +03:00
Alexey Milovidov
8d62c42eb9
A bunch of changes for PVS-Studio
2021-05-08 19:11:50 +03:00
Alexey Milovidov
7ca0f46708
Add suppressions for PVS-Studio
2021-05-08 19:10:56 +03:00
Alexey Milovidov
604daa9581
Fix a bunch of warnings from PVS-Studio
2021-05-08 19:09:17 +03:00
Maksim Kita
9b405b4c07
Fixed FunctionComparison for constants
2021-05-08 18:47:08 +03:00
Alexey Milovidov
2fbecf36ca
More fixes for PVS-Studio
2021-05-08 18:20:40 +03:00
Alexey Milovidov
3e8deef6fe
Fix some PVS-Studio warnings
2021-05-08 17:54:08 +03:00
Alexey Milovidov
9e1a5f41fc
A bunch of changes for PVS-Studio
2021-05-08 17:43:03 +03:00
Maksim Kita
1bb4988b1f
Fixed FunctionsComparison constant result with non constant arguments
2021-05-08 17:39:35 +03:00
Maksim Kita
050cb74ed0
Fix compiled if statement
2021-05-08 17:39:35 +03:00
Maksim Kita
7778172a1f
Fixed compilable function
2021-05-08 17:39:35 +03:00
Maksim Kita
c79d7eae21
Refactored interfaces
2021-05-08 17:39:35 +03:00
Maksim Kita
24798ef07c
Updated interfaces
2021-05-08 17:39:34 +03:00
Maksim Kita
d2eecfe593
Updated Nullable default implementation
2021-05-08 17:39:34 +03:00
Maksim Kita
6b70cbd53c
Added jit example
2021-05-08 17:39:34 +03:00
Alexey Milovidov
e9c7aa5ab5
Remove some code
2021-05-08 17:12:26 +03:00
Alexey Milovidov
de1bc6d9f1
Add suppressions for PVS-Studio
2021-05-08 17:09:40 +03:00
Maksim Kita
108c2022d9
Function arrayDifference decimal math overflow
2021-05-08 17:01:30 +03:00
kssenii
c3eab60b8b
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-08 02:40:17 +03:00
Alexey Milovidov
bebdabc0ca
Support Map with UUID keys
2021-05-07 20:42:16 +03:00
Alexey Milovidov
9c0dacd063
Fix error
2021-05-07 04:45:29 +03:00
Alexey Milovidov
a1855f3d5b
Fix style
2021-05-07 04:43:02 +03:00
Alexey Milovidov
7d93734f54
gcd and lcm for big integers
2021-05-07 03:00:26 +03:00
Alexey Milovidov
fee0314057
Fix error
2021-05-07 02:17:39 +03:00
Alexey Milovidov
29f1a87016
Simplification
2021-05-06 19:16:31 +03:00
Alexey Milovidov
b461542388
If for UUID
2021-05-06 18:45:58 +03:00
Alexey Milovidov
9d4265d727
Fix mapAdd, mapSubstract; add support for big integers
2021-05-06 03:14:52 +03:00
Alexey Milovidov
35e72067b5
Fix hashes of UUID
2021-05-06 01:20:49 +03:00
kssenii
2dabdd0f73
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-05 18:42:40 +03:00
Alexey Milovidov
199f928402
Shave off some lines of code
2021-05-05 15:01:19 +03:00
Alexey Milovidov
79beaae056
Shave off some lines of code
2021-05-05 15:01:01 +03:00
Alexey Milovidov
6473e956bb
Implement TODO
2021-05-05 14:58:17 +03:00
Alexey Milovidov
a9a885bc43
Fix generateUUIDv4
2021-05-04 20:47:35 +03:00
Alexey Milovidov
962a7113f6
Remove code that I do not like (crazy templates)
2021-05-04 20:26:09 +03:00
万康
fa96613aeb
update the way to get bitposition
2021-05-04 23:46:00 +08:00
Alexey Milovidov
1b01284acb
Implement TODO
2021-05-04 18:41:58 +03:00
Alexey Milovidov
eea47a65d2
PVS-Studio
2021-05-04 15:13:47 +03:00
Alexey Milovidov
84fe2bfdf3
Return hashes of UUID
2021-05-04 14:53:29 +03:00
Alexey Milovidov
02ce9cc725
Untangle UUID
2021-05-04 01:46:51 +03:00
Alexey Milovidov
0677787d90
Fix abysmally low performance
2021-05-03 22:56:40 +03:00
Alexey Milovidov
b0bd9fd3b0
Add UInt128 where it is needed
2021-05-03 19:12:28 +03:00
Alexey Milovidov
8ecd9d36e6
Add UInt128 conversion functions
2021-05-03 18:41:37 +03:00
Alexey Milovidov
39bcf9d860
Fix style
2021-05-03 01:44:34 +03:00
Alexey Milovidov
9f74565948
PVS-Studio
2021-05-03 01:42:01 +03:00
Alexey Milovidov
f4100cf70c
Remove harmful std::regex
2021-05-02 22:04:26 +03:00
Alexey Milovidov
30ef8ade6c
Merge with master
2021-05-02 21:43:45 +03:00
Alexey Milovidov
1fda866881
Merge branch 'master' into normalize-bigint
2021-05-02 21:24:45 +03:00
万康
4bb63e1464
add function bitpositionToArray
2021-05-02 01:00:22 +08:00
kssenii
ee06936596
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-01 17:24:31 +03:00
Maksim Kita
fa1e9de7f7
Merge pull request #23782 from ClickHouse/merging-array-product-function
...
Merging array product function
2021-05-01 00:53:57 +03:00
alexey-milovidov
eeae539a9f
Merge pull request #23799 from kitaisreal/function-default-implementation-for-nulls-small-optimization
...
Function default implementation for nulls small optimization
2021-04-30 21:50:24 +03:00
Maksim Kita
bcfcfe7fe9
Fixed style check
2021-04-30 17:16:51 +03:00
Maksim Kita
404b2d8fe8
Return constant branch
2021-04-30 17:14:01 +03:00
Maksim Kita
7467c5e3cf
Function default implementation for nulls small optimization
2021-04-30 13:56:56 +03:00
Maksim Kita
44b966af5a
Removed const path for arrayAggregation
2021-04-30 12:33:34 +03:00
Maksim Kita
318c4bb80d
Add examples folder filter to ya.make.in
2021-04-30 11:25:52 +03:00
Maksim Kita
aa71b4a6df
Merge pull request #22242 from hexiaoting/dev_arrayproduct
...
Introduce arrayProduct function
2021-04-30 09:55:21 +03:00
kssenii
984d82c3f2
Update DiskLocal
2021-04-29 02:00:04 +03:00
kssenii
3386dc32d3
Change in Functions/*
2021-04-29 00:38:58 +03:00
dankondr
675d3e6c88
Fix code style
2021-04-28 20:09:46 +03:00
alexey-milovidov
fdc5a44202
Merge pull request #23644 from nikitamikhaylov/delete-unit-tests
...
Move non gtest unit tests to /examples folder
2021-04-28 07:28:18 +03:00
dankondr
780f58abc4
Fix code style
2021-04-27 19:54:05 +03:00
dankondr
1365a2c82e
Fix include
2021-04-27 17:26:11 +03:00
Nikita Mikhaylov
9f55424250
move to examples everywhere
2021-04-27 01:51:42 +03:00
Alexey
283442e249
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into alexey-sm-DOCSUP-6702-document-timezoneOffset
2021-04-26 19:43:12 +00:00
Alexey
beca754aff
Alias timeZoneOffset added to source code
2021-04-26 19:17:23 +00:00
Alexey Milovidov
f9d0b2fa6a
Merge branch 'master' into normalize-bigint
2021-04-26 00:54:10 +03:00
Alexey Milovidov
649550c5ab
Attempt to normalize big integers
2021-04-25 12:30:43 +03:00
Alexey Milovidov
8f01af62d9
Merge branch 'master' into normalize-bigint
2021-04-25 06:57:44 +03:00
Alexey Milovidov
263378bb20
Fix error in LIKE (found by SQLancer)
2021-04-25 03:58:44 +03:00
Alexey Milovidov
4ff812db7f
Maybe better support for paths with whitespaces
2021-04-24 22:47:52 +03:00
Maksim Kita
ddcffcb723
Fixed tests
2021-04-22 00:19:01 +03:00
Maksim Kita
631d870ae3
Cast to array from empty array
2021-04-21 20:29:49 +03:00
Nikita Mikhaylov
d4e8f9676b
Merge pull request #21304 from amosbird/indexhint
...
Resurrect indexHint function.
2021-04-21 16:14:43 +03:00
Alexey Milovidov
416efbacbb
Keep default timezone on DateTime operations if it was not provided explicitly #4854
2021-04-21 00:08:06 +03:00
Anton Popov
3d390b095a
regenerate ya.make
2021-04-20 18:58:53 +03:00
Anton Popov
8f57141fad
Merge pull request #23195 from CurtizJ/nested-update
...
Merging #22503
2021-04-20 14:57:47 +03:00
Amos Bird
32c84f77c3
Resurrect indexHint function.
2021-04-20 19:27:23 +08:00
Anton Popov
0a0c510aa2
minor fixes
2021-04-20 05:51:07 +03:00
hexiaoting
5dd8018c12
Merge remote-tracking branch 'origin/master' into dev-map-bug
2021-04-19 10:26:20 +08:00
Azat Khuzhin
2561a67fd8
Replace !__clang__ with !defined(__clang) to fix gcc builds
...
$ gg 'if !__clang__' | cut -d: -f1 | sort -u | xargs sed -i 's/#if !__clang__/#if !defined(__clang__)/g'
2021-04-18 23:37:50 +03:00
alexey-milovidov
83038f84af
Revert "Function arrayFold
for folding over array with accumulator"
2021-04-18 03:34:05 +03:00
Alexey Milovidov
8ac953f459
Make function unhex
case insensitive for compatibility
2021-04-17 19:31:35 +03:00
Alexey Milovidov
36fe378a17
Fix fairly terrible bug in LowCardinality #16171
2021-04-17 02:11:21 +03:00
dankondr
7e741338f2
Fix typo
2021-04-16 21:24:38 +03:00
dankondr
be97fd358e
Fix problem with 3rd argument being const
2021-04-16 20:55:46 +03:00
dankondr
4c37eba92b
Improve code readability
2021-04-16 20:46:46 +03:00
dankondr
58ed68c28e
Fix writeNumber2
2021-04-16 20:44:56 +03:00
dankondr
a041cc9db0
Fix problem with offsets
2021-04-16 20:32:37 +03:00
dankondr
bce42dc973
Rewrite exception throws to fmt
2021-04-16 20:10:48 +03:00
dankondr
71137fd19b
Override getArgumentsThatAreAlwaysConstant
2021-04-16 19:56:39 +03:00
Anton Popov
b14798af2a
Merge branch 'dev_nested_upadte' of git://github.com/hexiaoting/ClickHouse into nested-update
2021-04-16 14:41:19 +03:00
Alexander Kuzmenkov
74b4c56ba4
Merge pull request #21589 from dmalkr/dmalkr/arrayFold
...
Function `arrayFold` for folding over array with accumulator
2021-04-16 14:23:53 +03:00
Alexander Kuzmenkov
440efb6fb6
Update arrayFold.cpp
2021-04-16 14:22:23 +03:00
alexey-milovidov
081bb6e275
Merge pull request #23000 from ClickHouse/speedup-intdiv
...
Dynamic dispatch for `intDiv`
2021-04-16 00:05:43 +03:00
dankondr
af48735e86
Fix argument check
2021-04-15 20:34:21 +03:00
dankondr
e6716779b2
Fix BAD_ARGUMENTS error code
2021-04-15 20:08:55 +03:00
Alexey Milovidov
bd49e696c4
Minor change
2021-04-15 16:59:00 +03:00
Dmitry Krylov
bf51f94f37
Fix constness
2021-04-15 21:46:15 +10:00
Alexey Milovidov
d19b2cb948
Fix build
2021-04-15 14:41:55 +03:00
Dmitry Krylov
75036debf4
Check type match of lambda and accumulator
2021-04-15 19:25:30 +10:00
Alexey Milovidov
2ae8839e3d
Style
2021-04-15 01:28:40 +03:00
Alexey Milovidov
7f7e04117d
Arcadia, ARM, PowerPC
2021-04-15 01:27:53 +03:00
Alexey Milovidov
f6f0d001cd
Merge branch 'master' into speedup-intdiv
2021-04-15 01:27:15 +03:00
dankondr
0288cc5a1b
Add dateName function
2021-04-14 23:29:17 +03:00
alexey-milovidov
496c2e45d0
Merge pull request #23036 from Enmk/fix_extractAllGroupsHorizontal_max_matches
...
Fixed erroneus failure of extractAllGroupsHorizontal on large columns
2021-04-14 15:57:19 +03:00
alexey-milovidov
d3f8a9c23a
Merge pull request #23044 from ClickHouse/array-has-any-all-generic
...
Fix unfinished code in GatherUtils #20272
2021-04-14 13:57:30 +03:00
alexey-milovidov
6a2a9cecdd
Update extractAllGroups.h
2021-04-14 01:24:46 +03:00
Vasily Nemkov
77bdb5b391
Fixed erroneus failure of extractAllGroupsHorizontal on large columns
2021-04-14 00:17:06 +03:00
Nikita Mikhaylov
cef9e19eb2
better
2021-04-13 22:39:41 +03:00
Nikita Mikhaylov
2549468c14
better
2021-04-13 22:39:41 +03:00
Alexey Milovidov
df44476307
Fix error
2021-04-13 22:32:02 +03:00
Alexey Milovidov
03662165f3
Comment
2021-04-13 22:03:52 +03:00
Alexey Milovidov
8bd5578c92
Less amount of template instantiations
2021-04-13 22:02:07 +03:00
Alexey Milovidov
42412f9a08
extern template
2021-04-13 21:59:55 +03:00
Alexey Milovidov
fb98915435
More safe CPU dispatching
2021-04-13 21:54:46 +03:00
Alexey Milovidov
b00c66cb36
More safe CPU dispatching
2021-04-13 21:53:55 +03:00
Alexey Milovidov
cdbc9d9fa0
Merge branch 'master' into speedup-intdiv
2021-04-13 20:43:54 +03:00
Alexey Milovidov
c01756014e
More generic implementation of has
2021-04-13 20:08:49 +03:00
Alexey Milovidov
83a78a5aa7
Fix unfinished code in GatherUtils #20272
2021-04-13 16:56:39 +03:00
hexiaoting
4f36ac7f64
Fix error
2021-04-13 17:31:49 +08:00
hexiaoting
52bdec396b
Merge remote-tracking branch 'origin/master' into dev_nested_upadte
2021-04-13 09:56:47 +08:00
hexiaoting
9e921023b8
Fix error
2021-04-13 09:53:39 +08:00
alexey-milovidov
ee9aaab4bc
Merge pull request #22937 from Enmk/formatDateTime_toDateTime64_fixes
...
Fixes: formatDateTime and toDateTime64
2021-04-13 01:40:25 +03:00
Alexey Milovidov
d5580a8e71
Dynamic dispatch for intDiv
2021-04-12 23:02:42 +03:00
Alexey Milovidov
ff0d3860d4
Fix typos + minor improvement #22314
2021-04-12 23:02:16 +03:00
Dmitry Krylov
df60724847
Fix constness
2021-04-12 20:29:58 +10:00
Dmitry Krylov
a3d57bd5af
Check number of arguments
2021-04-12 20:29:35 +10:00
Dmitry Krylov
68bd27f3c5
Fix code style
2021-04-12 12:12:40 +10:00
Dmitry Krylov
35472bcc2f
Update to new IFunction::create()
2021-04-12 11:37:44 +10:00
Dmitry Krylov
582f6d3a72
Remove unneeded branches of code
2021-04-12 10:23:31 +10:00
Dmitry Krylov
c2f326e2ae
Remove unneeded branches of code
2021-04-12 10:23:31 +10:00
Dmitry Krylov
ce1b9b20d5
Remove unneeded branches of code
2021-04-12 10:23:31 +10:00
Dmitry Krylov
15ea9b3f22
Move arrayFold
functionality to arrayFold.cpp
2021-04-12 10:23:31 +10:00
Dmitry Krylov
517ef8ebf4
Bug with string functions in arrayFold
fixed
2021-04-12 10:23:31 +10:00
Dmitry Krylov
e3502dabc7
Remove debug messages
2021-04-12 10:23:31 +10:00
Dmitry Krylov
1861817bfc
Remove debug messages
2021-04-12 10:23:31 +10:00
Dmitry Krylov
9446df026b
Cleaning code
2021-04-12 10:23:31 +10:00
Dmitry Krylov
b19a06ba48
Fix to work with empty arrays
2021-04-12 10:23:31 +10:00
Dmitry Krylov
fbd43aeea8
Draft: taking into accout input arrays variable length
2021-04-12 10:23:31 +10:00
Dmitry Krylov
2e8a296cc9
Draft: very simple variant
2021-04-12 10:23:31 +10:00
Dmitry Krylov
7c47832405
Experiment: attempt to shrink arrays
2021-04-12 10:23:31 +10:00
Maksim Kita
b571656fd7
Merge pull request #22931 from Enmk/dateDiff_DateTime64_fix
...
Fixed dateDiff for DateTime64
2021-04-11 21:36:24 +03:00
Vasily Nemkov
ffd808f877
Removed redundant access specifier
2021-04-11 17:38:11 +03:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr ( #22297 )
...
* Replace all Context references with std::weak_ptr
* Fix shared context captured by value
* Fix build
* Fix Context with named sessions
* Fix copy context
* Fix gcc build
* Merge with master and fix build
* Fix gcc-9 build
2021-04-11 02:33:54 +03:00
Anton Popov
329c9033a8
fix conversion from const map with nulls
2021-04-09 20:50:10 +03:00
Vasily Nemkov
4dcc1b2d2e
Fixed formatDateTime for DateTime64 arguments
2021-04-09 19:39:54 +03:00
Vasily Nemkov
4a784bd2e3
Fixed dateDiff for DateTime64
...
Added tests that verify fix
- against DateTime64 vals of equal scale
- DateTime64 vs DateTime
- DateTime vs DateTime64
- DateTime64 vs Date
- Date vs DateTime64
2021-04-09 15:29:16 +03:00
alexey-milovidov
b8e239c211
Merge pull request #22821 from kitaisreal/functions-external-dictionaries-standardize-exception-throw
...
Functions ExternalDictionaries standardize exception throw
2021-04-08 10:41:41 +03:00
Maksim Kita
caff65f1c2
Functions ExternalDictionaries standardize exception throw
2021-04-07 20:52:12 +03:00
hexiaoting
ee24d9a5cc
Merge remote-tracking branch 'origin/master' into dev_nested_upadte
2021-04-07 10:42:51 +08:00
hexiaoting
8c60f95551
Fix error
2021-04-07 10:39:01 +08:00
hexiaoting
7e0b43be28
Support decimal type overflow check
2021-04-07 10:34:00 +08:00
Azat Khuzhin
f157278b72
Safer SCOPE_EXIT
...
It executes the code in the dtor, that should never throw.
2021-04-06 21:10:37 +03:00
hexiaoting
38bd455be9
Rewrite arrayProduct implementation
2021-04-06 17:41:54 +08:00
Alexey Milovidov
54caa61af5
Fix comments
2021-04-04 12:33:06 +03:00
Alexey Milovidov
a0f2b85cd3
Make round function to behave consistently on non-x86_64
2021-04-04 05:21:56 +03:00
hexiaoting
6e8583a028
Add array size check for Nested Type subcolumns when Update
2021-04-02 19:31:33 +08:00
Maksim Kita
3b799c5d7d
Merge pull request #22413 from kitaisreal/added-function-dict-get-or-null
...
Added function dictGetOrNull
2021-04-02 11:39:01 +03:00
Maksim Kita
d06fb1197a
Merge pull request #22096 from kitaisreal/hierarchy-dictionaries-updated
...
Refactored hierarchy dictionaries interface
2021-04-02 11:38:01 +03:00