Nikolai Kochetov
2bb57ce472
Support insertion into LowCardinality from old native clients.
2018-12-06 17:08:42 +03:00
Ivan Lezhankin
6089b26ef0
Fix |RangeHashedDictionary| getter against |ColumnConst|
2018-12-04 16:15:20 +03:00
Nikolai Kochetov
98499b1140
LowCardinality optimization for single nullable column.
2018-12-03 21:00:20 +03:00
Nikolai Kochetov
65e5494326
Fixed size for LowCardinality dictionary permutation.
2018-11-27 21:08:54 +03:00
Alexey Milovidov
c77930fe30
Whitespaces [#CLICKHOUSE-2]
2018-11-26 03:56:50 +03:00
Alexey Milovidov
141e9799e4
Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2]
2018-11-25 03:08:50 +03:00
Alexey Milovidov
7d6fffff48
More style checks [#CLICKHOUSE-3]
2018-11-24 04:48:06 +03:00
Alexey Milovidov
dbbacf4f87
Added more style checks [#CLICKHOUSE-3]
2018-11-23 21:52:00 +03:00
alexey-milovidov
ac29388224
Merge pull request #3632 from yandex/fix-low-cardinality-distributed-group-by
...
Fix low cardinality distributed group by
2018-11-23 16:45:56 +03:00
Nikolai Kochetov
f3aa1292a9
Remove null map cache from ColumnUnique.
2018-11-23 14:55:06 +03:00
Nikolai Kochetov
d64fe4204a
Remove null map cache from ColumnUnique.
2018-11-23 13:47:01 +03:00
Nikolai Kochetov
e74b1edb35
Remove null map cache from ColumnUnique.
2018-11-23 13:18:50 +03:00
Nikolai Kochetov
7fea1397d6
Remove null map cache from ColumnUnique.
2018-11-23 11:11:54 +03:00
Nikolai Kochetov
4721b16b51
Fix array mapped functions with low cardinality lambda argument.
2018-11-22 18:52:53 +03:00
Nikolai Kochetov
4d96e88058
Fix distributed group by LowCardinality(Nullable). #3615
2018-11-21 21:59:33 +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
alexey-milovidov
2f16ec5c79
Merge pull request #3568 from yandex/fix-low-cardinality-nullable-perf
...
Fix perf in IColumnUnique::size func.
2018-11-14 03:27:05 +03:00
Nikolai Kochetov
3429274de1
Fix perf in IColumnUnique::size func. #3256
2018-11-12 12:03:40 +03:00
Amos Bird
076ec44089
Prioritize rvalue creator for ColumnTuple
...
This validates `ColumnTuple::create(Columns({std::move(s_c0), std::move(s_c1)})); `
2018-11-09 01:24:30 +08:00
alexey-milovidov
6bc7297a92
Merge pull request #3523 from yandex/low-cardinality-fix-extremes
...
Low cardinality fix extremes
2018-11-01 20:54:09 +03:00
Nikolai Kochetov
03b2b609b1
Fix ColumnLowCardinality::getExtremes. #3288
2018-11-01 20:24:05 +03:00
alexey-milovidov
b1db9ec23c
Merge pull request #3436 from amosbird/master
...
Flexible fields assignment
2018-11-01 20:22:28 +03:00
Nikolai Kochetov
dc688ef5e1
Fix nullable comparsion for LowCardinality(Nullable()). #3227 #3256 #3212
2018-11-01 17:57:50 +03:00
Nikolai Kochetov
045b5d5cd8
Fixed LowCardinality(Nullable()) (de)serialization with arena. #3227 #3256 #3212
2018-11-01 17:55:37 +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
chertus
29bd00f9f4
simple fix for Decimal128 group by [issue-3378]
2018-10-16 10:31:17 +03:00
chertus
465cb6d267
fix for Decimal128 group by [issue-3378]
2018-10-15 22:14:08 +03:00
Alexey Milovidov
f720a5bf95
Fixed typos in code #3373
2018-10-13 17:33:43 +03:00
chertus
5896e45dac
SummingMergeTree for Decimal128 [issue-3282]
2018-10-11 17:33:01 +03:00
chertus
c7bf0e77ea
add get64() for Decimal32 and Decimal64; remove allow_experimental_decimal_type setting [issue-3282]
2018-10-09 19:50:42 +03:00
Nikolai Kochetov
97add69825
Rename WithDictionary to LowCardinality.
2018-09-28 13:44:59 +03:00
Nikolai Kochetov
d526859011
Added cache for low cardinality function result. [#CLICKHOUSE-3904]
2018-09-25 16:48:52 +03:00
alexey-milovidov
b1eb66c03e
Merge branch 'master' into low-cardinality-fixes
2018-09-21 13:43:37 +03:00
Nikolai Kochetov
94bb37f261
Fix low cardinality permutation.
2018-09-21 11:52:07 +03:00
alexey-milovidov
a52de29fbf
Update ColumnWithDictionary.h
2018-09-20 20:41:54 +03:00
Nikolai Kochetov
673acbdf94
Added more comments.
2018-09-20 17:19:12 +03:00
Nikolai Kochetov
b93ea8e7cc
Fixed default value index for LowCardinality(Nullable).
2018-09-19 17:42:59 +03:00
Nikolai Kochetov
a2eb72c64a
Fixed ColumnWithDictionary::getPermutation(). [#CLICKHOUSE-3903]
2018-09-17 12:51:47 +03:00
Nikolai Kochetov
e2e31751e9
Support low cardinality columns in aggregation method with fixed keys. [#CLICKHOUSE-3903]
2018-09-14 20:14:31 +03:00
Nikolai Kochetov
3dc5cd3a3a
Merged with master.
2018-09-14 12:14:37 +03:00
Nikolai Kochetov
4674beb900
Shared cache for low cradinality single aggregation column. [#CLICKHOUSE-3903]
2018-09-14 11:04:18 +03:00
Nikolai Kochetov
df71c47840
Added dictionary hash for low cardinality column. [#CLICKHOUSE-3903]
2018-09-14 11:04:18 +03:00
Nikolai Kochetov
94bfe50f52
Cache saved hash for low cardinality aggregate method. [#CLICKHOUSE-3903]
2018-09-14 11:04:18 +03:00
Nikolai Kochetov
2eb35dd6ef
Cache AggregateDataPtr for single low cardinality column. [#CLICKHOUSE-3903]
2018-09-14 11:04:09 +03:00
Nikolai Kochetov
787e814e4c
Low cardinality group by signle column. [#CLICKHOUSE-3903]
2018-09-14 11:03:02 +03:00
Amos Bird
af369483a9
Simply Self.
...
> When the normal name of the template (i.e., the name from the enclosing scope, not the injected-class-name) is used, it always refers to the class template itself and not a specialization of the template
http://eel.is/c++draft/temp.local
2018-09-13 22:59:54 +08:00
chertus
45ec7e63aa
add static asserts for decimal [CLICKHOUSE-3765]
2018-09-12 20:50:51 +03:00
alexey-milovidov
3bb89eca16
Merge pull request #3083 from yandex/every_function_in_own_file_2
...
Every function in its own file, part 2
2018-09-09 05:31:33 +03:00
Alexey Milovidov
8497af1d7f
Fixed memory leak in insertion methods of ColumnAggregateFunction if the object have another as a source; exception safety [#CLICKHOUSE-2]
2018-09-09 04:16:34 +03:00
Alexey Milovidov
09926ebb93
Every function in its own file, part 2 [#CLICKHOUSE-2]
2018-09-09 01:04:39 +03:00
chertus
e11f3ea5bc
enable nullable for Decimal [CLICKHOUSE-3765]
2018-09-04 21:51:44 +03:00
Alexey Milovidov
6831b6c0f9
Fixed build; fixed possibly suboptimal code #3008
2018-09-03 07:29:36 +03:00
alexey-milovidov
72c799ad76
Merge pull request #3008 from 4ertus2/decimal
...
even more Decimal
2018-09-03 07:19:33 +03:00
Alexey Milovidov
aa5d919f33
Miscellaneous [#CLICKHOUSE-2]
2018-09-03 03:39:22 +03:00
Alexey Milovidov
72379a4fd4
Fixed ubsan report [#CLICKHOUSE-2]
2018-09-02 23:14:47 +03:00
Alexey Milovidov
26587dd2bb
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 08:23:20 +03:00
Alexey Milovidov
f93ede0182
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 07:33:15 +03:00
Alexey Milovidov
bf443fcfa0
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 07:30:55 +03:00
Alexey Milovidov
ab78bc1b5c
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 07:13:15 +03:00
Alexey Milovidov
66afebc498
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 06:40:15 +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
f7107f12b4
Merge branch 'master' into extra-warnings
2018-09-02 03:13:36 +03:00
Alexey Milovidov
7d77d001f5
Full support for alignment of aggregate states #2808
2018-09-01 07:25:03 +03:00
alexey-milovidov
6d5092518f
Merge pull request #2808 from chenxing-xc/master
...
Aligned aggregate state #2754
2018-09-01 05:38:11 +03:00
alexey-milovidov
a05cdfbb45
Merge branch 'master' into extra-warnings
2018-08-31 03:03:44 +03:00
chertus
29d8d07975
decimal improvements [CLICKHOUSE-3765]
2018-08-29 21:47:19 +03:00
chertus
9becb21e52
better comments for IColumn [CLICKHOUSE-2]
2018-08-29 15:10:18 +03:00
proller
18044995ba
Fix includes
2018-08-28 22:36:27 +03:00
Alexey Milovidov
74fee0dc98
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 21:20:58 +03:00
Alexey Milovidov
a3cd1ea8cb
Enabling -Wshadow [#CLICKHOUSE-2]
2018-08-27 21:16:32 +03:00
Alexey Milovidov
486d87ebcd
Merge remote-tracking branch 'origin/master' into extra-warnings
2018-08-27 20:01:33 +03:00
alexey-milovidov
95b2bcbc6b
Merge pull request #2970 from 4ertus2/decimal
...
Some more Decimal
2018-08-27 19:59:26 +03:00
chertus
ee873c8e9f
Merge branch 'master' into decimal
2018-08-27 19:18:48 +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
Alexey Milovidov
6779de62d1
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 03:44:23 +03:00
chertus
53ec40eeee
some decimal field improvements CLICKHOUSE-3765
2018-08-24 19:35:00 +03:00
Alexey Milovidov
6043ea02de
Style #2913
2018-08-24 08:25:00 +03:00
Alexey Milovidov
1437e5cbe3
Fix style [#CLICKHOUSE-2]
2018-08-24 03:07:25 +03:00
chertus
cbb80f52c2
own DecimalField for Decimal32/64/128, better field comparison CLICKHOUSE-3765
2018-08-23 17:03:37 +03:00
Nikolai Kochetov
a475bb1c9f
Merge branch 'master' into low-cardinality-group-by
2018-08-21 17:28:10 +03:00
Alexey Milovidov
7d76c3fd4f
Miscellaneous [#CLICKHOUSE-3765]
2018-08-21 07:31:35 +03:00
Alexey Milovidov
15c971a225
Decimal: fixed error [#CLICKHOUSE-3765]
2018-08-21 07:00:50 +03:00
Alexey Milovidov
be80ac893e
Whitespace [#CLICKHOUSE-3621]
2018-08-21 06:40:09 +03:00
zhang2014
3b0f0ac01e
ISSUES-2846 fix build failure with gcc 8.1
2018-08-15 11:51:03 +08:00
alexey-milovidov
c376b2d476
Merge pull request #2869 from yandex/low-cardinality-fixes
...
LowCardinality fixes
2018-08-14 22:36:19 +03:00
Nikolai Kochetov
f61fdf2076
Better const resolution for LowCardinality type. [#CLICKHOUSE-3621]
2018-08-14 20:19:40 +03:00
chertus
241b05c80a
merge master
2018-08-14 15:50:28 +03:00
Nikolai Kochetov
5379c52b9e
Support Aggregator for LowCardinality single key.
2018-08-13 19:23:40 +03:00
alexey-milovidov
f538bd2113
Merge branch 'master' into decimal
2018-08-13 11:57:42 +03:00
chertus
01c8b1d7bb
decimal field extraction (from column or type)
2018-08-10 17:57:55 +03:00
Nikolai Kochetov
4a62ab9d5c
Merged with master.
2018-08-10 16:53:08 +03:00
Alexey Milovidov
36db216abf
Preparation for extra warnings [#CLICKHOUSE-2]
2018-08-10 07:02:56 +03:00
chertus
479166283e
DecField (in progress)
2018-08-09 19:32:01 +03:00
Nikolai Kochetov
4fd3d57e79
Less compiler warnings.
2018-08-09 13:52:54 +03:00
Nikolai Kochetov
79db5b261f
Less compiler warnings.
2018-08-09 13:52:46 +03:00
Nikolai Kochetov
f4d9d50168
Merged with master.
2018-08-08 15:01:18 +03:00
Nikolai Kochetov
e83268a7f4
Optimize mapUniqueIndex for ColumnWIthDictionary.
2018-08-07 21:12:04 +03:00