Commit Graph

10420 Commits

Author SHA1 Message Date
vdimir
cf77a3e05a
Fix infine non joined block stream in merge join 2021-07-15 18:22:46 +03:00
Artur
de004d7afb wrong reference name 2021-07-15 15:13:23 +00:00
Artur
45d58d68c9 correcting interactive test 2021-07-15 14:37:44 +00:00
Anton Popov
a2c493cd7f add perf test for table with many arrays 2021-07-15 17:02:48 +03:00
Raúl Marín
fa305b1a72 Tests should work with joined_subquery_requires_alias 2021-07-15 15:11:16 +02:00
Artur
c0a34e2842 Adding interactive test for warning messages during connection 2021-07-15 12:53:11 +00:00
Alexey Milovidov
241bb3757a Remove "long" from test name 2021-07-15 15:37:33 +03:00
Alexey Milovidov
a2fa2543b7 Fix flaky test 01293_client_interactive_vertical_multiline_long 2021-07-15 15:36:42 +03:00
Raúl Marín
c2f0d7c514 Don't build set for indices when analyzing a query 2021-07-15 14:25:22 +02:00
Vitaliy Zakaznikov
91021aea18 Enabling all TestFlows modules except LDAP after Kerberos merge. 2021-07-15 08:14:59 -04:00
Raúl Marín
f92a2d3784 Drop view when done 2021-07-15 14:09:42 +02:00
Raúl Marín
757a210f92 Add profile events to sleep function calls 2021-07-15 14:09:42 +02:00
Vitaly Baranov
c2bb0a02a8 Add test. 2021-07-15 14:36:56 +03:00
Alexey Milovidov
d984fc4301 Fix flaky integration test 2021-07-15 13:35:37 +03:00
Filatenkov Artur
29b1155c95
Merge pull request #26261 from SaintBacchus/toTimeZone
Make toTimeZone monotonicity when timeZone is a constant value
2021-07-15 13:02:35 +03:00
Vitaly Baranov
ec6b1ece24
Merge pull request #21659 from zvonand/kerberos_tests
Enabling Kerberos Testflows tests
2021-07-15 12:59:44 +03:00
vdimir
dd3e1a8a4d
Adjust exception message in test_replicated_fetches_timeouts 2021-07-15 11:58:21 +03:00
Peng Jian
63f2b9f342 fix test 2021-07-15 16:07:17 +08:00
zvonand
8bd805b2c2 xfails 2021-07-15 11:05:50 +03:00
alexey-milovidov
9ba4064c86
Revert "Datatype Date32, support range 1925 to 2283" 2021-07-15 10:53:35 +03:00
Peng Jian
9c4dbda0ef fix tast case reference 2021-07-15 14:25:05 +08:00
Azat Khuzhin
7b209694d5 Fix optimize_distributed_group_by_sharding_key for multiple columns
Before we incorrectly check that columns from GROUP BY was a subset of
columns from sharding key, while this is not right, consider the
following example:

    select k1, any(k2), sum(v) from remote('127.{1,2}', view(select 1 k1, 2 k2, 3 v), cityHash64(k1, k2)) group by k1

Here the columns from GROUP BY is a subset of columns from sharding key,
but the optimization cannot be applied, since there is no guarantee that
particular shard contains distinct values of k1.

So instead we should check that GROUP BY contains all columns that is
required for calculating sharding key expression, i.e.:

    select k1, k2, sum(v) from remote('127.{1,2}', view(select 1 k1, 2 k2, 3 v), cityHash64(k1, k2)) group by k1, k2
