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
Alexey Milovidov
d9c87bf4df
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 01:11:51 +03:00
Alexey Zatelepin
bfd87add7d
improve getExremes(), fix for ColumnNullable [#CLICKHOUSE-2]
2017-09-26 20:40:02 +03:00
Alexey Milovidov
5c3ca0c16e
Inverted dependency in DataTypeFactory [#CLICKHOUSE-3149].
2017-07-16 07:11:11 +03:00
alexey-milovidov
b64b243a73
Merge pull request #945 from YiuRULE/master
...
Implement natively uuid type in Clickhouse
2017-07-10 07:00:45 +03:00
Alexey Zatelepin
1cd936579d
introduce IColumn::gather() [#CLICKHOUSE-3118]
2017-07-09 21:57:06 +03:00
Guillaume Tassery
c6a5083419
Fix comparison of UInt128 to Float64
2017-07-05 18:29:16 +02:00
Guillaume Tassery
cba9815981
Change Uuid to UUID datatype and make UInt128 a generic type
2017-07-04 12:42:53 +02:00
Guillaume Tassery
525851ec68
sync master
2017-06-30 22:21:42 +02:00
Guillaume Tassery
1231952fca
Implement UUID type and toUuid function
2017-06-30 22:01:27 +02:00
Alexey Milovidov
9c5ddce06d
Get rid of .hpp files [#CLICKHOUSE-2].
2017-06-06 20:18:32 +03:00
Alexey Milovidov
22e8b8029b
Implemented ColumnArray::replicate for Nullable, Tuple and for generic case [#CLICKHOUSE-4].
2017-04-18 06:03:39 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
7532a1d564
Added support for NULLS FIRST and LAST in ORDER BY [#CLICKHOUSE-2882].
2017-03-12 15:56:59 +03:00
Alexey Milovidov
3c38ba1f1c
Improved performance of ColumnFixedString::filter [#CLICKHOUSE-2877].
2017-03-11 07:41:28 +03:00
Alexey Milovidov
a3584e5a57
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:29:45 +03:00
Alexey Milovidov
5441fd6ac6
Fixed error [#CLICKHOUSE-2877].
2017-03-11 04:20:14 +03:00
Alexey Milovidov
4871ff8ef5
Moved code to cpp [#CLICKHOUSE-2877].
2017-03-11 04:12:51 +03:00