Commit Graph

113 Commits

Author SHA1 Message Date
Nikita Taranov
93d0f7a485 refactor 2024-07-08 15:51:12 +01:00
Robert Schulze
335a0844f5
Cosmetics and docs 2024-05-27 09:41:29 +00:00
Igor Markelov
47b347c96c Add estimateCardinalityInPermutedRange for ColumnNullable 2024-05-26 19:26:55 +00:00
Igor Markelov
bd02ef23e3 Merge branch 'master' into add-compression-sorts-optimization 2024-05-26 14:45:54 +00:00
Igor Markelov
be4f007e9d Refactor EqualRange 2024-05-22 15:38:50 +00:00
Kruglov Pavel
ac54e754fe
Merge branch 'master' into dynamic-data-type 2024-05-20 13:49:14 +02:00
Alexey Milovidov
cde1b82ebd Print number tips in case of LowCardinality and Nullable 2024-05-18 06:42:59 +02:00
avogar
df92f42237 Fix tests, improve dynamic/variantElement functions, add more comments 2024-04-30 18:45:19 +00:00
avogar
0db76bf631 Add more tests and docs, fix collecting statistics, fix prefetching columns in wide parts 2024-04-26 18:52:49 +00:00
avogar
69a3aa7bcf Implement Dynamic data type 2024-04-26 11:02:33 +00:00
taiyang-li
e789d15948 optimize insertmanyfrom of nullable(number) or nullable(string) 2024-03-05 16:06:25 +08:00
Amos Bird
db7adcfca9
Address review comments 2024-02-29 21:48:16 +08:00
Amos Bird
3b04f5c605
Improve the performance of serialized aggregation method when involving multiple [nullable] columns. 2024-02-29 21:48:15 +08:00
Kruglov Pavel
a7eabbbe3a
Merge branch 'master' into variant-improvements 2024-02-28 17:38:54 +01:00
Alexey Milovidov
0b90076a36
Revert "Revert "Check stack size in Parser"" 2024-02-27 01:34:50 +03:00
Antonio Andelic
fee1565780
Revert "Check stack size in Parser" 2024-02-21 11:33:08 +01:00
avogar
122dc6769d Fixes and improvements for Variant type 2024-02-20 18:58:06 +00:00
Alexey Milovidov
6fd563df52 Miscellaneous 2024-02-19 02:58:51 +01:00
Kruglov Pavel
6858d2f4ca
Merge pull request #58047 from Avogar/variant-data-type
Implement Variant data type
2024-01-29 11:36:08 +01:00
Anton Popov
9d3b4e5308 lower memory usage 2024-01-27 16:40:11 +00:00
avogar
b4dcd6755a Use ColumnConst instead of Field in IColumn::createWithOffsets 2024-01-22 13:41:58 +00:00
Kruglov Pavel
633b4a5dcf
Apply suggestions from code review
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-01-09 19:23:34 +01:00
avogar
319ae440b6 Implement Variant data type 2023-12-19 16:45:15 +00:00
Anton Popov
90e8069681
Merge pull request #53414 from frinkr/perf-getNestedColumnWithDefaultOnNull
boost getNestedColumnWithDefaultOnNull by insertManyDefaults
2023-08-22 13:23:45 +02:00
Anton Popov
6c4b1688d8
Update ColumnNullable.cpp 2023-08-21 16:22:53 +02:00
frinkr
b9568927c1
boost getNestedColumnWithDefaultOnNull by insertManyDefaults 2023-08-14 19:19:07 +08:00
liuneng
65aeb0563f fix include 2023-08-08 13:38:25 +08:00
liuneng
8a83301316 optimize 2023-08-08 13:38:25 +08:00
liuneng
594b38229f another version 2023-08-08 13:38:25 +08:00
liuneng
81f0d17528 change param name 2023-08-08 13:38:25 +08:00
liuneng
62dffd0be2 optimize conditions 2023-08-08 13:38:25 +08:00
liuneng
f96b9b7512 optimize fixed size column 2023-08-08 13:38:25 +08:00
liuneng
035dbdaf22 remove numbers optimization. It will decrease performance 2023-08-08 13:38:25 +08:00
LiuNeng
43e0481ac0 optimize agg with multiple string key 2023-08-08 13:38:25 +08:00
copperybean
10a5230df4 fix unexpected sort result on multi columns with nulls first direction
Change-Id: I94494019312d6ccfe25695f3614353be08800f5f
2023-07-29 11:20:12 +08:00
Alexey Milovidov
5a44dc26e7 Fixes for clang-17 2023-05-13 02:57:31 +02:00
Azat Khuzhin
157da5b8cb
Optimize PODArray::resize_fill() callers (#49459)
* Use PODArray::resize_fill() without initialize whenever it is possible

resize_fill() with initializer uses std::fill() which is a loop over all
elements, while resize_fill() without argument uses memset().

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Optimize ColumnFixedString::insert/insertFrom

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

---------

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-05 20:01:20 +02:00
Kruglov Pavel
ef0d6becba
Merge branch 'master' into null-as-default-all-formats 2023-02-21 16:52:39 +01:00
Kruglov Pavel
d5f413304d
Store null map size into a variable 2023-02-13 13:28:09 +01:00
avogar
d1efd02480 Extend setting input_format_null_as_default for more formats 2023-02-10 16:41:09 +00:00
avogar
c3e8dd8984 Fix low cardinality case 2023-02-08 19:14:28 +00:00
Alexander Tokmakov
3f6594f4c6 forbid old ctor of Exception 2023-01-23 22:18:05 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages (#45449)
* save format string for NetException

* format exceptions

* format exceptions 2

* format exceptions 3

* format exceptions 4

* format exceptions 5

* format exceptions 6

* fix

* format exceptions 7

* format exceptions 8

* Update MergeTreeIndexGin.cpp

* Update AggregateFunctionMap.cpp

* Update AggregateFunctionMap.cpp

* fix
2023-01-24 00:13:58 +03:00
Alexey Milovidov
2aedd41023
Remove strange code (#40195)
* Remove strange code

* Even more code removal

* Fix style

* Remove even more code

* Simplify code by making it slower

* Attempt to do something

* Attempt to do something

* Well do something with this horrible trash

* Add a test
2022-09-12 16:29:23 +02:00
Alexander Tokmakov
bed2206ae9
Merge pull request #39460 from ClickHouse/remove_some_dead_and_commented_code
Remove some dead and commented code
2022-07-22 13:24:34 +03:00
Alexander Tokmakov
a8da5d96fc remove some dead and commented code 2022-07-21 15:05:48 +02:00
Dmitry Novik
d1df66687b
Merge branch 'master' into group-by-use-nulls 2022-07-07 20:54:38 +02:00
Dmitry Novik
1587385f7a Cleanup code 2022-07-07 18:53:20 +00:00
vdimir
65ac97ce89
direct join: handle nullable, add tests 2022-07-04 17:28:14 +00:00
Maksim Kita
437d70d4da Fixed tests 2022-05-11 21:59:51 +02:00