Commit Graph

11001 Commits

Author SHA1 Message Date
Kruglov Pavel
71edcc8ab6
Fix fasttest 2022-05-10 18:32:20 +02:00
kssenii
b654eda2b4 Better test, remove file 2022-05-10 18:17:22 +02:00
vdimir
cadd614ce8
Add cases to join_dup_columns_issue36199 2022-05-10 14:39:01 +00:00
vdimir
837d4bd13f
Revert "Continue fixing #36199."
This reverts commit 1feba64a4e.
2022-05-10 14:30:02 +00:00
Nikolai Kochetov
1feba64a4e
Continue fixing #36199. 2022-05-10 14:26:49 +00:00
Anton Popov
f075070fdf
Merge pull request #37046 from azat/fix-optimize_aggregation_in_order-Array
Fix optimize_aggregation_in_order with *Array aggregate functions
2022-05-10 14:01:01 +02:00
Anton Popov
aec30c4076
Merge pull request #37053 from CurtizJ/remove-streams-comments
Remove last mentions of data streams
2022-05-10 13:38:13 +02:00
Alexander Tokmakov
a3d922d6f6
Merge pull request #37047 from ClickHouse/fix_trivial_insert_select
Resubmit forgotten patch
2022-05-10 13:02:05 +03:00
Nikolai Kochetov
a3df693ace
Merge pull request #37040 from ClickHouse/selected_rows_and_merges
Do not increase SelectedRows and SelectedBytes in merges and mutations.
2022-05-10 12:01:06 +02:00
Alexander Tokmakov
9e94105454
Update 01119_optimize_trivial_insert_select.reference 2022-05-10 11:57:16 +03:00
Alexander Tokmakov
702122a502
Update 01119_optimize_trivial_insert_select.sql 2022-05-10 11:55:44 +03:00
Yakov Olkhovskiy
e04dc446b6 test added 2022-05-10 00:12:36 -04:00
Dmitry Novik
adcb792f0d
Merge pull request #35921 from ClickHouse/enable-memory-overcommit
Enable memory overcommit
2022-05-10 02:09:18 +02:00
Anton Popov
4b66fa2b18 remove last mentions of data streams 2022-05-09 23:34:27 +00:00
Anton Popov
e911900054 remove last mentions of data streams 2022-05-09 19:15:24 +00:00
Nikolai Kochetov
027c1144c6 Fixing test. 2022-05-09 17:54:21 +00:00
Azat Khuzhin
6ada8a6337 Fix optimize_aggregation_in_order with *Array aggregate functions
row_begin was wrong, and before this patch aggregator processing
{row_end, row_end} range, in other words, zero range.