2021-07-15 09:09:58 +03:00
alexey-milovidov
21f2b006cd
Update test_cte_distributed.py 2021-07-15 08:17:22 +03:00
alexey-milovidov
0893b9ff8e
Merge pull request #26218 from amosbird/projection-improve1
Aggressive IN index analysis for projections.
2021-07-15 08:13:45 +03:00
alexey-milovidov
96030dc2d7
Merge pull request #26250 from vdimir/issue-26017-join-totals-key
Fix block structure mismatch in join totals
2021-07-15 08:03:37 +03:00
alexey-milovidov
59e6502a3b
Merge pull request #26329 from vzakaznikov/fix_testflows_rbac_sample_by_tests
Fixing RBAC sample by tests in TestFlows.
2021-07-15 08:01:33 +03:00
alexey-milovidov
3e1eecba89
Merge pull request #26326 from egatov/master
Modifications to an obscure Yandex TSKV format
2021-07-15 07:54:48 +03:00
Peng Jian
ac06ba3329 add test reference 2021-07-15 11:12:28 +08:00
huangzhaowei
d5e907ac8d Add a test case for monotonicity totimezone 2021-07-15 10:39:34 +08:00
Evgeniy Gatov
5a884da13c METR-41529 2021-07-15 00:57:18 +03:00
Raúl Marín
255fbe22a2 Drop view when done 2021-07-14 23:27:36 +02:00
kssenii
f20ea87bfb Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-sqlite-database-path-check 2021-07-14 20:49:05 +00:00
Kseniia Sumarokova
e42a26a585
Merge pull request #26234 from jasine/master
convert timestamp and  timestamptz data types to DateTime64 in postgres engine
2021-07-14 23:42:51 +03:00
alexey-milovidov
11a4b56f51
Merge pull request #26305 from ClickHouse/function_range_max_elements_in_block
Add a setting `function_range_max_elements_in_block`
2021-07-14 23:15:25 +03:00
Vitaliy Zakaznikov
521916c203 Fixing RBAC sample by tests in TestFlows. 2021-07-14 15:40:04 -04:00
Raúl Marín
901e251d53 Add profile events to sleep function calls 2021-07-14 18:44:09 +02:00
Amos Bird
0558ecdc3f
Aggressive IN index analysis for projections. 2021-07-14 22:56:52 +08:00
Raúl Marín
59ec2bafbd Improve read_file_to_stringcolumn compatibility
If you don't go enough times back (../../) it might not reach /tmp/c.txt
2021-07-14 16:35:46 +02:00
Peng Jian
93b09c54fd add test case 2021-07-14 21:12:32 +08:00
Alexey Milovidov
9070cb53dd Disable Testflows RBAC test (unstable) 2021-07-14 15:51:07 +03:00
Peng Jian
eed01abf65 fix test case 2021-07-14 20:42:02 +08:00
vdimir
e2280aad18
Merge branch 'master' into exception_id 2021-07-14 14:50:50 +03:00
vdimir
55d12a497c
Adjust integration test to exception messages 2021-07-14 14:50:27 +03:00
Anton Popov
e2249bf1e5
Merge pull request #26256 from zxc111/issue-822
Check hash function at table creation
2021-07-14 14:16:02 +03:00
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
acd6e4f0aa Add a test 2021-07-14 12:13:40 +03:00
Vladimir
c6177bd0cc
Merge pull request #26123 from vdimir/issue-25806-null-enum-to-str 2021-07-14 10:22:37 +03:00
zxc111
75393249bf fix test case 2021-07-14 11:53:09 +08:00
Zhichang Yu
fe5d17680e Merge remote-tracking branch 'origin/master' into zero_copy_hdfs 2021-07-14 02:12:28 +00:00
jasine
bd59ca22df
fix: style and MaterializedPostgreSQL test (#3)
fix: style and MaterializedPostgreSQL test (#3)
2021-07-14 08:51:14 +08:00
alexey-milovidov
c01497a80a
Merge pull request #26028 from nvartolomei/nv/aggregate-alias-column
Add test case for aggregation w/ alias columns
2021-07-14 03:30:14 +03:00
kssenii
b393603b57 Fix build 2021-07-13 22:25:26 +00:00
Nikita Mikhaylov
46eb563e79 update arcadia skip list 2021-07-13 20:19:06 +00:00
kssenii
3242a8a86a Update test 2021-07-13 19:06:08 +00:00
Artur
3b61682265 add new config to skip warnings 2021-07-13 17:50:48 +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
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
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
zxc111
e0497e9549 fix test case 2021-07-14 00:36:21 +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
kssenii
f86817d57c Check inclusion inside user_files 2021-07-13 12:38:37 +00:00
Nikita Mikhaylov
cac2aa9699 Revert "Revert "Implement h3ToGeo function"" 2021-07-13 12:10:21 +00:00
zxc111
b958bc07e1 fix hash function for sampling is not unsigned integer 2021-07-13 19:31:32 +08:00
vdimir
f94b1419f2
Add testcase to 01107_join_right_table_totals 2021-07-13 14:07:06 +03:00
Nikita Mikhaylov
927706da1f fix arcadia 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
9cd29f359f fix test 2021-07-13 10:51:35 +00: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
fbf529411b fix tests 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
7ebd678508 update arcadia_skip 2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
8062b492c5 added tests to skip list 2021-07-13 10:51:08 +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
356c11bb25 fix tests 2021-07-13 10:50:38 +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
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
alexey-milovidov
2dafd9d4a8
Update test_select_aggregate_alias_column.py 2021-07-13 11:39:15 +03:00
Vitaly Baranov
e086e5e384
Merge branch 'master' into alexelex-encryption-1 2021-07-13 11:28:41 +03: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
a9028dbd7d try fix test_replicated_merge_tree_hdfs_zero_copy/test.py failures under tsan 2021-07-13 07:20:23 +00: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
vdimir
c938a53e88
Fixes for FunctionConversion implementation for nulls 2021-07-13 09:48:05 +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
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
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
alexey-milovidov
60b87a57c7
Merge pull request #26257 from ClickHouse/CurtizJ-patch-3
Fix output of TSV in integration tests
2021-07-13 02:53:10 +03:00