Alexey Milovidov
31dbb68185
Fix array signed const positive subscript operator
2022-08-13 08:04:24 +02:00
Li Yin
4088c0a7f3
Automated function registration
...
Automated register all functions with below naming convention by
iterating through the symbols:
void DB::registerXXX(DB::FunctionFactory &)
2022-07-29 15:39:50 +08:00
Alexander Gololobov
dbcb7e5f1e
Fix for empty function name on FreeBSD build
2022-07-25 13:11:36 +02:00
Anton Popov
81da0bb9f5
keep LowCardinality type in array() and map() functions
2022-07-12 13:31:00 +00:00
Nikolai Kochetov
020c99a269
Merge pull request #38617 from azat/contrib-debug-symbols
...
Add separate option to omit symbols from heavy contrib
2022-07-06 14:40:24 +02:00
Alexander Gololobov
8ce8158f7f
Do computations in Float32 (not Float64) for arrays of Float32
2022-07-03 10:33:11 +02:00
Alexander Gololobov
c6691cc5f2
Improved vectorized execution of main loop for array norm/distance
2022-07-02 22:45:22 +02:00
Azat Khuzhin
e8f5cd3c68
Add separate option to omit symbols from heavy contrib
...
Sometimes it is useful to build contrib with debug symbols for further
debugging.
With everything turned ON (i.e. debug build) I got 3.3GB vs 3.0GB w/o
this patch, 9% bloat, thoughts about this is this OK or not for you, if
not STRIP_DEBUG_SYMBOLS_HEAVY_CONTRIB can be OFF by default (regardless
of build type).
P.S. aws debug symbols adds just 1.7%.
v2: rename STRIP_HEAVY_DEBUG_SYMBOLS
v3: OMIT_HEAVY_DEBUG_SYMBOLS
v4: documentation had been removed
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-02 06:32:03 +03:00
Alexander Gololobov
b2b31103c5
Reuse common code for L2Squared and L2
2022-06-30 14:12:25 +02:00
Julian Gilyadov
d0d72e0b5e
Implement L2Squared Distance and Norm
2022-06-28 15:28:58 -04:00
avogar
a3a7cc7a5d
Fix logical error in array mapped functions with const nullable column
2022-06-16 10:41:53 +00:00
Alexander Gololobov
9b1b30855c
Fixed check for HUGE_VAL
2022-05-27 18:25:11 +02:00
Alexander Gololobov
6361c5f38c
Fix for failed style check
2022-05-27 18:22:16 +02:00
Alexander Gololobov
540353566c
Added LpNorm and LpDistance functions for arrays
2022-05-27 17:17:08 +02:00
Alexander Gololobov
168b47d0ad
Use same norm and distance function names for tuples and arrays
2022-05-25 22:39:59 +02:00
Alexander Gololobov
b065839f44
always return Float64
2022-05-25 22:27:00 +02:00
Alexander Gololobov
5df14cd956
Cast arguments to result type to avoid int overflow
2022-05-25 22:27:00 +02:00
Nikolai Kochetov
ff98c24d44
Merge pull request #37048 from Avogar/fix-array-map-nothing
...
Add default implementation for Nothing in functions
2022-05-25 19:10:40 +02:00
Alexander Gololobov
7d0ed7e51a
Remove eigen library
2022-05-24 10:24:50 +02:00
Alexander Gololobov
caad1435d5
Optimized the case when one the argumnets is Const
2022-05-24 10:24:50 +02:00
Alexander Gololobov
65fbda436a
Do computations on the raw input data without copying to Eigen::Matrix
2022-05-24 10:24:50 +02:00
avogar
f69c3175af
Fix comments
2022-05-19 10:13:44 +00:00
avogar
cb8646fbb4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-array-map-nothing
2022-05-19 07:18:48 +00:00
Robert Schulze
e3cfec5b09
Merge remote-tracking branch 'origin/master' into clangtidies
2022-05-16 10:12:50 +02:00
qieqieplus
8b3fb22c6d
check array sizes for short cut
2022-05-13 17:05:18 +08:00
avogar
4c945d7fe5
Fix
2022-05-12 16:07:58 +00:00
avogar
0311dbb422
Add default implementation for Nothing, support arrays of nullable for arrayFilter and similar functions
2022-05-12 15:15:31 +00:00
Alexander Gololobov
548625a003
Reserve result vectors
2022-05-12 14:33:20 +02:00
Alexander Gololobov
7c226f6067
Fixed special case condition
2022-05-12 14:32:47 +02:00
Alexander Gololobov
355c5443a0
Trying to fix sanitizer failure
2022-05-12 13:50:53 +02:00
Alexander Gololobov
096b4626d6
Print more info in mismatching array sizes error message
2022-05-11 21:20:33 +02:00
Alexander Gololobov
3533cd770d
Reserve result arrays
2022-05-11 14:46:06 +02:00
qieqieplus
5f9eee976f
fix & format
2022-05-11 16:14:43 +08:00
qieqieplus
b00a17ca38
Merge branch 'master' into array-distance-functions
2022-05-09 15:15:07 +08:00
qieqieplus
307511aab4
impl norm functions for array
2022-05-09 14:42:09 +08:00
qieqieplus
a17da05bda
use return type as matrix value type
2022-05-09 14:42:02 +08:00
Robert Schulze
61cbcbf073
Enable clang-tidy readability-misleading-indentation
...
Official docs:
Correct indentation helps to understand code. Mismatch of the
syntactical structure and the indentation of the code may hide serious
problems.
2022-05-08 19:12:01 +02:00
Dmitry Novik
9be17ef50c
Merge pull request #35111 from azat/optimize_aggregation_in_order-prefix
...
Implement partial GROUP BY key for optimize_aggregation_in_order
2022-05-02 17:49:48 +02:00
Azat Khuzhin
767acd53fb
Add ability to pass range of rows to Aggregator
...
v2: fix compiled aggregate functions (seek result to row_start)
v3: fix compiled aggregate functions (seek args to row_start)
v4: change signatures for JIT
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 06:57:55 +03:00
Amos Bird
4a5e4274f0
base should not depend on Common
2022-04-29 10:26:35 +08:00
Robert Schulze
b24ca8de52
Fix various clang-tidy warnings
...
When I tried to add cool new clang-tidy 14 warnings, I noticed that the
current clang-tidy settings already produce a ton of warnings. This
commit addresses many of these. Almost all of them were non-critical,
i.e. C vs. C++ style casts.
2022-04-20 10:29:05 +02:00
qieqieplus
2865c8141d
Merge branch 'master' into array-distance-functions
2022-04-19 14:46:39 +08:00
qieqieplus
c4b5c45740
refactor & add tests
2022-04-19 14:39:40 +08:00
Alexey Milovidov
f6ab2bd523
Merge pull request #36312 from ClickHouse/remove-arcadia
...
Remove remaining parts of Arcadia
2022-04-18 07:02:54 +03:00
Alexey Milovidov
294efeccfe
Fix clang-tidy-14 (part 1)
2022-04-16 04:54:04 +02:00
Alexey Milovidov
cbeeb7ec4f
Remove Arcadia
2022-04-16 00:20:47 +02:00
qieqieplus
91bc253f86
impl distance functions for array
2022-03-22 18:19:12 +08:00
Maksim Kita
ab2496ca4e
Fix style check
2022-03-18 21:39:30 +01:00
Maksim Kita
b7b69156e3
Added functions arrayFirstOrNull, arrayLastOrNull
2022-03-18 19:52:02 +01:00
Anton Popov
0ba78c3c3a
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-16 15:28:09 +00:00
Maksim Kita
538f8cbaad
Fix clang-tidy warnings in Disks, Formats, Functions folders
2022-03-14 18:17:35 +00:00
Anton Popov
36ec379aeb
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-14 16:28:35 +00:00
Robert Schulze
85ce4a9bea
Use C++14 aliases for some type traits
2022-03-11 15:54:29 +01:00
Anton Popov
0bc57da238
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-07 14:46:08 +00:00
Vladimir C
79b21c80b1
Merge pull request #33698 from hexiaoting/dev-map-funciton
2022-03-04 11:51:17 +01:00
vdimir
e9dee63fe2
style fix
2022-03-04 10:49:43 +00:00
Anton Popov
df3b07fe7c
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-03 22:25:28 +00:00
Anton Popov
7d01516202
Merge pull request #34795 from snar/array-compact-higher-order
...
make arrayCompact behave as other higher-order functions
2022-03-03 21:25:43 +03:00
vdimir
2aa6685baf
Add cases to 02169_map_functions, update error messages in FunctionArrayMapped
2022-03-03 18:04:17 +00:00
hexiaoting
95530d0d70
fix style error
2022-03-03 13:22:48 +00:00
vdimir
f7f002139a
Upd FunctionArrayMapped
2022-03-03 13:22:48 +00:00
vdimir
939a15d29a
Upd FunctionArrayMapped for Map
2022-03-03 13:22:48 +00:00
vdimir
82a76d47ff
Use FunctionArrayMapped for Map
2022-03-03 13:22:47 +00:00
Maksim Kita
b1a956c5f1
clang-tidy check performance-move-const-arg fix
2022-03-02 18:15:27 +00:00
Alexandre Snarskii
2148b0f803
optimize specialization to use arrays
2022-02-22 18:38:45 +03:00
Alexandre Snarskii
7d87a446d1
make arrayCompact behave as other higher-order functions
2022-02-21 15:40:03 +03:00
Anton Popov
18940b8637
Merge remote-tracking branch 'upstream/master' into HEAD
2022-02-09 23:38:38 +03:00
alexey-milovidov
fb9ed9acad
Merge pull request #34175 from kitaisreal/bitset-sort-performance-check
...
bitsetsort peformance check
2022-02-07 05:34:57 +03:00
Maksim Kita
4646cac075
Fixed tests
2022-02-04 21:49:39 +00:00
Maksim Kita
b81d9d20b7
Fixed tests
2022-02-04 21:25:06 +00:00
Maksim Kita
1202fec927
Fixed tests
2022-02-04 20:25:30 +00:00
Maksim Kita
4c9ba1dfd7
Fixed tests
2022-02-04 19:52:18 +00:00
Maksim Kita
a5306396dd
Function mapPopulateSeries refactoring
2022-02-04 14:53:22 +00:00
Anton Popov
836a348a9c
Merge remote-tracking branch 'upstream/master' into HEAD
2022-02-01 15:23:07 +03:00
Maksim Kita
5ef83deaa6
Update sort to pdqsort
2022-01-30 19:49:48 +00:00
Anton Popov
78b9f15abb
Merge remote-tracking branch 'upstream/master' into HEAD
2022-01-30 03:24:37 +03:00
Maksim Kita
af5ad2f370
Remove DecimalPaddedPODArray
2022-01-27 10:07:53 +00:00
Anton Popov
e8ce091e68
Merge remote-tracking branch 'upstream/master' into HEAD
2022-01-21 20:11:18 +03:00
Maksim Kita
d6df9d6621
Added function arrayLastIndex
2022-01-08 11:37:31 +03:00
Maksim Kita
6b9703446d
Added function arrayLast
2022-01-07 16:37:21 +03:00
Maksim Kita
51477adf1b
Updated additional cases
2021-12-20 15:55:07 +03:00
Anton Popov
99ebabd822
Merge remote-tracking branch 'upstream/master' into HEAD
2021-12-17 19:02:29 +03:00
Nikolai Kochetov
b3bd9e6a37
Fix arraySlice with null args.
2021-12-09 16:31:13 +03:00
Anton Popov
6f4d9a53b2
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-12-01 15:54:33 +03:00
Alexey Milovidov
85cec911be
Fix strange code in TypeList
2021-11-25 23:55:02 +03:00
Anton Popov
a20922b2d3
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-11-09 15:36:25 +03:00
Mike Kot
8c8bada56e
Non-recursive implementation for TL and its functions
2021-10-03 18:02:04 +02:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
Maksim Kita
c73808615b
Function has support map type
2021-09-22 19:08:08 +03:00
alexey-milovidov
ea13a8b562
Merge pull request #28659 from myrrc/improvement/tostring_to_magic_enum
...
Improving CH type system with concepts
2021-09-12 15:26:29 +03:00
Azat Khuzhin
c7e5cd7cda
Fix arrayCumSumNonNegative() for consts
2021-09-11 22:39:30 +03:00
Azat Khuzhin
6403cbee46
Fix arrayDifference() for consts
2021-09-11 22:39:30 +03:00
Azat Khuzhin
3c75844a79
Fix SIGSEGV for arrayCompact() with consts
...
arrayCompact() implements useDefaultImplementationForConstants() but it
is a no-op for FunctionArrayMapped, fix this.
CI report [1]:
[1]: https://clickhouse-test-reports.s3.yandex.net/28890/baac2e561cfb05bc174f0bd25571e607d19c7463/fuzzer_asan/report.html#fail1
2021-09-11 22:39:20 +03:00
Mike Kot
3401b32e37
Adapted usage of is_decimal concept
2021-09-11 19:35:12 +02:00
Mike Kot
bce011cb33
Replacing IsDecimalNumber
2021-09-11 00:40:18 +02:00
Mike Kot
c4385a2c40
Simplifying exception messages
2021-09-11 00:40:18 +02:00
Anton Popov
4c388e3d84
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-09-09 14:10:16 +03:00
Anton Popov
47bb5eb330
support implicit conversions between index in operator [] and key of Map
2021-08-24 21:16:06 +03:00
Anton Popov
61239343e3
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-08-20 16:33:30 +03:00
Nikolai Kochetov
98eb619b4b
Merge pull request #23367 from Avogar/short-circuit
...
Implement short circuit function evaluation
2021-08-17 12:36:07 +03:00
Alexey Milovidov
15eb68d117
Fix bad cast in arrayIndex #26330
2021-08-15 09:33:08 +03:00
Pavel Kruglov
70b51133c1
Try to simplify code
2021-08-09 18:01:08 +03:00
Pavel Kruglov
7ff11aff2d
Some fixes, more tests
2021-08-09 17:54:14 +03:00
Pavel Kruglov
0662df8b76
Fix performance with JIT, add arguments to function isSuitableForShortCircuitArgumentsExecution
2021-08-09 17:54:14 +03:00
Pavel Kruglov
e792fa588f
Mark all Functions as sutable or not for executing as short circuit arguments
2021-08-09 17:50:09 +03:00
Ildus Kurbangaliev
a4e9a56e8e
Make changes by review on #26663 PR
2021-07-30 20:57:32 +02:00
Ildus Kurbangaliev
d6fe824340
Add Map type support in mapPopulateSeries
2021-07-21 09:23:14 +02:00
Anton Popov
f99374cca6
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-07-20 18:20:21 +03:00
kssenii
3ba2d114d5
Revert "Merge pull request #26352 from ClickHouse/revert-25774-datatype-date32"
...
This reverts commit 94a210650f
, reversing
changes made to 0893b9ff8e
.
2021-07-15 11:41:52 +00:00
alexey-milovidov
9ba4064c86
Revert "Datatype Date32, support range 1925 to 2283"
2021-07-15 10:53:35 +03:00
Alexey Milovidov
a60d52d9c3
Whitespaces #26330
2021-07-14 23:26:42 +03:00
Alexey Milovidov
9dd0a76220
Add a setting "function_range_max_elements_in_block" and increase it 5 times
2021-07-14 11:31:08 +03:00
Kseniia Sumarokova
4a6b4d6c26
Merge pull request #25774 from liuneng1994/datatype-date32
...
Datatype Date32, support range 1925 to 2283
2021-07-12 20:33:39 +03:00
mergify[bot]
bbde9e2efd
Merge branch 'master' into dev-map-bug
2021-07-09 02:52:53 +00:00
Anton Popov
072e65b728
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-07-07 17:20:38 +03:00
NengLiu
8b88988618
Merge branch 'master' into datatype-date32
...
# Conflicts:
# src/DataStreams/PostgreSQLBlockInputStream.cpp
2021-07-05 10:18:38 +08:00
zxc111
faac204a1f
fix style
2021-07-05 00:01:49 +08:00
zxc111
15a36af4d6
Add empty/notEmpty support UUID #3446
2021-07-04 22:26:09 +08:00
alexey-milovidov
916177a197
Merge branch 'master' into dev-map-bug
2021-07-04 02:03:43 +03:00
Maksim Kita
3ae1278391
Fixed tests
2021-07-02 11:22:30 +03:00
Alexey Milovidov
0e621788c7
Allow constexpr parameters for aggregate functions
2021-07-02 03:53:08 +03:00
Ildus Kurbangaliev
c86739794f
Change error code in mapAdd
2021-07-01 13:41:12 +02:00
Ildus Kurbangaliev
f56ae8f9cd
Apply suggestions from code review
...
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2021-07-01 13:38:13 +02:00
Ildus Kurbangaliev
5d89907ae9
Fix style errors
2021-06-29 00:34:45 +02:00
Ildus Kurbangaliev
541c09d7b3
Fix tests errors
2021-06-23 15:03:58 +02:00
Ildus Kurbangaliev
0a937e7377
Support Map type in mapAdd and mapSubtract
2021-06-22 17:02:42 +02:00
Neng Liu
7ed1728a37
Merge branch 'master' into datatype-date32
...
# Conflicts:
# src/DataTypes/IDataType.h
# src/Functions/CustomWeekTransforms.h
2021-06-22 10:00:18 +08:00
Neng Liu
b6eab5fd2f
add datetype32 function support
2021-06-17 16:05:30 +08:00
Maksim Kita
67e9b85951
Merge ext into common
2021-06-16 23:28:41 +03:00
Anton Popov
7e9b13199a
dynamic columns: improve performance of parsing json data
2021-06-12 18:13:13 +03:00
alexey-milovidov
05d1af153c
Merge branch 'master' into rename-const-context-ptr
2021-06-12 03:25:09 +03:00
Alexey Milovidov
885ce194e0
Making fundamentals correct
2021-06-07 00:49:55 +03:00
mergify[bot]
d68d5e0ef1
Merge branch 'master' into rename-const-context-ptr
2021-06-04 14:41:41 +00: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
Nikolai Kochetov
dbaa6ffc62
Rename ContextConstPtr to ContextPtr.
2021-06-01 15:20:52 +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
42d57138f2
replace all isDateOrDateTime invocations to explicit calls to isDate and isDateTime and isDateTime64
2021-05-28 15:34:49 +03:00
Maksim Kita
d923d9e6ef
Function move file
2021-05-17 10:30:42 +03:00
Maksim Kita
947f28d430
IFunction refactoring
2021-05-15 20:33:15 +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
Maksim Kita
108c2022d9
Function arrayDifference decimal math overflow
2021-05-08 17:01:30 +03:00
Alexey Milovidov
bebdabc0ca
Support Map with UUID keys
2021-05-07 20:42:16 +03:00
Alexey Milovidov
9d4265d727
Fix mapAdd, mapSubstract; add support for big integers
2021-05-06 03:14:52 +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
1b01284acb
Implement TODO
2021-05-04 18:41:58 +03:00
Alexey Milovidov
b0bd9fd3b0
Add UInt128 where it is needed
2021-05-03 19:12:28 +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
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
44b966af5a
Removed const path for arrayAggregation
2021-04-30 12:33:34 +03:00
Maksim Kita
aa71b4a6df
Merge pull request #22242 from hexiaoting/dev_arrayproduct
...
Introduce arrayProduct function
2021-04-30 09:55:21 +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
4ff812db7f
Maybe better support for paths with whitespaces
2021-04-24 22:47:52 +03:00
hexiaoting
5dd8018c12
Merge remote-tracking branch 'origin/master' into dev-map-bug
2021-04-19 10:26:20 +08:00
alexey-milovidov
83038f84af
Revert "Function arrayFold
for folding over array with accumulator"
2021-04-18 03:34:05 +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
Dmitry Krylov
bf51f94f37
Fix constness
2021-04-15 21:46:15 +10:00
Dmitry Krylov
75036debf4
Check type match of lambda and accumulator
2021-04-15 19:25:30 +10:00
Alexey Milovidov
df44476307
Fix error
2021-04-13 22:32:02 +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
9e921023b8
Fix error
2021-04-13 09:53:39 +08: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
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
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
7589a014f9
Better fix
2021-04-01 03:44:02 +03:00
Alexey Milovidov
c9fac714b4
Merge branch 'master' into map-op-ubsan
2021-04-01 03:27:33 +03:00
Alexey Milovidov
a59c66c266
Fix UBSan report in mapOp
2021-03-31 04:07:18 +03:00
Alexey Milovidov
c3b4587d9d
Fix MSan report in function "range"
2021-03-31 03:54:40 +03:00
hexiaoting
8a7599c4b1
Introduce arrayProduct function
2021-03-29 10:35:08 +08:00
Alexey Milovidov
c325ed65e2
Fix UBSan report in mapPopulateSeries
2021-03-24 23:10:15 +03:00
Anton Popov
ecd9220c77
minor fixes
2021-03-16 02:28:11 +03:00
Anton Popov
68b3cbbfe9
fix conversions for fields in function 'arrayElement' for type Map
2021-03-13 17:49:43 +03:00
hexiaoting
0760759dc6
Add DataTypeMap support LowCardinality and FixedString type
2021-03-09 16:44:56 +08:00
Anton Popov
ad5a03e8a4
improve support of integer keys in type Map
2021-02-24 21:13:26 +03:00
Anton Popov
b6a519cd04
Merge remote-tracking branch 'upstream/master' into HEAD
2021-02-24 19:45:38 +03:00
Alexey Milovidov
64e76a4a8d
Minor changes in Decimal
2021-02-20 21:13:36 +03:00