Fixes: #9113 (cc @dimarub2000)
v2: add static_cast to fix UBSan
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-09 20:43:19 +03:00
Alexander Tokmakov
32157285b0
Merge pull request #36977 from ClickHouse/clickhouse_test_secure
Support secure connection in clickhouse-test
2022-05-09 19:02:04 +03:00
Alexander Tokmakov
f8ac2398b0 add test 2022-05-09 17:39:29 +02:00
mergify[bot]
55a6d22ad3
Merge branch 'master' into grouping-sets-fix 2022-05-09 14:02:10 +00:00
mergify[bot]
8ea87a3530
Merge branch 'master' into enable-memory-overcommit 2022-05-09 14:00:54 +00:00
avogar
054318b555 Fix invalid output LowCardinality -> ArrowDictionary 2022-05-09 13:29:42 +00:00
Nikolai Kochetov
871c87ba38 Fix style. 2022-05-09 13:02:55 +00:00
Nikolai Kochetov
972c0c116e Do not increase SelectedRows and SelectedBytes in merges and mutations. 2022-05-09 12:43:10 +00:00
Alexander Tokmakov
b6be194d3a
Merge pull request #36976 from ClickHouse/replicated_database_fixes
Fixes for Replicated database
2022-05-09 14:41:49 +03:00
Kruglov Pavel
23bd9390a6
Merge pull request #36997 from vitlibar/users-without-assigned-policies-can-view-rows
Users without assigned row policies can view rows
2022-05-09 12:04:50 +02:00
qieqieplus
b00a17ca38 Merge branch 'master' into array-distance-functions 2022-05-09 15:15:07 +08:00
qieqieplus
96352034a3 add array norm tests 2022-05-09 15:11:18 +08:00
qieqieplus
a17da05bda use return type as matrix value type 2022-05-09 14:42:02 +08:00
Alexey Milovidov
bc98422079 Fix tests 2022-05-08 23:40:12 +02:00
Alexey Milovidov
56abce6a75 Merge branch 'chained_or' of github.com:danlark1/ClickHouse into chained-or 2022-05-08 23:37:09 +02:00
Alexey Milovidov
b97e751891
Merge pull request #37010 from ClickHouse/nickitat-patch-2
Try fix flaky test
2022-05-08 18:41:40 +03:00
Nikita Taranov
713c603440
Try fix flaky test 2022-05-07 22:14:58 +02:00
Vitaly Baranov
69bec2f377 Users without assigned row policies can view rows now. 2022-05-07 14:50:24 +02:00
Alexander Tokmakov
2f9e7d2d0f
Update 01293_show_clusters.sql 2022-05-07 15:33:54 +03:00
Alexey Milovidov
bd658cbaec
Update 02226_or_like_combine.sql 2022-05-07 14:12:48 +03:00
Alexey Milovidov
db5fd6ffb2
Update 02185_arraySlice_negative_offset_size.sql 2022-05-07 13:51:15 +03:00
Alexey Milovidov
769ad4c55d
Update 02185_arraySlice_negative_offset_size.sql 2022-05-07 13:51:01 +03:00
mergify[bot]
2d1057bc87
Merge branch 'master' into fix-substring-negative-offset-length 2022-05-07 10:30:39 +00:00
kssenii
0db83d7002 Merge master 2022-05-07 11:52:25 +02:00
Alexey Milovidov
d76ac4d34d
Merge pull request #36822 from ClickHouse/revert-group-array-sorted
Revert "Merge pull request #34055 from palegre-tiny/groupSortedArray"
2022-05-06 23:27:08 +03:00
Anton Popov
a489ab682c
Merge pull request #36873 from CurtizJ/dynamic-columns-13
Fix insertion of complex JSONs with nested arrays [2]
2022-05-06 18:08:06 +02:00
vdimir
d712985575
Minor style changes for ConcurrentHashJoin 2022-05-06 15:17:46 +00:00
Vladimir C
bd5fab97d9
Merge pull request #36415 from bigo-sg/concurrent_join 2022-05-06 17:11:10 +02:00
Alexander Tokmakov
db66efb1a7 fix logical error on truncate table 2022-05-06 16:12:31 +02:00
Anton Popov
0caf91602f
Merge pull request #36812 from CurtizJ/hash-array-of-tuples
Allow to execute hash functions with arguments of type `Array(Tuple(..))`
2022-05-06 14:15:38 +02:00
Anton Popov
13e8db6299
Merge pull request #36762 from CurtizJ/dynamic-columns-12
Fix insertion to columns of type `Object` from multiple files
2022-05-06 14:14:32 +02:00
kssenii
2275196ef0 Merge master 2022-05-06 11:21:10 +02:00
mergify[bot]
bad1603ea3
Merge branch 'master' into enable-memory-overcommit 2022-05-05 22:43:18 +00:00
Alexey Milovidov
250efb4b80 Fix tests 2022-05-06 00:23:47 +02:00
Alexander Tokmakov
376398f1a9 support secure connection in clickhouse-test 2022-05-05 21:11:38 +02:00
Dmitry Novik
4cc26aa38b Merge remote-tracking branch 'origin/master' into grouping-sets-fix
And fix execution of the query with only one grouping set
2022-05-05 17:14:52 +00:00
kssenii
78d3fd505f Merge master 2022-05-05 17:41:13 +02:00
Dmitry Novik
161f52292b Support distributed queries 2022-05-05 13:56:16 +00:00
Yakov Olkhovskiy
75fc471cfc
Merge pull request #36542 from vdimir/literal_drop_const_issue36279
ASTLiteral clone only value
2022-05-05 09:39:00 -04:00
Vitaly Baranov
dd51265218
Merge pull request #36864 from vitlibar/backup-improvements-4
Backup improvements
2022-05-05 15:37:51 +02:00
mergify[bot]
6d3a20b2a2
Merge branch 'master' into enable-memory-overcommit 2022-05-05 13:29:20 +00:00
Alexey Milovidov
d1b4f6aec3 Fix tests 2022-05-05 15:29:12 +02:00
Kruglov Pavel
c6e26f6128
Merge pull request #36434 from Avogar/fix-s3-cluster
Fix bug in s3Cluster schema inference
2022-05-05 13:08:49 +02:00
Vxider
f5c16abfda add test 2022-05-05 17:44:12 +08:00
Alexey Milovidov
5a750d3305 Merge branch 'master' into revert-group-array-sorted 2022-05-05 00:51:01 +02:00
mergify[bot]
76af9938bd
Merge branch 'master' into enable-memory-overcommit 2022-05-04 22:17:02 +00:00
Yakov Olkhovskiy
9c1a06703a
Merge pull request #36564 from awakeljw/fork_chmaster2
Fix CAST Object to Object with Nullable subcolumns
2022-05-04 14:40:43 -04:00
Kruglov Pavel
77e55c344c
Merge pull request #36667 from Avogar/mysqldump-format
Add MySQLDump input format
2022-05-04 19:49:48 +02:00
Kruglov Pavel
c0812239ea
Merge pull request #36845 from azat/tests-02260_alter_compact_part_drop_nested_column
tests: disable 02260_alter_compact_part_drop_nested_column for <=22.4
2022-05-04 19:45:42 +02:00
Anton Popov
d41b78e7e8 fix style-check 2022-05-04 17:17:05 +00:00
Anton Popov
ecc8476847 split test 2022-05-04 15:46:59 +00:00
Anton Popov
b786b8ea1d fix test 2022-05-04 15:37:19 +00:00
Kseniia Sumarokova
b84b745997
Merge pull request #36900 from kssenii/fix-stress
quick tmp fix for stress test
2022-05-04 16:31:03 +02:00
vdimir
4534f43b68
set prefer_localhost_replica for 02291_join_const_literal_36279 2022-05-04 11:29:36 +00:00
kssenii
2c421b0f2b Fix 2022-05-04 13:08:10 +02:00
Antonio Andelic
808ea6dc65
Merge pull request #36888 from amosbird/projection-fix-one
Fix incorrect query result when doing constant aggregation
2022-05-04 10:34:40 +02:00
Vitaly Baranov
160bc288d3 Fix implementation of totalBytes() & totalRows() for Log family. 2022-05-04 00:15:21 +02:00
Amos Bird
7febf57439
Fix minmax_count_projection constant aggregation 2022-05-04 03:07:59 +08:00
mergify[bot]
57fcca6dda
Merge branch 'master' into nth_value 2022-05-03 16:37:09 +00:00
Anton Popov
d0a1eab52e fix insertion of complex jsons with nested arrays 2022-05-03 13:34:45 +00:00
kssenii
025e632a66 Merge master 2022-05-03 14:46:59 +02:00
Alexander Gololobov
367898da5e
Merge pull request #35318 from weeds085490/feat/add_part_offset
feat(...): [LWD] support getting _part_offset of a row
2022-05-03 13:27:02 +02:00
vdimir
ffb0570cae
Add testcase to 02291_join_const_literal_36279.sql 2022-05-03 11:06:59 +00:00
vdimir
9e2cafa5e5
Add test join_const_literal_36279 2022-05-03 10:18:19 +00:00
kssenii
a3c9ff7fe8 Tiny changes 2022-05-03 11:46:22 +02:00
alesapin
73f3334d80 Better fix for cache 2022-05-03 00:28:53 +02:00
Dmitry Novik
639bb1b2d3 Fix reference file 2022-05-02 20:41:37 +00:00
Dmitry Novik
a499a1e024 Fix test 2022-05-02 20:00:21 +00:00
Dmitry Novik
9be17ef50c
Merge pull request #35111 from azat/optimize_aggregation_in_order-prefix
Implement partial GROUP BY key for optimize_aggregation_in_order
2022-05-02 17:49:48 +02:00
Vladimir C
7293a69e5e
Merge pull request #36656 from amosbird/timefunctionunderflow
Saturate date/datetime to zero (part 2)
2022-05-02 17:10:48 +02:00
Anton Popov
507948ee1d fix test 2022-05-02 12:18:35 +00:00
Kruglov Pavel
c3570b9f7e
Merge branch 'master' into fix-s3-cluster 2022-05-02 14:15:21 +02:00
Kruglov Pavel
b98ac57090
Merge pull request #36803 from CurtizJ/fix-unflatten-nested
Fix creation of tables with `flatten_nested = 0`
2022-05-02 13:58:16 +02:00
Kruglov Pavel
d613f7eab0
Merge branch 'master' into mysqldump-format 2022-05-02 13:31:57 +02:00
Kruglov Pavel
fd980e6840
Merge pull request #36562 from wuxiaobai24/file_descriptor
allow file descriptor in table function file()
2022-05-02 13:25:13 +02:00
Azat Khuzhin
6d5772094f tests: disable 02260_alter_compact_part_drop_nested_column for <=22.4
This should fix stress tests, like here [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/36836/9dde147529979ed9cc4d68036de5fd93e0fc2c42/stress_test__address__actions_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-02 13:57:36 +03:00
Alexey Milovidov
c95591f294
Merge pull request #36841 from ClickHouse/fix-performance-test-5
Remove "preconditions" from performance tests (overengineering, unneeded feature)
2022-05-02 12:22:56 +03:00
Antonio Andelic
a1a22b0007
Merge pull request #35149 from ContentSquare/nullables_with_proto3
Nullables with proto3 using Google wrappers
2022-05-02 09:49:37 +02:00
awakeljw
0a32fe4da3 Fix CAST Object to Object with Nullable subcolumns 2022-05-02 11:31:13 +08:00
Alexey Milovidov
7cc64d40a6 Remove tags as well 2022-05-02 02:35:44 +02:00
Alexey Milovidov
88826e2da5 Remove "preconditions" from performance tests (overengineering, unneeded feature) 2022-05-02 02:33:22 +02:00
Alexey Milovidov
9621d44345
Merge pull request #36834 from azat/client-complete-func
Add functions from CREATE FUNCTION to completion
2022-05-02 02:46:37 +03:00
Kseniia Sumarokova
e3d2d72b39
Merge pull request #36802 from KinderRiven/local_cache_trace
system table used for statistical query of remote file access
2022-05-02 00:16:04 +02:00
Azat Khuzhin
3982638e9a Validate that function had been passed in CREATE FUNCTION
Otherwise right now it leads to LOGICAL_ERROR, due to bad cast.
2022-05-01 19:01:03 +03:00