Anton Popov
14168b11f2
Merge remote-tracking branch 'upstream/master' into HEAD
2021-07-07 17:05:11 +03:00
alexey-milovidov
a11351a473
Merge pull request #25484 from vdimir/issue-19589
...
Fix assert with non uint8 in prewhere
2021-06-28 00:03:12 +03:00
alexey-milovidov
6662e7ab0f
Merge pull request #25732 from matwey/missed_include_optional_2
...
Fix some more missed includes
2021-06-26 14:04:06 +03:00
vdimir
eb85c5a8e7
Fix assert with non uint8 in prewhere
2021-06-21 15:32:29 +03:00
Anton Popov
567043113c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-06-21 01:36:06 +03:00
Amos Bird
f2ed5ef42b
Nullable primary key with correct KeyCondition
2021-06-18 23:04:24 +08:00
mergify[bot]
c723dd7d40
Merge branch 'master' into arrow
2021-06-18 12:18:57 +00:00
vdimir
23fb229dec
Merge branch 'update_01049_join_low_card_bug' into issue-23351
2021-06-17 15:38:40 +03:00
Matwey V. Kornilov
aa1ac2a506
Add missed #include <optional>
...
This is required for std::optional<std::string> language;
Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
2021-06-17 14:41:28 +03:00
Maksim Kita
67e9b85951
Merge ext into common
2021-06-16 23:28:41 +03:00
Pavel Kruglov
c8b37977da
Fix bugs, support dictionary for Arrow format
2021-06-15 16:15:27 +03:00
vdimir
05115dcd32
Merge branch 'master' into issue-23351
2021-06-15 12:06:42 +03:00
Alexey Milovidov
447d7bb8cd
Minor changes
2021-06-14 07:13:35 +03:00
Alexey Milovidov
93b907931d
Fix the annoying ya.make.
2021-06-13 21:21:44 +03:00
Anton Popov
7e9b13199a
dynamic columns: improve performance of parsing json data
2021-06-12 18:13:13 +03:00
alexey-milovidov
05d1af153c
Merge branch 'master' into rename-const-context-ptr
2021-06-12 03:25:09 +03:00
Anton Popov
ca5a07a5f5
dynamic subcolumns: better hash tables while parsing
2021-06-10 16:57:31 +03:00
Alexey Milovidov
bcf4d5c29d
Fix clang-tidy
2021-06-10 05:23:44 +03:00
Anton Popov
6a5daca135
dynamic subcolumns: new format and several fixes
2021-06-08 12:33:04 +03:00
Anton Popov
205a23282b
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-06-07 19:38:22 +03:00
Anton Popov
b3b29be02f
Merge remote-tracking branch 'upstream/master' into HEAD
2021-06-07 19:03:24 +03:00
Anton Popov
384ea35ed9
fix getIndicesOfNonDefaultRows with ColumnConst
2021-06-07 18:44:47 +03:00
Anton Popov
eaf806a731
better interface for getIndicesOfNonDefaultRows
2021-06-07 18:34:22 +03:00
Anton Popov
e41749997d
better interface for getting ratio of default values
2021-06-07 16:50:27 +03:00
Alexey Milovidov
885ce194e0
Making fundamentals correct
2021-06-07 00:49:55 +03:00
mergify[bot]
d68d5e0ef1
Merge branch 'master' into rename-const-context-ptr
2021-06-04 14:41:41 +00:00
kssenii
b209893cd1
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into versioning
2021-06-03 11:30:47 +00:00
Anton Popov
df5c407950
fix tests
2021-06-02 19:50:54 +03:00
Nikolai Kochetov
dbaa6ffc62
Rename ContextConstPtr to ContextPtr.
2021-06-01 15:20:52 +03:00
achimbab
99a5f1506a
Merge remote-tracking branch 'origin' into pr_sequenceNextNode
2021-06-01 17:25:24 +09:00
kssenii
e510c3839e
More correct
2021-05-31 22:09:54 +00:00
Anton Popov
9f52362b81
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-05-31 23:08:45 +03:00
Anton Popov
018a303387
Merge remote-tracking branch 'upstream/master' into HEAD
2021-05-31 23:08:04 +03:00
kssenii
d18609467b
First version
2021-05-30 13:57:30 +00:00
Anton Popov
24707e6604
dynamic subcolumns: better handling of incompatible types
2021-05-29 04:19:20 +03:00
Alexander Kuzmenkov
3f57fc085b
remove mutable context references from functions interface
...
Also remove it from some visitors.
2021-05-28 19:45:37 +03:00
Anton Popov
7e5f784597
dynamic subcolumns: better handling of nulls and empty arrays
2021-05-27 19:54:27 +03:00
Anton Popov
d83819fcae
fix build
2021-05-26 18:34:34 +03:00
Anton Popov
13ae56985f
dynamic subcolumns: better handling of missed values
2021-05-26 05:41:38 +03:00
Anton Popov
0bdf9d207c
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-05-26 00:25:47 +03:00
Anton Popov
3e92c7f61a
Merge remote-tracking branch 'upstream/master' into HEAD
2021-05-25 21:45:19 +03:00
Anton Popov
de4afb0cb9
ColumnSparse: add comments
2021-05-21 03:57:11 +03:00
Anton Popov
8718044dbd
fix style check
2021-05-19 23:25:55 +03:00
vdimir
d266050b23
Merge branch 'master' into issue-23351
2021-05-17 09:42:59 +03:00
Anton Popov
46226a5591
fix unit tests
2021-05-17 02:17:01 +03:00
Anton Popov
86d6673d61
minor fixes
2021-05-16 21:59:43 +03:00
vdimir
8dddcebe8c
Handle correct nullability with low card in HashJoin
2021-05-15 17:09:51 +03:00
vdimir
be966f0e8c
Revert "Try to not remove lowcard in merge join"
...
This reverts commit 35bbbd05b6
.
2021-05-15 14:26:59 +03:00
Anton Popov
d8df0903b9
Merge remote-tracking branch 'upstream/master' into HEAD
2021-05-14 23:38:16 +03:00
Anton Popov
8ae1533f8f
better serialization in native format
2021-05-14 23:29:48 +03:00
vdimir
35bbbd05b6
Try to not remove lowcard in merge join
2021-05-14 15:10:56 +03:00
Pavel Kruglov
25ceb1df65
Final fixes
2021-05-13 20:00:13 +03:00
mergify[bot]
1b181606e8
Merge branch 'master' into arrow_array
2021-05-13 12:23:48 +00:00
Pavel Kruglov
8ed6ad7c55
Refactor, support all types in array, add nested arrays support, more tests
2021-05-12 19:06:08 +03:00
Alexey Milovidov
18b7e38994
Remove redundant template
2021-05-10 00:26:34 +03:00
Alexey Milovidov
3de9a12b76
Fix build
2021-05-07 01:57:41 +03:00
Anton Popov
0dea7d2e4b
dynamic columns: support of different types
2021-05-06 08:33:06 +03:00
Anton Popov
f22f22c4fe
dynamic columns: support of different types
2021-05-06 03:40:17 +03:00
Alexey Milovidov
2c9ae14cb0
Add 256 bit integers in some places
2021-05-06 03:31:09 +03:00
Alexey Milovidov
962a7113f6
Remove code that I do not like (crazy templates)
2021-05-04 20:26:09 +03:00
Alexey Milovidov
43bd37b6cc
Fix style
2021-05-04 02:46:11 +03:00
Alexey Milovidov
6ca37b9512
Untangle UUID
2021-05-04 01:59:38 +03:00
Alexey Milovidov
02ce9cc725
Untangle UUID
2021-05-04 01:46:51 +03:00
Alexey Milovidov
8f4dd25511
Fix style
2021-05-03 01:11:30 +03:00
Alexey Milovidov
e7de2a74fe
Update test
2021-05-02 22:04:36 +03:00
Alexey Milovidov
1fda866881
Merge branch 'master' into normalize-bigint
2021-05-02 21:24:45 +03:00
Maksim Kita
318c4bb80d
Add examples folder filter to ya.make.in
2021-04-30 11:25:52 +03:00
vdimir
6e4b37a45e
Merge branch 'master' into fix-join-lowcard-nullable
2021-04-28 20:06:49 +03:00
Nikita Mikhaylov
9f55424250
move to examples everywhere
2021-04-27 01:51:42 +03:00
Anton Popov
28a9a5c277
dynamic subcolumns: support arrays
2021-04-26 00:57:21 +03:00
Alexey Milovidov
9eb60086b0
Attempt to normalize big integers
2021-04-25 13:02:19 +03:00
Alexey Milovidov
8f01af62d9
Merge branch 'master' into normalize-bigint
2021-04-25 06:57:44 +03:00
Anton Popov
6240169bbb
dynamic subcolumns: wip
2021-04-24 02:56:26 +03:00
Anton Popov
e237840810
dynamic subcolumns: wip
2021-04-23 17:34:53 +03:00
Anton Popov
aa8d31dbca
dynamic subcolumns: wip
2021-04-23 15:53:38 +03:00
Anton Popov
a842a599c4
ColumnSparse: fixes and better performance
2021-04-21 03:23:02 +03:00
Anton Popov
0b65552e63
ColumnSparse: fixes
2021-04-20 17:20:39 +03:00
Anton Popov
aea93d9ae5
Merge remote-tracking branch 'upstream/master' into HEAD
2021-04-20 15:16:12 +03:00
Azat Khuzhin
2561a67fd8
Replace !__clang__ with !defined(__clang) to fix gcc builds
...
$ gg 'if !__clang__' | cut -d: -f1 | sort -u | xargs sed -i 's/#if !__clang__/#if !defined(__clang__)/g'
2021-04-18 23:37:50 +03:00
vdimir
826296c799
Convert columns to LC(Nullable(T)) in join
2021-04-17 22:03:32 +03:00
alexey-milovidov
a1ce6632d8
Merge pull request #23207 from ClickHouse/fix-bug-in-lowcardinality
...
Fix fairly terrible bug in LowCardinality #16171
2021-04-17 15:58:50 +03:00
Anton Popov
b5b624f3d7
ColumnSparse: fixes for dictionaries
2021-04-17 05:25:22 +03:00
Anton Popov
2afa1590e0
ColumnSparse: fix MergeTree in old syntax
2021-04-17 04:06:59 +03:00
Alexey Milovidov
36fe378a17
Fix fairly terrible bug in LowCardinality #16171
2021-04-17 02:11:21 +03:00
Anton Popov
6ce875175b
Merge remote-tracking branch 'upstream/master' into HEAD
2021-04-16 02:08:20 +03:00
Anton Popov
aa617c6b3c
ColumnSparse: fix vertical merge
2021-04-16 00:47:11 +03:00
changvvb
4eee2d0977
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-04-15 22:54:26 +08:00
Anton Popov
860ed20368
ColumnSparse: more fixes
2021-04-15 05:16:09 +03:00
Anton Popov
236ab68724
ColumnSparse: several fixes
2021-04-14 16:20:05 +03:00
Anton Popov
fac54e9ccc
ColumnSparse: unit tests and several fixes
2021-04-13 15:08:24 +03:00
Anton Popov
298251e55d
fix merges with sparse columns and disable sparse for some data types
2021-04-12 02:33:53 +03:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr ( #22297 )
...
* Replace all Context references with std::weak_ptr
* Fix shared context captured by value
* Fix build
* Fix Context with named sessions
* Fix copy context
* Fix gcc build
* Merge with master and fix build
* Fix gcc-9 build
2021-04-11 02:33:54 +03:00
Anton Popov
4b8e90338d
ColumnSparse: fixes
2021-04-08 05:08:37 +03:00
changvvb
1f8bd034a3
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-04-06 15:55:03 +08:00
Anton Popov
d7ca6ecc50
ColumnSparse: sorting and dummy aggregation
2021-04-06 03:02:48 +03:00
Anton Popov
d46958a8d2
Merge remote-tracking branch 'upstream/master' into HEAD
2021-04-06 00:54:49 +03:00
alexey-milovidov
b35ba1152f
Update IColumnDummy.h
2021-04-04 05:04:11 +03:00
Alexey Milovidov
3050486308
Fix assert in Arena
2021-04-03 22:50:49 +03:00
Anton Popov
0d1ac1fec3
ColumnSparse: sorting
2021-04-03 05:40:30 +03:00
Anton Popov
a78f531597
ColumnSparse: fixes
2021-04-03 03:04:48 +03:00
Anton Popov
2a7a77e0a2
ColumnSparse: support of functions
2021-04-01 21:18:28 +03:00
Anton Popov
17071471f2
ColumnSparse: support of functions
2021-03-31 04:08:27 +03:00
achimbab
7dd671fa8e
Merge remote-tracking branch 'origin/master' into HEAD
2021-03-30 10:31:43 +09:00
Anton Popov
372a1b1fe7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-29 19:57:49 +03:00
Anton Popov
577d571300
ColumnSparse: initial implementation
2021-03-29 19:54:24 +03:00
changvvb
c1c5db1944
Update jemalloc_internal_defs & fix unit test
2021-03-30 00:07:34 +08:00
achimbab
92ea481ee6
Merge remote-tracking branch 'origin/master' into HEAD
2021-03-29 17:57:09 +09:00
Anton Popov
6a15431be7
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-25 15:57:35 +03:00
Alexander Kuzmenkov
49f617d8ec
return the type check
2021-03-23 01:07:04 +03:00
Alexander Kuzmenkov
77a2f03d3b
prevent accidental reinterpret_cast in Field::get<>
2021-03-22 23:23:44 +03:00
achimbab
0e379585ac
Merge remote-tracking branch 'upstream/master' into pr_sequenceNextNode
2021-03-18 17:54:04 +09:00
Anton Popov
ed42437219
Merge remote-tracking branch 'upstream/master' into HEAD
2021-03-13 01:41:26 +03:00
Anton Popov
f7c7c5a9c7
Revert "refactoring of serializations"
...
This reverts commit df6663dcb6
.
2021-03-09 20:25:23 +03:00
Anton Popov
df6663dcb6
refactoring of serializations
2021-03-09 20:02:26 +03:00
Anton Popov
bc417cf54a
refactoring of serializations
2021-03-09 17:46:52 +03:00
achimbab
4965312849
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into HEAD
2021-03-07 22:53:42 +09:00
Maksim Kita
8ee89b59ec
Fixed build
2021-03-06 14:36:37 +03:00
Maksim Kita
d04e707567
Fixed special build
2021-03-06 14:36:37 +03:00
Maksim Kita
980d171207
Fixed typos
2021-03-06 14:36:37 +03:00
Maksim Kita
b6e72334ef
Fixed DefaultHash for StringRef
2021-03-06 14:36:37 +03:00
Maksim Kita
9763c4a4fb
IColumn added skipSerializedInArena method
2021-03-06 14:36:37 +03:00
Amos Bird
494c2dba6c
Fix error
2021-03-02 19:12:51 +08:00
Amos Bird
c41dedc922
optimize for ColumnLowCardinality
2021-03-02 11:55:58 +08:00
alexey-milovidov
32c011052f
Update IColumnImpl.h
2021-03-02 11:55:58 +08:00
alexey-milovidov
220d3cae7f
Update IColumn.h
2021-03-02 11:55:58 +08:00
Amos Bird
62e8684ad1
IColunm::hasEqualValues()
2021-03-02 11:55:58 +08:00
achimbab
ee5d76a82b
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into HEAD
2021-02-27 18:33:13 +09:00
Vitaly Baranov
92bf2cfb50
Merge pull request #20968 from vitlibar/protobuf-format-better-tests
...
Better tests for protobuf format.
2021-02-24 15:47:39 +03:00
Maksim Kita
f274343cf0
Fixed Map type getExtremes
2021-02-22 23:32:43 +03:00
Alexey Milovidov
00e6b6232f
Revert "optimize aggfunc column data copy ( #19407 )"
...
This reverts commit 7e3186c826
.
2021-02-21 12:49:50 +03:00
Vitaly Baranov
2eecaee08d
Better tests for protobuf format.
2021-02-20 23:13:32 +03:00
Alexey Milovidov
a9d9a6d56f
Merge branch 'master' into in-memory-compression
2021-02-19 12:01:33 +03:00
achimbab
717ba4364b
Merge remote-tracking branch 'origin/master' into HEAD
2021-02-18 21:20:02 +09:00
Alexey Milovidov
04cb91a0fd
Fix error
2021-02-18 06:02:41 +03:00
Alexey Milovidov
5007f7f018
Fix typo
2021-02-18 05:57:15 +03:00
Alexey Milovidov
634be2b933
Fix error
2021-02-18 03:52:09 +03:00
Alexey Milovidov
b7011f4f9c
Fix build
2021-02-18 02:52:07 +03:00
Alexey Milovidov
1781a64370
Whitespaces
2021-02-18 02:11:41 +03:00
Alexey Milovidov
9b72255ca4
Implement compression for all columns except LowCardinality
2021-02-18 02:09:46 +03:00
Vitaly Baranov
18e036d19b
Improved serialization for data types combined of Arrays and Tuples.
...
Improved matching enum data types to protobuf enum type.
Fixed serialization of the Map data type.
Omitted values are now set by default.
2021-02-17 20:50:09 +03:00
Alexey Milovidov
96dc69609c
Fix Arcadia
2021-02-15 00:00:18 +03:00
Alexey Milovidov
34f5ea00e4
Merge branch 'master' into in-memory-compression
2021-02-13 02:08:40 +03:00
Alexey Milovidov
b5826121db
Fix Arcadia
2021-02-13 00:29:06 +03:00
Maksim Kita
f9527738c9
Added comments
2021-02-12 12:12:04 +03:00
Alexey Milovidov
170daa5d65
Generate ya.make
2021-02-12 05:33:39 +03:00
Alexey Milovidov
71d84b9f67
Fix style
2021-02-12 03:52:53 +03:00
Alexey Milovidov
ed7270dd8b
Better interface
2021-02-12 03:25:00 +03:00
alexey-milovidov
5a4a5fda20
Update ColumnVector.h
2021-02-12 01:04:55 +03:00
Maksim Kita
b276eac197
Common types template instantiations
2021-02-12 00:54:50 +03:00
Alexey Milovidov
5355175e49
Development
2021-02-12 00:26:14 +03:00
Alexey Milovidov
9b4f6fb711
Don't compress small blocks
2021-02-11 16:41:21 +03:00
Alexey Milovidov
d539948fe7
In memory compression: a prototype
2021-02-11 16:40:15 +03:00
templarzq
7e3186c826
optimize aggfunc column data copy ( #19407 )
...
* optimize agg column data copy
* add aggfunc col data copy test
* fix null warning
* fix style
* fix style
* fix style
* fix style
* fix copy same dat to same pos bug
* fix style
* fix style
* Update ColumnAggregateFunction.cpp
fix type check
* control record buf size
* fix performance
* fix performance
* fix destroy data speed
* decrease run time.
* fix warning
* decrease test run time
* Update aggfunc_col_data_copy.xml
* replace unordered_map with HashMap
* fix compile err
* fix compile err
* fix compile err
* fix compile err
* fix compile err
* fix compile err
* fix compile err
* fix compile err
* fix compile err
* fix hash map compile err
* fix compile err
* fix compile err
* fix format
* faster test
Co-authored-by: centos7 <templarzq@localhost.localdomain>
2021-02-08 16:18:48 +03:00
alesapin
011109c82a
Merge pull request #17348 from xjewer/alex/CLICKHOUSE-606_deduplication_UUID
...
CLICKHOUSE-606: query deduplication based on parts' UUID
2021-02-05 22:47:34 +03:00
Alexey Milovidov
12485eee6b
Fix some of the issues found by Coverity
2021-02-02 22:07:23 +03:00
Aleksei Semiglazov
921518db0a
CLICKHOUSE-606: query deduplication based on parts' UUID
...
* add the query data deduplication excluding duplicated parts in MergeTree family engines.
query deduplication is based on parts' UUID which should be enabled first with merge_tree setting
assign_part_uuids=1
allow_experimental_query_deduplication setting is to enable part deduplication, default ot false.
data part UUID is a mechanism of giving a data part a unique identifier.
Having UUID and deduplication mechanism provides a potential of moving parts
between shards preserving data consistency on a read path:
duplicated UUIDs will cause root executor to retry query against on of the replica explicitly
asking to exclude encountered duplicated fingerprints during a distributed query execution.
NOTE: this implementation don't provide any knobs to lock part and hence its UUID. Any mutations/merge will
update part's UUID.
* add _part_uuid virtual column, allowing to use UUIDs in predicates.
Signed-off-by: Aleksei Semiglazov <asemiglazov@cloudflare.com>
address comments
2021-02-02 16:53:39 +00:00
achimbab
8db0caf901
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into sequenceNextNode
2021-01-31 12:20:30 +09:00
Anton Popov
031132038b
fix filtering by uint8 greater than 127
2021-01-29 10:39:18 +03:00
achimbab
fce1ca255d
Implement sequenceNextNode
2021-01-28 02:00:31 +09:00
Alexey Milovidov
093108bf81
Normalize BigInt implementation
2021-01-27 03:54:57 +03:00
Alexey Milovidov
d296424dfa
Remove even more code
2021-01-26 22:39:03 +03:00
Alexey Milovidov
5f13fdddc0
Remove useless code from BigInt
2021-01-26 21:22:40 +03:00
alexey-milovidov
78fff6bc39
Merge branch 'master' into multiple-nested
2021-01-15 14:54:27 +03:00
Alexey Milovidov
522ccddbec
Better code
2021-01-14 23:05:00 +03:00
Alexey Milovidov
f60c5f8296
Merge branch 'master' into templarzq/master
2021-01-14 22:33:11 +03:00
templarzq
8b98b467b6
Update ColumnAggregateFunction.cpp
2021-01-13 13:57:42 +08:00
templarzq
c310f69dc3
Update ColumnAggregateFunction.cpp
2021-01-13 10:35:33 +08:00
templarzq
36381ce35e
Update ColumnAggregateFunction.cpp
2021-01-12 14:36:26 +08:00
Anton Popov
36ae0e4d35
Merge remote-tracking branch 'upstream/master' into HEAD
2021-01-11 13:51:12 +03:00
templarzq
8704136300
Update ColumnAggregateFunction.cpp
2021-01-11 14:38:21 +08:00
templarzq
7d1842cb19
Update ColumnAggregateFunction.cpp
2021-01-11 10:49:18 +08:00
templarzq
bf90fcc98e
Update ColumnAggregateFunction.cpp
...
fix warning
2021-01-11 10:40:03 +08:00
templarzq
b57c353289
Update ColumnAggregateFunction.h
2021-01-08 16:23:33 +08:00
templarzq
f32f6a0863
Update ColumnAggregateFunction.h
2021-01-08 16:10:36 +08:00
templarzq
ee8e3f94e7
Update ColumnAggregateFunction.cpp
...
convert eol to LF
2021-01-08 16:08:12 +08:00
templarzq
c7a3ae305a
Update ColumnAggregateFunction.cpp
...
fix style check
2021-01-08 15:14:42 +08:00
templarzq
ab9a3eaecb
Update ColumnAggregateFunction.cpp
2021-01-08 14:21:44 +08:00
templarzq
1769a51f70
Update ColumnAggregateFunction.h
2021-01-07 15:34:32 +08:00
templarzq
0b6c0d474f
Update ColumnAggregateFunction.cpp
2021-01-07 15:33:42 +08:00
Alexey Milovidov
25b100761f
Merge branch 'master' into function_byte_size
2021-01-03 04:36:48 +03:00
Alexey Milovidov
a368a6802d
Move implementation inside out
2021-01-03 01:58:10 +03:00
Alexey Milovidov
89595e184f
Consistency
2021-01-02 00:26:41 +03:00
Alexey Milovidov
4b3ae495d6
Merge branch 'master' into CurtizJ-multiple-nested
2021-01-02 00:25:16 +03:00
alexey-milovidov
ae802574b2
Update ColumnsCommon.cpp
2020-12-21 11:35:38 +08:00
Amos Bird
9348526078
Devirtualize -If and vectorize count
2020-12-21 11:35:38 +08:00
Anton Popov
a42b00c9aa
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-17 20:43:23 +03:00
Anton Popov
b485b5bd1c
minor fixes and comments added
2020-12-16 01:22:21 +03:00
Anton Popov
c78861e86e
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-15 01:45:01 +03:00
Anton Popov
afc2d7099b
add conversion from array to map
2020-12-15 01:16:04 +03:00
Alexander Kuzmenkov
d757f32300
Remove some redundant includes to speed up build
2020-12-11 02:58:11 +03:00
Anton Popov
d7aad3bf79
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-07 19:13:01 +03:00
Anton Popov
6b09669d66
data type map: several fixes
2020-12-05 22:36:09 +03:00
Anton Popov
12604ce0e6
Merge branch 'dev_map2' of git://github.com/hexiaoting/ClickHouse into merging-map
2020-12-01 14:52:30 +03:00
Vasily Nemkov
87945fb68b
Merge branch 'master' into HEAD
2020-11-30 23:25:57 +03:00
hexiaoting
5b3a7f5c98
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-26 16:43:27 +08:00
hexiaoting
74d875c837
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-26 15:13:52 +08:00
myrrc
fbb0e6e6aa
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-24 16:04:17 +03:00
Anton Popov
b384beb564
Merge remote-tracking branch 'upstream/master' into HEAD
2020-11-23 17:46:51 +03:00
Alexey Milovidov
fbbf439338
Merge branch 'master' into Enmk-DateTime64_fixes_comparison
2020-11-23 05:46:17 +03:00
Anton Popov
1f65478b49
implement nested with multiple nesting
2020-11-21 20:27:42 +03:00
Nikolai Kochetov
bac1def5f9
Merge pull request #17134 from abyss7/tcp-port
...
Implement tcpPort() function for tests
2020-11-20 20:32:55 +03:00
alexey-milovidov
5aff81b8b8
Merge pull request #17135 from amosbird/ccc
...
Fix ColumnConst comparison.
2020-11-19 07:36:41 +03:00
Ivan Lezhankin
fdd1c182ab
Merge remote-tracking branch 'upstream/master' into tcp-port
2020-11-18 16:22:00 +03:00
Alexey Milovidov
26d7795221
Merge branch 'master' into amosbird-ccc
2020-11-18 07:42:45 +03:00
Alexey Milovidov
acd2b62c9d
Revert "Update ColumnConst.cpp"
...
This reverts commit 7036d2f963
.
2020-11-18 07:42:14 +03:00
alexey-milovidov
7036d2f963
Update ColumnConst.cpp
2020-11-17 17:35:53 +03:00
alexey-milovidov
9de0217c93
Update ColumnConst.h
2020-11-17 17:34:26 +03:00
Amos Bird
f24cf46db5
Fix ColumnConst comparison.
2020-11-17 22:14:31 +08:00
Ivan Lezhankin
f897f7c93f
Refactor IFunction to execute with const arguments
2020-11-17 16:24:45 +03:00
alexey-milovidov
b494b18748
Merge pull request #17108 from ClickHouse/ya-make-owners
...
Add "OWNER" to ya.make files.
2020-11-17 05:19:46 +03:00
Alexey Milovidov
24f4fa6edf
Follow Arcadia ya.make rules
2020-11-17 00:16:50 +03:00
Alexey Milovidov
3df04ce0c2
Follow Arcadia ya.make rules
2020-11-16 21:24:58 +03:00
Nikita Mikhaylov
4d33e79cb4
Update ColumnDecimal.h
2020-11-16 14:31:52 +03:00
myrrc
2c9b77d5dd
re-merged with master
2020-11-14 16:51:38 +03:00
myrrc
4f4beab1ff
re-merged with master
2020-11-14 16:50:25 +03:00
myrrc
b1c0089b78
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-14 16:50:04 +03:00
myrrc
2430d9d20d
fixed the UB when casting from double to int64_t
...
Corresponding upstream fix: https://github.com/cerevra/int/pull/24
2020-11-13 18:13:15 +03:00
Ivan
902091cc07
Slightly better miniselect usage ( #16896 )
...
* Slightly better miniselect usage
* Update ColumnDecimal.cpp
2020-11-13 14:28:18 +03:00
Vasily Nemkov
eb9604ecd0
Fixed comparison of DateTime4 with different scales
...
Made DateTime64 a stand-alone type rather than typedef to allow function resolution/deduction based on type.
Added tests.
2020-11-12 23:32:16 +03:00
myrrc
a8d8dd7d3e
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-12 14:50:59 +03:00
tavplubix
058aa8f85e
Merge pull request #16824 from ClickHouse/replace_stringstreams_with_buffers
...
Replace std::*stringstreams with DB::*Buffers
2020-11-12 01:11:44 +03:00
Nikolai Kochetov
57c7ad1833
Fix style.
2020-11-11 12:47:48 +03:00
Nikolai Kochetov
0410e383d9
Try fix check.
2020-11-11 12:46:36 +03:00
Nikolai Kochetov
ac8b658a4a
Try fix ci.
2020-11-10 23:25:29 +03:00
Alexander Tokmakov
b94cc5c4e5
remove more stringstreams
2020-11-10 21:22:26 +03:00
myrrc
e460248624
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-10 14:54:24 +03:00
hexiaoting
c7c14cc6ad
fix bug
2020-11-10 11:24:39 +08:00
Danila Kutenin
d0840bfc5d
Move miniselect to submodule and replace quantile exact with better algorithm
2020-11-10 00:53:43 +03:00
Danila Kutenin
3c6794bf37
Add Floyd-Rivest selection algorithm instead of std::partial_sort
2020-11-09 20:22:05 +03:00
Alexey Milovidov
fd84d16387
Fix "server failed to start" error
2020-11-07 03:14:53 +03:00
alexey-milovidov
4e85d6a4c3
Merge pull request #16273 from Avogar/collation-support
...
Support collate in LowCardinality, Nullable, Array and Tuple, where nested type is String
2020-11-06 21:52:52 +03:00
hexiaoting
ef0b78cf12
style error fix
2020-11-06 17:21:26 +08:00
hexiaoting
28e87da976
remove map literal and Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-06 15:07:41 +08:00
myrrc
680e2a5af1
fixing Decimal is_POD
2020-11-05 13:11:56 +03:00
Alexey Milovidov
b56486510f
Improve Arcadia
2020-11-05 12:55:01 +03:00
myrrc
8cf203c21c
simplified the ColumnDecimal
2020-11-05 12:47:04 +03:00
myrrc
6b35657f59
updated the mem check code
2020-11-05 12:38:46 +03:00
myrrc
bcd8f1896f
fixed the MSan exception on ColumnConst(ColumnDecimal) ctor
2020-11-05 12:10:26 +03:00
Pavel Kruglov
b67465b010
Fix style
2020-11-03 18:00:51 +03:00
Pavel Kruglov
822bbcfdba
Make Cmp with template
2020-11-03 17:25:52 +03:00
Alexey Milovidov
9868b58531
Minor change
2020-11-03 17:09:37 +03:00
Alexey Milovidov
cd86f98aec
Minor fixes
2020-11-03 17:09:37 +03:00
Alexey Milovidov
bcd660bb57
Minor fixes
2020-11-03 17:09:37 +03:00
Pavel Kruglov
cf3f39ed29
Small changes
2020-11-03 17:09:37 +03:00
Pavel Kruglov
4d399fff3e
Support collation for Array and Tuple
2020-11-03 17:09:37 +03:00
Pavel Kruglov
5c296365e2
Fix build error
2020-11-03 17:08:40 +03:00
Pavel Kruglov
2892252b36
Support collate in LowCardinality(String) and Nullable(String) and refactor ColumnString
2020-11-03 17:06:21 +03:00
hexiaoting
3a70cf3773
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-02 14:46:56 +08:00
myrrc
7d6f48263e
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-10-30 20:17:54 +03:00
myrrc
9ca35c0b44
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-10-30 17:22:24 +03:00
Maxim Akhmedov
3627fabfb9
Remove -g0 form Arcadia build settings.
2020-10-29 17:37:23 +03:00
Alexander Kuzmenkov
ba34145817
Merge pull request #16425 from filimonov/minumum
...
Fix typos reported by codespell
2020-10-28 08:07:18 +03:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell
2020-10-27 12:04:03 +01:00
Alexey Milovidov
32ed8c9681
Fix trailing whitespace
2020-10-26 22:12:40 +03:00
myrrc
4d11bd036b
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-10-26 17:42:47 +03:00
myrrc
5b4981b466
added getFloat64 to ColumnDecimal, updated tests
2020-10-26 16:27:58 +03:00
Nikolai Kochetov
3151de1b4e
Update ColumnConst include.
2020-10-26 13:26:52 +03:00
hexiaoting
483be134b2
Support MergeTree Engine
2020-10-23 16:36:17 +08:00
Nikolai Kochetov
68c9a57788
Merge branch 'master' into new-block-for-functions-4
2020-10-21 09:17:25 +03:00
Nikolai Kochetov
bc58637ec2
Fixing build.
2020-10-19 21:37:44 +03:00
Nikolai Kochetov
ce2f6a0560
Part 4.
2020-10-18 00:41:50 +03:00
Alexey Milovidov
5e502c52b3
Merge branch 'master' into AES_encrypt_decrypt
2020-10-14 16:30:23 +03:00
hexiaoting
cdb4dd57a6
Add new DataType Map(key,value)
2020-10-14 14:35:14 +08:00
Alexey Milovidov
269b6383f5
Check for #pragma once in headers
2020-10-10 21:37:02 +03:00
Nikolai Kochetov
a7fb2e38a5
Use ColumnWithTypeAndName as function argument instead of Block.
2020-10-09 10:41:28 +03:00
Alexey Milovidov
059646743b
Remove OpenCL
2020-09-19 17:20:00 +03:00
alexey-milovidov
65517da62b
Merge pull request #14495 from nikitamikhaylov/update-permutation-bugfix-3
...
updatePermumation with Nullable
2020-09-19 13:53:55 +03:00
Alexey Milovidov
9df338f37b
Merge branch 'master' into remove-header
2020-09-18 01:18:53 +03:00
Alexey Milovidov
799a675b5d
Merge branch 'master' into AES_encrypt_decrypt
2020-09-17 21:42:51 +03:00
alexey-milovidov
a93c579798
Update ColumnString.cpp
2020-09-17 00:36:57 +03:00
Artem Zuikov
51ba12c2c3
Try speedup build ( #14809 )
2020-09-15 12:55:57 +03:00
Alexey Milovidov
3795dfed14
Remove one header
2020-09-14 16:34:44 +03:00
nikitamikhaylov
2bffefae1a
typo
2020-09-14 16:30:44 +03:00
nikitamikhaylov
5697f6d926
style fix
2020-09-14 16:14:18 +03:00
alesapin
902624cb7b
Merge branch 'master' into if_bug
2020-09-11 10:54:32 +03:00
Ilya Yatsishin
594ce8ea66
Merge pull request #14636 from mcheshkov/use-global-addincl-for-icu
...
Use global ICU ADDINCL for Arcadia build
2020-09-09 20:50:52 +03:00
alesapin
62428845a0
Bug in mutation
2020-09-09 19:47:06 +03:00
Mikhail Cheshkov
673244876e
Use global ICU ADDINCL for Arcadia build
2020-09-09 18:01:52 +03:00
nikitamikhaylov
751e410915
better[3]
2020-09-09 17:11:08 +03:00
myrrc
a8f5d9e70f
added the test and comment
2020-09-09 15:52:44 +03:00
Nikita Mikhaylov
ead6bfe05c
better[2]
2020-09-09 15:42:56 +03:00
Nikita Mikhaylov
f04d67b688
better
2020-09-09 15:41:51 +03:00
Nikita Mikhaylov
530057e79f
update all columns
2020-09-09 15:27:05 +03:00
Nikita Mikhaylov
c03a9487ca
another test + fix
2020-09-09 14:55:20 +03:00
alexey-milovidov
cf22527de0
Merge pull request #14590 from ClickHouse/remove-useless-lc-code
...
Remove useless line.
2020-09-09 09:39:07 +03:00
Nikita Mikhaylov
614e01b0e4
better
2020-09-08 23:12:55 +03:00
myrrc
78eac658b0
adding correct LC nested nullability checker
2020-09-08 22:51:44 +03:00
Nikolai Kochetov
fe0507663b
Remove useless line.
2020-09-08 22:40:22 +03:00
nikitamikhaylov
c4f0465a7c
limit
2020-09-08 18:54:30 +03:00
Alexey Milovidov
e3924b8057
Fix "Arcadia"
2020-09-08 01:14:13 +03:00
Nikita Mikhaylov
8793281e3e
remove cout
2020-09-07 17:02:59 +03:00
Nikita Mikhaylov
c09d86e5e4
another fixes
2020-09-07 16:15:04 +03:00
Nikita Mikhaylov
4fadb6c3ec
fast test
2020-09-04 21:05:06 +03:00
Nikita Mikhaylov
f67a7b3a3d
better
2020-09-04 19:53:50 +03:00
Nikita Mikhaylov
d718c5af99
fixed
2020-09-04 17:36:08 +03:00
Artem Zuikov
7c20aa2c62
Another 256-bit integers (strict 32 bytes) ( #14229 )
2020-09-04 16:33:02 +03:00
Artem Zuikov
d304d522cc
Refactoring: rename types to allow change bigint library ( #14219 )
2020-09-01 12:54:50 +03:00
Vasily Nemkov
b147ffcd43
encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions
...
Functions to encrypt/decrypt any input data with OpenSSL's ciphers
with custom key, iv, and add (-gcm mode only).
_mysql versions are 100% compatitable with corresponding MySQL functions
Supported modes depend on OpenSSL version, but generally are:
aes-{128,192,56}-{ecb,cbc,cfb1,cfb8,cfb128,ofb,gcm}
Please note that in a -gcm mode a 16-byte tag is appended to the ciphertext
on encryption and is expected to be found at the end of ciphertext on decryption.
Added tests that verify compatibility with MySQL functions,
and test vectors for GCM mode from OpenSSL.
Added masking rules for aes_X funtions
Rules are installed by default to config.d/query_masking_rules.xml
2020-09-01 12:42:15 +03:00
Nikita Mikhaylov
fc84d12542
better
2020-08-28 18:28:46 +03:00
Nikita Mikhaylov
9d1cb7e22e
done
2020-08-28 18:15:15 +03:00