Mikhail Korotov
ed7971ea25
Fixed small bug
2019-11-06 18:15:24 +03:00
millb
254c94ebfa
Fixed bugs
2019-11-06 18:06:15 +03:00
millb
7d46d359ea
Working commit
2019-11-06 17:48:23 +03:00
millb
7863b7f3c9
Working commit
2019-11-06 16:08:02 +03:00
millb
4f6197c370
Working commit
2019-11-06 14:48:17 +03:00
Mikhail Korotov
281b0062bc
Working commit
2019-11-06 11:48:51 +03:00
Mikhail Korotov
556f6fbdc5
Working commit
2019-11-06 11:47:25 +03:00
millb
043ca0d470
Working commit
2019-11-06 11:42:34 +03:00
millb
9308ea5d33
Merge branch 'decimal_hex_function' of github.com:millb/ClickHouse into decimal_hex_function
2019-11-06 11:29:43 +03:00
millb
695f3c58cc
Working Commmit
2019-11-06 11:29:18 +03:00
Mikhail Korotov
0168620fad
Fixed style commit
2019-11-06 11:17:31 +03:00
millb
0226ba406c
Functions tryExecuteFloat and tryExecuteDecimal are combined
2019-11-06 10:42:10 +03:00
millb
5c478dfe02
Merge branch 'master' into decimal_hex_function
2019-11-06 09:43:30 +03:00
alexey-milovidov
8fc84e93ff
Merge pull request #7635 from ClickHouse/fix_concat_return_data_type
...
Now concat always return string column
2019-11-05 21:39:48 +03:00
alexey-milovidov
40a8216294
Merge pull request #7625 from ClickHouse/array-compact-improve
...
Improvement of arrayCompact function.
2019-11-05 21:39:06 +03:00
alesapin
2d7ae27232
Now concat always return string column
2019-11-05 16:23:09 +03:00
alexey-milovidov
6a871f579f
Merge pull request #7598 from infinivision/bitmap_replace
...
added bitmapTransform
2019-11-05 02:23:50 +03:00
alexey-milovidov
2fe5f23025
Update FunctionsBitmap.h
2019-11-05 02:21:22 +03:00
alexey-milovidov
0c1510d3e3
Update FunctionsBitmap.h
2019-11-05 02:20:16 +03:00
alexey-milovidov
f9d14f78c0
Update FunctionsBitmap.h
2019-11-05 02:09:28 +03:00
alexey-milovidov
7d2a16ee39
Merge pull request #7486 from sundy-li/char_function
...
functions: add char function
2019-11-05 01:40:18 +03:00
Alexey Milovidov
979db8c965
Improve "arrayCompact" function
2019-11-05 01:13:10 +03:00
Zhichang Yu
da2d05802c
added bitmapTransform
2019-11-04 14:55:31 +08:00
alexey-milovidov
a8d6843723
Merge pull request #7599 from azat/__getScalar-fix
...
Check column for __getScalar() (avoids assertion)
2019-11-04 02:28:42 +03:00
Azat Khuzhin
842f4e2ca0
Check column for __getScalar() (avoids assertion)
...
Can be triggered using the following query:
CREATE TABLE foo (key String, macro String MATERIALIZED __getScalar(key)) Engine=Null();
Trace:
3. 0x00007ffff6d5d526 __assert_fail (libc.so.6)
4. 0x00007ffff41fd931 boost::intrusive_ptr<DB::IColumn const>::operator*() const (libclickhouse_functionsd.so)
5. 0x00007ffff41fcd64 COW<DB::IColumn>::IntrusivePtr<DB::IColumn const>::operator*() const & (libclickhouse_functionsd.so)
6. 0x00007ffff4dc5944 DB::FunctionGetScalar::getReturnTypeImpl() const (libclickhouse_functionsd.so)
(Even though it is internal I guess it is better to fix it)
Refs: #7392
Cc: @amosbird
2019-11-03 21:44:56 +03:00
alexey-milovidov
d08bfbd3e1
Merge pull request #7328 from Joeywzr/arrayCompact
...
implement arrayCompact
2019-11-03 01:07:19 +03:00
alexey-milovidov
fa0274e223
Merge pull request #7380 from hczhcz/patch-1018
...
Add function arrayFill and arrayReverseFill
2019-11-03 01:06:41 +03:00
alexey-milovidov
15c4a19bb1
Merge pull request #7585 from ernestp/macos_catalina_2019_11_01
...
Fixed compile errors on macOS Catalina
2019-11-02 15:46:17 +03:00
alexey-milovidov
f5531fb436
Merge pull request #7590 from amosbird/typetrait
...
ubsan fix
2019-11-02 13:22:39 +03:00
Amos Bird
ad12099642
ubsan fix
2019-11-02 17:00:03 +08:00
alexey-milovidov
dda93e2275
Merge pull request #7561 from ClickHouse/achimbab-master
...
Merge for #7363
2019-11-02 00:57:13 +03:00
Ernest Poletaev
de1e5d0e53
Fixed compile errors on macOS Catalina
2019-11-01 23:33:43 +07:00
alexey-milovidov
4081b0be90
Merge pull request #7497 from amosbird/countopt
...
Early constant folding.
2019-11-01 16:54:02 +03:00
Nikolai Kochetov
9a5a0a2a3b
Fix types for set elements.
2019-10-31 19:14:06 +03:00
Amos Bird
e04cdd4ebb
Early constant folding.
2019-10-31 23:54:32 +08:00
sundy-li
17212afabb
fix virtual call
2019-10-31 13:19:28 +08:00
alexey-milovidov
194fd85f5c
Update arrayCompact.cpp
2019-10-31 00:29:15 +03:00
sundy-li
6f2cce37d7
fix move
2019-10-29 19:22:00 +08:00
sundy-li
9eb77a59e3
fix index
2019-10-29 13:20:18 +08:00
sundy-li
dbd3227e5a
fixup partial const column
2019-10-29 11:51:27 +08:00
memo
3449e8d107
fix
2019-10-29 10:27:54 +08:00
memo
3064e716db
add line
2019-10-28 14:48:25 +08:00
memo
0f572e5d7d
add line
2019-10-28 12:51:59 +08:00
memo
90333ac9aa
modified getReturnType
2019-10-28 11:15:52 +08:00
sundy-li
538b77c123
functions: add char function as mysql behavior
2019-10-28 10:44:56 +08:00
Azat Khuzhin
04f1e6b2cc
Use crc32_z() over crc32(), since it size_t for length
2019-10-25 23:32:29 +03:00
Azat Khuzhin
2d2e738085
Add CRC32IEEE()/CRC64() support
...
zlib's implementation uses CRC-32-IEEE 802.3 polynomial (0xedb88320) but
with starting value 0xffffffff, so introduce another crc32
implementation - CRC32IEEE that has starting value - 0
Also add CRC64 with ECMA polynomial.
v2: s/crc*_data./crc*_data./ to avoid conflicts with other crc32.h in contrib
v3: join with existing CRC32()
2019-10-25 15:52:41 +03:00
hcz
3767cb76de
Improve style
2019-10-25 11:25:02 +08:00
Amos Bird
295864e6e0
better scalar query
2019-10-23 21:37:54 +08:00
hcz
d877ef6098
Merge remote-tracking branch 'hcz/patch-1018' into patch-1018
2019-10-22 11:31:23 +08:00