Amos Bird
ad12099642
ubsan fix
2019-11-02 17:00:03 +08:00
Alexey Milovidov
8966520801
Added "assert_cast" function as a replacement for static_cast for columns
2019-08-21 05:28:04 +03:00
Alexander Kuzmenkov
0116c10e41
Require explicit type in unalignedStore
...
This is a follow-up to PR #5786 , which fixed a segfault caused by
an unexpected deduced type for unalignedStore. To prevent future errors
of this kind, require a caller to specify the stored type explicitly.
2019-06-28 20:33:14 +03:00
Alexander Kozhikhov
ef23528452
some changes and fixes on regression methods
2019-05-31 00:59:40 +03:00
Evgenii Pravda
91ccf2ab20
Fixes
2019-04-27 20:52:43 +03:00
Evgenii Pravda
568ef78803
Add MSD radix sort
2019-04-27 01:07:32 +03:00
Alexey Milovidov
661c840fbe
Code cleanups after #4439
2019-04-25 04:16:26 +03:00
Evgenii Pravda
5a773ed67c
Fix nulls order
2019-04-20 02:04:17 +03:00
Evgenii Pravda
bc4eb309e2
Trying to defeat gcc 8 (2)
2019-04-20 02:04:17 +03:00
Evgenii Pravda
6157ddba0d
Trying to defeat gcc 8
2019-04-20 02:04:17 +03:00
Evgenii Pravda
fecf0a3630
Some fixes
2019-04-20 02:04:17 +03:00
Evgenii Pravda
f1e842cdf6
Use radixSort when possible
2019-04-20 02:04:17 +03:00
Alexey Milovidov
9d89cc0fc1
Debugging PODArray
2019-03-08 06:23:02 +03:00
Vitaly Baranov
4b6cba9a8e
IColumn::getPermutation() and IColumn::permutate() functions, "limit" parameter: change type UInt64 -> size_t.
2019-02-19 14:56:09 +03:00
Vitaly Baranov
833aa9189b
IColumn::index() function, "limit" parameter: change type UInt64 -> size_t.
2019-02-19 14:47:41 +03:00
alexey-milovidov
0dd618b9ad
Merge pull request #4326 from yandex/duplicate-includes
...
Removed duplicate includes
2019-02-10 22:31:37 +03:00
Alexey Milovidov
ba3cb83a84
Removed duplicate includes
2019-02-10 20:12:22 +03:00
Alexey Milovidov
c603d270f4
Cleanups #4246
2019-02-10 18:17:45 +03:00
Evgenii Pravda
67d26f6528
Use pdqsort instead of std::sort in ORDER BY
2019-02-02 16:52:20 +03:00
Alexey Milovidov
1d4701b0bc
Added some warnings from clang's -Weverything
2019-01-04 15:10:00 +03:00
Alexey Milovidov
78e72a1962
Little better #3624
2018-11-20 23:09:20 +03:00
proller
160ffb2283
Build fixes (clang 7.0.0+) ( #3582 )
2018-11-16 15:22:51 +03:00
Amos Bird
3cf2177268
Flexible fields assignment
...
Field f;
before:
f = Int64(-42);
after:
f = -42;
2018-10-24 08:47:33 +08:00
Alexey Milovidov
aa5d919f33
Miscellaneous [#CLICKHOUSE-2]
2018-09-03 03:39:22 +03:00
Alexey Milovidov
538edbb8e2
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 06:33:48 +03:00
Alexey Milovidov
fc27be314b
Avoid temporary nullptr references [#CLICKHOUSE-2]
2018-09-02 06:00:04 +03:00
alexey-milovidov
95b2bcbc6b
Merge pull request #2970 from 4ertus2/decimal
...
Some more Decimal
2018-08-27 19:59:26 +03:00
chertus
c86f2878ff
add special ColumnDecimal instead of ColumnVector<DecimalNN> CLICKHOUSE-3765
2018-08-27 19:16:16 +03:00
Amos Bird
ea84430864
Get rid of useless std::move to get NRVO
...
http://eel.is/c++draft/class.copy.elision#:constructor,copy,elision
Some quote:
> Speaking of RVO, return std::move(w); prohibits it. It means "use move constructor or fail to compile", whereas return w; means "use RVO, and if you can't, use move constructor, and if you can't, use copy constructor, and if you can't, fail to compile."
There is one exception to this rule:
```cpp
Block FilterBlockInputStream::removeFilterIfNeed(Block && block)
{
if (block && remove_filter)
block.erase(static_cast<size_t>(filter_column));
return std::move(block);
}
```
because references are not eligible for NRVO, which is another rule "always move rvalue references and forward universal references" that takes precedence.
2018-08-27 22:15:48 +08:00
chertus
53ec40eeee
some decimal field improvements CLICKHOUSE-3765
2018-08-24 19:35:00 +03:00
Alexey Milovidov
7d76c3fd4f
Miscellaneous [#CLICKHOUSE-3765]
2018-08-21 07:31:35 +03:00
zhang2014
3b0f0ac01e
ISSUES-2846 fix build failure with gcc 8.1
2018-08-15 11:51:03 +08:00
chertus
241b05c80a
merge master
2018-08-14 15:50:28 +03:00
chertus
de68022fc5
rewrite Decimal with own data type
2018-08-07 16:57:28 +03:00
chertus
c1c149d74b
decimal comparisons
2018-07-25 22:38:21 +03:00
chertus
5ec47b4a1c
decimal (in progress)
2018-07-20 22:05:07 +03:00
Nikolai Kochetov
f56d16769b
Added pre and post serialization for IDataType BinaryBulkWithMultipleStreams. Supported dictionary serialization format with single global dictionary (limited wit max_dictionary_size) and additional keys which are stored per granule. Changed IDataType::enumerateStream interface. Added (de)serialization params for binary bulk with multiple stream (de)serialization. Changed IColumn::index interface.
2018-06-26 17:12:21 +03:00
KochetovNicolai
e0addcdfec
Update ColumnVector.cpp
...
Fixed memset bytes count.
2018-05-03 20:29:53 +03:00
Nikolai Kochetov
e2416cfa6f
Moved DataTypeWithDictionary implementation to DataTypeWithDictionary.cpp
2018-05-03 20:25:10 +03:00
Nikolai Kochetov
7788d30dca
Moved DataTypeWithDictionary implementation to DataTypeWithDictionary.cpp
2018-05-03 20:23:18 +03:00
Nikolai Kochetov
8625686205
added IColumn::select
2018-04-23 20:19:24 +03:00
Nikolai Kochetov
e6e29eef29
added IColumn::select
2018-04-23 20:02:50 +03:00
Nikolai Kochetov
387c32e1ec
added IColumn::select
2018-04-23 20:01:28 +03:00
Nikolai Kochetov
2119469c51
added IColumn::select
2018-04-19 00:00:47 +03:00
Nikolai Kochetov
476d4b339c
Immutable construction for columns
2018-03-20 22:45:10 +03:00
Alexey Milovidov
c897e5ca39
Better [#CLICKHOUSE-2]
2018-03-03 18:36:20 +03:00
Alexey Milovidov
7284a64740
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-16 00:32:25 +03:00
Alexey Milovidov
8ce60e3af0
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 22:53:11 +03:00
Alexey Milovidov
0b76b61c73
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-15 22:46:24 +03:00
Alexey Milovidov
fb38ef9a8e
Better semantic of sharing columns: development [#CLICKHOUSE-2].
2017-12-14 06:56:56 +03:00