Commit Graph

15705 Commits

Author SHA1 Message Date
Kseniia Sumarokova
c339363929
Merge pull request #25918 from infinivision/zero_copy_hdfs
HDFS zero copy replication
2021-07-14 13:23:09 +03:00
vdimir
b49e37aa07
Rewrite join totals, fix block structure mismatch 2021-07-14 13:02:23 +03:00
Alexey Milovidov
9dd0a76220 Add a setting "function_range_max_elements_in_block" and increase it 5 times 2021-07-14 11:31:08 +03:00
Vladimir
c6177bd0cc
Merge pull request #26123 from vdimir/issue-25806-null-enum-to-str 2021-07-14 10:22:37 +03:00
huangzhaowei
d9f490a300 format code 2021-07-14 14:49:18 +08:00
huangzhaowei
8315e4f7a3 Fix test case error 2021-07-14 10:41:24 +08:00
Zhichang Yu
fe5d17680e Merge remote-tracking branch 'origin/master' into zero_copy_hdfs 2021-07-14 02:12:28 +00:00
jasine
ff5ad15aa5
fix: MaterializedPostgreSQL style 2021-07-14 09:27:51 +08:00
jasine
bd59ca22df
fix: style and MaterializedPostgreSQL test (#3)
fix: style and MaterializedPostgreSQL test (#3)
2021-07-14 08:51:14 +08:00
kssenii
b393603b57 Fix build 2021-07-13 22:25:26 +00:00
Nikita Mikhaylov
601d04f55d ignore 2021-07-13 22:16:27 +00:00
kssenii
da09ce3f20 Remove unused 2021-07-13 19:51:02 +00:00
kssenii
a90df59b92 Better 2021-07-13 19:46:06 +00:00
jasine
a0ec8e9878
fix: DateTime64 on MaterializedPostgreSQL (#2)
* fix: DateTime64 on MaterializedPostgreSQL

* Update StoragePostgreSQL.cpp
2021-07-14 01:59:33 +08:00
Nikita Mikhaylov
28b990cc18 better 2021-07-13 17:14:00 +00:00
Nikita Mikhaylov
33735d02ab fix 2021-07-13 17:11:40 +00:00
Nikita Mikhaylov
208ef7a2d2
Merge pull request #24980 from Andr0901/s2-library
Integration of S2 library
2021-07-13 20:10:57 +03:00
Nikita Mikhaylov
f8b4b3e81b
Merge pull request #25595 from ClickHouse/revert-25593-revert-24867-ncb/h3-indexing-funcs
Implement h3ToGeo function [2]
2021-07-13 20:08:17 +03:00
Maksim Kita
3d05f07ece
Merge pull request #25917 from excitoon-favorites/defaultblocksizeprediction
Using required columns for block size prediction
2021-07-13 20:05:41 +03:00
Ilya Golshtein
e1cc7387be Avro string for ClickHouse string make clang tidy happy 2021-07-13 20:03:01 +03:00
Ilya Golshtein
969458f043 Avro string for ClickHouse string minor fixes 2021-07-13 20:03:01 +03:00
Ilya Golshtein
020cce63b0 Avro string for ClickHouse string tests and doc 2021-07-13 20:03:00 +03:00
Ilya Golshtein
16532658c2 Avro string for ClickHouse string 2021-07-13 20:03:00 +03:00
Vitaly Baranov
3c395389b0
Merge pull request #24206 from alexelex/alexelex-encryption-1
Data encryption on VFS level
2021-07-13 19:50:25 +03:00
Vitaly Baranov
3d80608deb
Merge pull request #26249 from vitlibar/fix-read-buffer-from-s3
Fix ReadBufferFromS3
2021-07-13 19:32:03 +03:00
Peng Jian
8522589483 Collect the amount of parts, rows and marks during the build query pipeline 2021-07-13 22:50:47 +08:00
zxc111
7b2fed2951 use flag to check sample_condition 2021-07-13 21:17:22 +08:00
Nikita Mikhaylov
c255f152aa
Merge pull request #26051 from ClickHouse/fix_21184
Fix sequence_id in MySQL protocol
2021-07-13 16:03:25 +03:00
Nikita Mikhaylov
224c08b46e exceptions 2021-07-13 12:54:00 +00:00
kssenii
9688efde96 Merge branch 'add-sqlite-database-path-check' of github.com:kssenii/ClickHouse into add-sqlite-database-path-check 2021-07-13 12:40:43 +00:00
kssenii
f86817d57c Check inclusion inside user_files 2021-07-13 12:38:37 +00:00
Nikita Mikhaylov
d2c8c34229 fix build 2021-07-13 12:10:21 +00:00
Nikita Mikhaylov
dcf42e9c16 fix arcadia 2021-07-13 12:10:21 +00:00
Nikita Mikhaylov
919b23e264 fix arcadia 2021-07-13 12:10:21 +00:00
Nikita Mikhaylov
eecb989c3f update ya make 2021-07-13 12:10:21 +00:00
Nikita Mikhaylov
5904b5f20b Update h3toGeo.cpp 2021-07-13 12:10:21 +00:00
Nikita Mikhaylov
cac2aa9699 Revert "Revert "Implement h3ToGeo function"" 2021-07-13 12:10:21 +00:00
Kseniia Sumarokova
8672346f5b
Update TableFunctionSQLite.cpp 2021-07-13 14:40:47 +03:00
Kseniia Sumarokova
d80bcf0bd3
Update StorageSQLite.cpp 2021-07-13 14:40:27 +03:00
Kseniia Sumarokova
c615084ba7
Update DatabaseSQLite.cpp 2021-07-13 14:40:07 +03:00
Nikita Mikhaylov
1b4f60a0f6 fix fuzzer 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
fa816ab19c fix fuzzer 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
625576796c final fix 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
b0e0165ce0 better 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
fbf529411b fix tests 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
67fecc55a9 add tests 2021-07-13 10:50:39 +00:00
Nikita Mikhaylov
0be0fc810b fix tests 2021-07-13 10:50:39 +00:00
Nikita Mikhaylov
b92d47fcd0 fix build 2021-07-13 10:50:38 +00:00
Nikita Mikhaylov
356c11bb25 fix tests 2021-07-13 10:50:38 +00:00
Nikita Mikhaylov
c4b0d8f849 fix build 2021-07-13 10:50:38 +00:00
Nikita Mikhaylov
e0473be7d7 bump 2021-07-13 10:50:38 +00:00
Nikita Mikhaylov
6cdac2a56f link error 2021-07-13 10:50:12 +00:00
Nikita Mikhaylov
3f36a93656 better 2021-07-13 10:50:12 +00:00
Nikita Mikhaylov
246bb8b36f try gh client 2021-07-13 10:50:12 +00:00
Andr0901
f78480507e some fixes 2021-07-13 10:50:12 +00:00
Andr0901
fe075f407e add some cap and rect functions 2021-07-13 10:49:55 +00:00
Andr0901
4d75450e54 add tests 2021-07-13 10:49:55 +00:00
Andr0901
12219391d6 Initial commit 2021-07-13 10:49:54 +00:00
xiedeyantu
df438f4288 Modify code comments 2021-07-13 17:52:24 +08:00
kssenii
48ffd3b81d Add check for sqlite database path 2021-07-13 09:40:46 +00:00
alexey-milovidov
b4741ed2fe
Merge pull request #23140 from amosbird/fixrandomoneshardinsert
Fix misbehaviors when insert_distributed_one_random_shard = 1
2021-07-13 11:47:53 +03:00
alexey-milovidov
af7ecb7f7a
Merge pull request #25798 from azat/optimize_skip_unused_shards_rewrite_in-types-fix
Fix optimize_skip_unused_shards_rewrite_in for non-UInt64 types
2021-07-13 11:40:59 +03:00
alexey-milovidov
101ee12f18
Merge pull request #26038 from amosbird/projection-fix11
Fix normal projection with prewhere
2021-07-13 11:40:08 +03:00
Vitaly Baranov
bc5080d701 Rename ReadEncryptedBuffer -> ReadBufferFromEncryptedFile,
WriteEncryptedBuffer -> WriteBufferFromEncryptedFile,
move file FileEncryption.h to the IO folder,
rename functions accroding to our code style,
add cpp files.
2021-07-13 11:31:03 +03:00
Vitaly Baranov
cc25c262ef Use std::random_device instead of the function get_random() 2021-07-13 11:30:38 +03:00
Vitaly Baranov
e2424db810 Fix ReadBufferFromS3 2021-07-13 11:30:29 +03:00
Vitaly Baranov
9517f483bb Fix unit tests. 2021-07-13 11:30:22 +03:00
Vitaly Baranov
767f1352eb Fix ciphering of partial blocks. 2021-07-13 11:30:14 +03:00
Vitaly Baranov
0f9ace257f Fix conversion to/from big endian. 2021-07-13 11:30:08 +03:00
Vitaly Baranov
81f3876506 Fix finalize() and sync() in WriteEncryptedBuffer. 2021-07-13 11:30:00 +03:00
Vitaly Baranov
042befb369 Fix compilation 2021-07-13 11:29:52 +03:00
Vitaly Baranov
e086e5e384
Merge branch 'master' into alexelex-encryption-1 2021-07-13 11:28:41 +03:00
jasine
eefb798e33
Update insertPostgreSQLValue.cpp 2021-07-13 16:17:50 +08:00
jasine
9832c48c33
fix postgres test and array of DateTime64 (#1)
fix postgres test and array of DateTime64
2021-07-13 15:28:15 +08:00
Zhichang Yu
b4e6689bf9 fix test_hdfs_zero_copy_replication_move[tiered_copy-2] 2021-07-13 07:20:23 +00:00
Zhichang Yu
5047c758f4 fix per review 2021-07-13 07:20:20 +00:00
Zhichang Yu
fbd5eee8a1 hdfs zero copy 2021-07-13 07:19:12 +00:00
jasine
4ec8d23fce
Merge branch 'ClickHouse:master' into master 2021-07-13 15:12:40 +08:00
vdimir
a01f8c147d
Move check of null_map outside of loop in ConvertImpl::execute for toString 2021-07-13 09:52:31 +03:00
vdimir
c938a53e88
Fixes for FunctionConversion implementation for nulls 2021-07-13 09:48:05 +03:00
vdimir
b4c6a17eb2
Add ReturnType template parameter to FormatImpl::execute 2021-07-13 09:48:05 +03:00
vdimir
32b174403e
Nullable in ConvertImplGenericToString 2021-07-13 09:48:04 +03:00
vdimir
3a0a456549
Do not try catch in ConvertImpl::execute 2021-07-13 09:48:04 +03:00
vdimir
5b18480a49
Return null if value can't be converted in toString for nullable 2021-07-13 09:48:04 +03:00
vdimir
7c4c2b29c2
Do not throw exception for unexpected values in enum during to string conversion 2021-07-13 09:48:04 +03:00
Kseniia Sumarokova
a24d2c1faf
Merge pull request #24194 from g-arslan/add-sqlite-support
SQLite integration
2021-07-13 09:28:13 +03:00
huangzhaowei
c4fcdb8b91 Make toTimeZone monotonicity when timeZone is a constant value 2021-07-13 13:54:44 +08:00
jasine
d49dc213df
Merge branch 'ClickHouse:master' into master 2021-07-13 12:24:01 +08:00
alexey-milovidov
cf95804c79
Merge pull request #26217 from amosbird/globalinfix
Proper GLOBAL IN function rewrite.
2021-07-13 04:57:54 +03:00
alexey-milovidov
4b1e38eed9
Merge branch 'master' into projection-fix11 2021-07-13 04:52:15 +03:00
alexey-milovidov
4183f3164a
Merge branch 'master' into fixrandomoneshardinsert 2021-07-13 04:46:40 +03:00
Alexey Milovidov
29e8b783ba Comments 2021-07-13 03:59:52 +03:00
alexey-milovidov
f5f9e35331
Merge pull request #26241 from evillique/column_size
Add column sizes for `Log` and `TinyLog` tables
2021-07-13 03:54:03 +03:00
alexey-milovidov
d28b143c49
Merge pull request #26246 from FArthur-cmd/adding-system-warnings-26039
Adding system warnings 26039
2021-07-13 03:44:53 +03:00
Kseniia Sumarokova
902f650836
Update TableFunctionSQLite.cpp 2021-07-13 03:07:53 +03:00
alexey-milovidov
5295f7ebb2
Merge pull request #26235 from ClickHouse/check-non-deterministic-functions-in-keys
Check for non-deterministic functions in keys, including constant expressions
2021-07-13 02:46:44 +03:00
kssenii
bcc77fca62 Merge branch 'add-sqlite-support' of github.com:g-arslan/ClickHouse into g-arslan-add-sqlite-support 2021-07-12 22:39:34 +00:00
Maksim Kita
8cf7cec413
Merge pull request #26258 from kitaisreal/compile-enum-type
Enum type additional support for compilation
2021-07-13 01:04:25 +03:00
Maksim Kita
5d1e042429 Enum type additional support for compilation 2021-07-13 01:03:57 +03:00
kssenii
976f4dffda Add table function sqlite, fix type conversions 2021-07-12 21:09:23 +00:00
Vitaly Baranov
f4507dba7b
Fix typo 2021-07-13 00:07:33 +03:00
Nikolay Degterinsky
75be358250 Fix style 2021-07-12 19:47:13 +00:00
Nikolay Degterinsky
8d2da5933c Minor fixes 2021-07-12 19:04:53 +00:00
Maksim Kita
e6c8100f63
Merge pull request #26248 from Algunenano/fast_nullable
Speed up addition of nullable integers with native representation
2021-07-12 21:20:45 +03:00
Kseniia Sumarokova
08ab42483c
Update DatabaseFactory.cpp 2021-07-12 20:40:30 +03:00
Kseniia Sumarokova
ec51215a75
Update SQLiteBlockInputStream.cpp 2021-07-12 20:39:47 +03:00
Kseniia Sumarokova
4a6b4d6c26
Merge pull request #25774 from liuneng1994/datatype-date32
Datatype Date32, support range 1925 to 2283
2021-07-12 20:33:39 +03:00
zxc111
e0261866a4 add settings && add test case 2021-07-13 01:15:35 +08:00
alexey-milovidov
80fed6eebf
Merge pull request #26236 from ClickHouse/handle-nonexistent-detached-directory
Handle non-existent `detached` directories
2021-07-12 19:45:33 +03:00
Alexey Milovidov
e0ae04297a Fix fast test 2021-07-12 18:19:49 +03:00
vdimir
a61b7f2326
Add reqired right keys to join totals block 2021-07-12 18:00:55 +03:00
Vitaly Baranov
ec7f2d74b1 Fix ReadBufferFromS3 2021-07-12 17:36:36 +03:00
Maksim Kita
91330be0af
Merge pull request #26237 from kitaisreal/compile-enum-type
Compile Enum type
2021-07-12 16:47:26 +03:00
Maksim Kita
eef2394c9c Compile Enum type 2021-07-12 16:47:14 +03:00
Nikolay Degterinsky
8bdd1e93ae Fix 2021-07-12 13:40:22 +00:00
Artur
278099e663 correct code style 2021-07-12 12:21:18 +00:00
Raúl Marín
36bc22df98 Speed up addition of nullable native integers 2021-07-12 13:38:54 +02:00
Nikolay Degterinsky
ab3ab9fa41 Fix mutable 2021-07-12 11:00:26 +00:00
Nikolay Degterinsky
fb661bc38d Minor fixes 2021-07-12 10:58:53 +00:00
Artur
1e90287e9a Adding tests for system.warnings 2021-07-12 10:57:39 +00:00
Nikolay Degterinsky
7a8361c562 Add columns size for Tiny Log 2021-07-12 10:51:05 +00:00
Nikolay Degterinsky
dc18f68b72 Minor fix 2021-07-12 10:21:17 +00:00
Nikolay Degterinsky
fd957f332e Add column sizes for Log tables 2021-07-12 10:06:24 +00:00
kssenii
aecb344baa Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into g-arslan-add-sqlite-support 2021-07-12 07:55:39 +00:00
kssenii
068d85aa8b Fix Nulls usage 2021-07-12 07:53:52 +00:00
Kseniia Sumarokova
ec9a30d8b9
Update ya.make 2021-07-12 10:35:18 +03:00
Alexey Milovidov
2a2aa69459 Handle non-existent "detached" directories 2021-07-12 10:01:26 +03:00
Alexey Milovidov
d848e5495c Better implementation 2021-07-12 09:36:46 +03:00
Alexey Milovidov
ff5c433f10 Check for non-deterministic functions in keys, including constant expressions 2021-07-12 08:58:19 +03:00
jasine
192ee2df98
Update fetchPostgreSQLTableStructure.cpp 2021-07-12 12:39:17 +08:00
Alexey Milovidov
822cc0fec3 Lowered amount of syscalls in AsynchronousMetrics 2021-07-12 04:12:34 +03:00
Alexey Milovidov
e0effad4d1 Fix tiny issue 2021-07-12 03:33:13 +03:00
alexey-milovidov
8f1d7e67ca
Merge pull request #26003 from ClickHouse/ditch-aio
Remove AIO for sequential reads
2021-07-12 03:25:23 +03:00
Alexey Milovidov
3887e82dac Merge branch 'exception_id' of github.com:yandex/ClickHouse into exception_id 2021-07-12 03:18:39 +03:00
Alexey Milovidov
c4f34689ec Merge branch 'master' into exception_id 2021-07-11 22:12:06 +03:00
Alexey Milovidov
7e932c2504 Fix Arcadia 2021-07-11 22:07:46 +03:00
Alexey Milovidov
d3cdae1211 Fix build 2021-07-11 22:07:17 +03:00
Maksim Kita
82650a878f
Merge pull request #26161 from kitaisreal/compile-aggregate-functions-bitwise
Compile AggregateFunctionBitwise
2021-07-11 20:06:47 +03:00
zxc111
cd97478c06 check sampling condition when create table 2021-07-12 00:38:20 +08:00
neng.liu
4669839fbb add comment and update ya.make 2021-07-11 04:55:42 -07:00
Maksim Kita
61bf623a3c
Merge pull request #26210 from ClickHouse/system-stack-trace-fix
Fix excessive newline in `system.stack_trace`
2021-07-11 12:31:16 +03:00
Maksim Kita
5d818708d2
Merge pull request #26213 from ClickHouse/fix-bad-code-merge-tree
Fix bad code (default function argument)
2021-07-11 12:30:38 +03:00
alesapin
4964bc1230
Merge pull request #26127 from ClickHouse/apply_zookeeper_logs
Fix several bugs in ZooKeeper snapshots deserialization
2021-07-11 10:25:04 +03:00
Amos Bird
7c6c1234f8
Proper GLOBAL IN function rewrite. 2021-07-11 14:21:57 +08:00
Alexey Milovidov
2d02a3a45d Fix errors 2021-07-11 05:43:54 +03:00
Alexey Milovidov
1ce40d6629 Fix bad code (default function argument) 2021-07-11 04:01:23 +03:00
Alexey Milovidov
29624436ff Return back O_DIRECT 2021-07-11 03:35:43 +03:00
Alexey Milovidov
002e648183 Merge branch 'system-stack-trace-fix' into ditch-aio 2021-07-11 03:35:26 +03:00
Alexey Milovidov
4df8de76c8 Fix #24124 2021-07-11 03:34:00 +03:00
Alexey Milovidov
30826c7d7d Return O_DIRECT 2021-07-11 03:33:14 +03:00