Commit Graph

11457 Commits

Author SHA1 Message Date
alesapin
875cfb9f98
Update tests/queries/skip_list.json 2021-08-25 10:21:38 +03:00
alesapin
9491c0d650
Update tests/queries/skip_list.json 2021-08-25 10:21:33 +03:00
Maksim Kita
dc852568c0
Merge pull request #27796 from ClickHouse/create-user-defined-lambda-function
Merging #23978
2021-08-25 10:08:20 +03:00
Azat Khuzhin
af0a4d93ba Improve 01730_distributed_group_by_no_merge_order_by_long
Add a negativ case to show the difference w/ and w/o
optimize_aggregation_in_order=1
2021-08-25 09:05:47 +03:00
Azat Khuzhin
c3096805ac Update 01213_optimize_skip_unused_shards_DISTINCT 2021-08-25 08:41:15 +03:00
terrylin
eea87778d6 Merge branch 'materialize_ttl_recalculate_only' of https://github.com/lthaooo/ClickHouse into materialize_ttl_recalculate_only 2021-08-25 10:57:54 +08:00
terrylin
0094115426 improvement of materilize ttl 2021-08-25 10:57:17 +08:00
lthaooo
314ba1e682
Merge branch 'master' into materialize_ttl_recalculate_only 2021-08-25 10:56:24 +08:00
alexey-milovidov
47cc6c5afe
Merge pull request #28063 from vitlibar/set-fixed-version-of-tzlocal
Set version of tzlocal to 2.1
2021-08-25 02:48:08 +03:00
Maksim Kita
167d34051c
Merge pull request #28066 from ClickHouse/fix_zookeeper_secure_test
Fix zookeeper secure client test
2021-08-24 21:39:31 +03:00
Anton Popov
47bb5eb330 support implicit conversions between index in operator [] and key of Map 2021-08-24 21:16:06 +03:00
Maksim Kita
82ba24cd10 Merge branch 'master' into create-user-defined-lambda-function 2021-08-24 19:12:32 +03:00
Alexander Tokmakov
4a86deaa7d fix 2021-08-24 18:56:32 +03:00
Alexander Tokmakov
c6120baf04 Merge branch 'master' into break_some_tests 2021-08-24 17:53:48 +03:00
kssenii
761f59c6b5 Fix test 2021-08-24 13:57:30 +00:00
kssenii
0ec716292c Postgres ON CONFLICT 2021-08-24 12:37:32 +00:00
alexey-milovidov
739caf86d5
Merge pull request #27484 from excitoon/patch-10
Don't silently ignore errors and don't count delays in `ReadBufferFromS3`
2021-08-24 15:26:39 +03:00
OnePiece
17ba4c620e
Merge branch 'ClickHouse:master' into add-system-of-table_views 2021-08-24 20:20:24 +08:00
OnePiece
7f72e51a8f
Create 02013_add_system_table_views.sql 2021-08-24 20:14:01 +08:00
OnePiece
adefa73b73
Create 02013_add_system_table_views.reference 2021-08-24 20:13:04 +08:00
Dmitry Novik
987421862a exclude tests 2021-08-24 14:19:34 +03:00
Vitaly Baranov
8dc128f3d9 Set version of tzlocal to 2.1 2021-08-24 14:07:48 +03:00
mergify[bot]
ae22bab2c4
Merge branch 'master' into materialize_ttl_recalculate_only 2021-08-24 08:49:19 +00:00
Alexander Tokmakov
697f2bcedb fix 2021-08-24 11:35:45 +03:00
alesapin
2d480b33b6 Fix zookeeper secure client test 2021-08-24 11:01:08 +03:00
Vladimir C
5f4ca42d15
Merge pull request #23051 from excitoon-favorites/s3partitionedwrite 2021-08-24 10:58:43 +03:00
kssenii
0d5000f917 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into mysql 2021-08-24 07:30:42 +00:00
kssenii
b536653851 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into disk-over-web-server 2021-08-24 07:29:50 +00:00
Vladimir C
0858fdf113
Merge pull request #27036 from nickitat/nickitat_select_filter 2021-08-24 10:18:55 +03:00
Vladimir C
98acccbdcc
Merge branch 'master' into s3partitionedwrite 2021-08-24 10:03:57 +03:00
kssenii
5307d31924 Throw for alter and silence for drop 2021-08-23 23:48:53 +00:00
kssenii
962f415740 Add test and settings 2021-08-23 22:18:04 +00:00
Dmitry Novik
d5b116b2da update tests 2021-08-24 01:00:41 +03:00
Vitaly Baranov
63e8bc1f20 Added new commands BACKUP and RESTORE. 2021-08-23 23:41:45 +03:00
Anton Popov
0db8b524f0
Merge pull request #27984 from BraulioVM/optimize/has-all-bloom-filter
Make `hasAll` filter condition leverage bloom filters
2021-08-23 22:19:50 +03:00
Dmitry Novik
6dad70a1fb Add check whether enums have the same underlying type or not 2021-08-23 17:55:21 +03:00
Maksim Kita
010d72593f Fixed integration tests 2021-08-23 17:31:58 +03:00
Dmitry Novik
ac2e9a27e6 Fixes #26672. Lower restrictions in StorageInMemoryMetadata::check. 2021-08-23 16:08:23 +03:00
Alexander Tokmakov
cc9c2fd63b make code better 2021-08-23 15:57:50 +03:00
alexey-milovidov
983aab8818
Merge pull request #27176 from excitoon-favorites/s3unstablereadstest
S3 disk unstable reads test
2021-08-23 13:27:55 +03:00
Jakub Kuklis
caf40d77ed Adding a performance test with queries presented in the PR 2021-08-23 11:03:59 +02:00
Maksim Kita
2a6aa50d49 Merge branch 'master' into create-user-defined-lambda-function 2021-08-23 11:08:49 +03:00
vdimir
6fe63a80bc Fix validateKey/Bucket for S3 2021-08-23 09:22:15 +03:00
vdimir
6ba6577978 Do not allow slashes in bucket formatted from PARTITION BY 2021-08-23 09:22:15 +03:00
vdimir
c4c42b61c4 Validate uft8 in partition key from PARTITION BY for s3 2021-08-23 09:22:15 +03:00
Vladimir Chebotarev
2223ae4ddc Added integration test. 2021-08-23 09:22:14 +03:00
Vladimir Chebotarev
f45dbd6cbc Fixed test. 2021-08-23 09:22:14 +03:00
Vladimir Chebotarev
6b75863dd4 Test fix. 2021-08-23 09:22:13 +03:00
Vladimir Chebotarev
b4484f4f21 Test fix. 2021-08-23 09:22:13 +03:00
vdimir
f02ceedd92 Add 01944_insert_partition_by to arcadia and fasttest skip list 2021-08-23 09:22:13 +03:00
vdimir
eb31b194b9 Add validation to insert partition by key to s3 2021-08-23 09:22:13 +03:00
vdimir
d13b98d1c0 Add test for unsupported INSERT PARTITION BY 2021-08-23 09:22:13 +03:00
Vladimir Chebotarev
e99433e094 Better functionality. 2021-08-23 09:22:13 +03:00
Vladimir Chebotarev
328213f5d9 Fixes. 2021-08-23 09:22:13 +03:00
Vladimir Chebotarev
0879dbbfa7 Test. 2021-08-23 09:22:13 +03:00
Vladimir Chebotarev
f14f6cb4cc Fixed warning in test. 2021-08-23 05:05:49 +00:00
RedClusive
1b7fe54f45 Merge branch 'master' of github.com:ClickHouse/ClickHouse into feature-quantileBfloat16 2021-08-22 12:41:11 +00:00
RedClusive
a68a7c3c36 add test 2021-08-22 12:15:20 +00:00
Braulio Valdivielso
12e57b4e24 rename hasAll tests 2021-08-22 10:12:00 +01:00
Azat Khuzhin
2785aca25d Improve server logs checking in integration tests
Since some dtors will be called only after SIGTERM, check after server
is exited.

Also Fatal messages does not fails tests before.
2021-08-21 23:34:36 +03:00
alexey-milovidov
e620ea15bd
Merge pull request #27900 from amosbird/newf
getServerPort function
2021-08-21 22:40:25 +03:00
alexey-milovidov
40a4a6663e
Merge pull request #27830 from zhanglistar/master
Add sha512 hash functions
2021-08-21 22:38:06 +03:00
alexey-milovidov
fef442ba34
Merge pull request #27939 from amosbird/jsonextractstring
Fix JSONExtract String with null value.
2021-08-21 22:37:28 +03:00
Alexey Boykov
e49d0c4533
Merge pull request #27563 from achimbab/bugfix_wf_strict
Bugfix for windowFunnel's "strict" mode.
2021-08-21 22:37:21 +03:00
Braulio Valdivielso
fbe42e4366 add tests checking hasAll uses bloom filter indices
these tests are an exact copy of those in PR #24900, only replacing
'hasAny' with 'hasAll'. Not sure yet if this is all we will want to test
2021-08-21 20:14:56 +01:00
Amos Bird
997acdc39e
getPort function 2021-08-21 20:33:36 +08:00
alexey-milovidov
1a2f5a2e12
Merge pull request #27862 from qoega/mute-integration-debug-fails
Mute some integration tests until failures are fixed
2021-08-21 15:04:59 +03:00
Amos Bird
4d3db821bb
Fix JSONExtract String with null value. 2021-08-21 17:03:16 +08:00
alexey-milovidov
5ac6a99542
Merge pull request #27927 from ClickHouse/fix_27832
Сheck cluster name before creating Distributed
2021-08-21 10:40:23 +03:00
alexey-milovidov
adc63ce279
Merge pull request #27918 from vitlibar/fix-low-cardinality-uuid-with-extremes
Fix selecting with extremes from LowCardinality(UUID)
2021-08-21 10:34:33 +03:00
Kseniia Sumarokova
19afb22b4d
Merge pull request #27932 from amosbird/constkeys
Add a setting to bring back the old behavior of grouping by constant keys on empty set.
2021-08-21 08:02:30 +03:00
Kseniia Sumarokova
f3f44ec8fb
Merge pull request #27901 from amosbird/applylambda
APPLY with lambda.
2021-08-21 00:26:03 +03:00
Kseniia Sumarokova
38a35c1d9e
Merge pull request #27530 from kssenii/col-identifier-as-col-number
Allow positional arguments for group by, order by, limit by
2021-08-20 21:08:58 +03:00
kssenii
945e2c4ce5 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into disk-over-web-server 2021-08-20 18:01:23 +00:00
Ilya Yatsishin
e146afec79
Merge pull request #27905 from kitaisreal/dictionary-empty-attribute-list
Dictionary empty attribute list
2021-08-20 19:28:06 +03:00
Yatsishin Ilya
d9e782d379 Merge remote-tracking branch 'origin' into mute-integration-debug-fails 2021-08-20 18:59:16 +03:00
Yatsishin Ilya
58c1b57259 improve tests from test_backward_compatibility 2021-08-20 18:58:43 +03:00
Yatsishin Ilya
812a6ffb80 kafka assertion was fixed in master 2021-08-20 18:56:15 +03:00
achimbab
a516b8e843
Merge branch 'master' into bugfix_wf_strict 2021-08-21 00:00:13 +09:00
achimbab
f371151e18 Fix docs and comments for windowFunnel and remove strict option 2021-08-20 23:56:28 +09:00
Amos Bird
5708ed42ec
Add setting.
empty_result_for_aggregation_by_constant_keys_on_empty_set
2021-08-20 22:34:32 +08:00
Alexander Tokmakov
9ef0b00803 fix config 2021-08-20 17:12:42 +03:00
Alexander Tokmakov
42378b5913 fix 2021-08-20 17:05:53 +03:00
mergify[bot]
02b4e56e6a
Merge branch 'master' into break_some_tests 2021-08-20 13:24:17 +00:00
Alexander Tokmakov
59eb3aa9a9 avoid too long waiting for inactive replicas 2021-08-20 15:59:57 +03:00
Amos Bird
452602dadb
APPLY with lambda. 2021-08-20 20:38:09 +08:00
alesapin
10503af0d0
Merge pull request #27818 from ClickHouse/add_keeper_test_and_fix_docs
Add test for clickhouse-keeper start after conversion
2021-08-20 15:22:32 +03:00
Vitaly Baranov
cbc1b2e72d Fix selecting with extremes from LowCardinality(UUID) 2021-08-20 13:10:41 +03:00
Maksim Kita
9831995fd8 Dictionary empty attribute list 2021-08-20 12:09:05 +03:00
Maksim Kita
e0c25a1503 Fixed tests 2021-08-20 11:54:10 +03:00
Maksim Kita
5f2b28639f Merge branch 'master' into create-user-defined-lambda-function 2021-08-20 11:53:08 +03:00
Kseniia Sumarokova
74ebc5c75c
Merge pull request #27876 from CurtizJ/cast-with-minus
Fix postgres-like cast with negative numbers
2021-08-20 10:55:42 +03:00
Kseniia Sumarokova
273b8b9bc1
Merge pull request #27704 from jasine/master
feat: add conversions  between snowflake id and  dateTime(dateTime64)
2021-08-20 10:48:40 +03:00
tavplubix
64bfe21a1b
Fix test 00443_preferred_block_size_bytes.sh (#27846)
* Update 00443_preferred_block_size_bytes.sh

* Update clickhouse-test

* Update clickhouse-test

* Update database_replicated.xml
2021-08-20 00:25:14 +03:00
Kseniia Sumarokova
87f607faf9
Merge pull request #27815 from kssenii/fix-symlinks0in-bridge
Allow symlinks to library dictionary path
2021-08-19 21:34:13 +03:00
Kruglov Pavel
db5e24cee4
Merge pull request #27878 from Avogar/remove-tmp-folders
Remove tmp folders from tests
2021-08-19 18:51:27 +03:00
Pavel Kruglov
f3ff3aee0e Remove tmp folders from tests 2021-08-19 18:49:39 +03:00
kssenii
512d66a088 Fix 2021-08-19 15:19:11 +00:00
Anton Popov
a9d83c1eec fix postgres like cast with negative numbers 2021-08-19 18:16:57 +03:00
Alexander Tokmakov
0afb293b4f Merge branch 'master' into break_some_tests 2021-08-19 15:05:02 +03:00
tavplubix
9ef45d92c2
Merge pull request #27755 from ClickHouse/ncb/server_uuid
Merging  #20089
2021-08-19 14:59:18 +03:00
Yatsishin Ilya
9c22d07dea Mute current failures 2021-08-19 14:32:32 +03:00
alesapin
09df5018f9
Merge pull request #27125 from nicelulu/fix_create_znode
The behavior of clickhouse-keeper to create znode is consistent with zookeeper
2021-08-19 13:38:52 +03:00
alexey-milovidov
215385e4d0
Merge pull request #27794 from filimonov/kafka_null_messages
Avoid nullptr dereference during processing of NULL messages in Kafka for some formats
2021-08-19 11:25:07 +03:00
alexey-milovidov
415bb6e1e1
Merge pull request #27793 from Algunenano/cleanup_leftovers
Stateless test: Cleanup leftovers
2021-08-19 11:21:03 +03:00
Nikolai Kochetov
3e44ef437e
Merge pull request #26639 from ClickHouse/fix-bad-cast
Fix bad cast
2021-08-19 11:17:26 +03:00
alexey-milovidov
190ea327e9
Merge pull request #27826 from Avogar/fix-short-circuit-fuzz
Fix bug in short-circuit found by fuzzer
2021-08-19 11:06:22 +03:00
listar
fae6ae1c7b 1. add tests and fix a length bug. 2021-08-19 07:56:47 +00:00
Vladimir Chebotarev
963cfc1694 S3 disk unstable reads test. 2021-08-19 10:08:16 +03:00
alesapin
3149e80c59 Commit missed file 2021-08-19 09:54:13 +03:00
Vitaly Baranov
65ee9a1272
Merge pull request #26864 from vitlibar/refactor-sessions
Introduce sessions
2021-08-19 01:38:51 +03:00
Nickita Taranov
f45573715e rename test files 2021-08-19 01:24:49 +03:00
Maksim Kita
01682a86b3 Updated user defined functions implementation 2021-08-19 00:54:55 +03:00
alexey-milovidov
c6bcd48bee
Merge pull request #27810 from Algunenano/01766fix
01766_todatetime64_no_timezone_arg: Use a date without timezone changes
2021-08-19 00:18:53 +03:00
Pavel Kruglov
240398d58c Fix bug in expand() method 2021-08-18 19:13:07 +03:00
Kruglov Pavel
cd07cabada
Merge pull request #27788 from Avogar/nullable-decimal
Set function divide as suitable for short-circuit in case of Nullable(Decimal)
2021-08-18 19:01:44 +03:00
kssenii
94d68ee8ac Fix, add test 2021-08-18 14:14:53 +00:00
Kruglov Pavel
c71cac2af3
Fix test 2021-08-18 16:55:13 +03:00
alesapin
c819880aa7 Add test for clickhouse-keeper start after conversion 2021-08-18 16:34:57 +03:00
tavplubix
9b45b26dd6
Merge pull request #27655 from FArthur-cmd/import_from_infile_syntax
Import `FROM INFILE`
2021-08-18 15:36:32 +03:00
Vitaly Baranov
fabd7193bd Code cleanups and improvements. 2021-08-18 14:24:52 +03:00
Kruglov Pavel
9532e2f962
Merge branch 'master' into nullable-decimal 2021-08-18 14:03:20 +03:00
Raúl Marín
d9e3adf3d5 01766: Use a date without timezone changes 2021-08-18 12:14:00 +02:00
mergify[bot]
f3199f6070
Merge branch 'master' into break_some_tests 2021-08-18 09:53:43 +00:00
Mikhail Filimonov
05d77d2873
Safer processing of NULL messages in Kafka for some formats 2021-08-18 11:26:57 +02:00
mergify[bot]
498253eb7b
Merge branch 'master' into fix_create_znode 2021-08-18 08:41:10 +00:00
alesapin
8bf0578098
Merge pull request #27802 from azat/fix-test-01822_short_circuit
Update 01822_short_circuit.reference (after merging #27680)
2021-08-18 10:53:37 +03:00
Vitaly Baranov
fd33f2a2fe
Merge pull request #27426 from aiven/kmichel-replicated-access-storage
ZooKeeper replication for users, roles, row policies, quotas and profiles.
2021-08-18 10:37:25 +03:00
Azat Khuzhin
6c566a46b6 Update 01822_short_circuit.reference (after merging #27680) 2021-08-18 10:21:41 +03:00
小路
5d3237c680
Update test.py 2021-08-18 10:56:05 +08:00
zhangxiao871
861776b8fe check genuine_throw and fake_throw are True. 2021-08-18 10:40:04 +08:00
zhangxiao871
f34787838a Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix_create_znode 2021-08-18 10:37:49 +08:00
alexey-milovidov
eb3bbdfab5
Merge pull request #27680 from ClickHouse/decimal-no-trailing-zeros
Remove trailing zeros from Decimal serialization #15794
2021-08-18 05:24:13 +03:00
Kevin Michel
e33a2bf7bc
Add ReplicatedAccessStorage
This stores Access Entities in ZooKeeper and replicates them across an entire cluster.

This can be enabled by using the following configuration :

    <user_directories>
        <replicated>
            <zookeeper_path>/clickhouse/access/</zookeeper_path>
        </replicated>
    </user_directories>
2021-08-18 00:00:18 +02:00
Kseniia Sumarokova
78105ecba7
Merge pull request #27757 from kssenii/fix-intersect-cast
Fix intersect/except with limit
2021-08-17 21:37:37 +03:00
Kseniia Sumarokova
f04cdf58c0
Merge pull request #27762 from evillique/tests
Add HTTP string parsing test
2021-08-17 21:36:45 +03:00
Maksim Kita
8403f381da
Merge pull request #23978 from Realist007/feature/create-simple-lambda-function
Feature/create simple lambda function
2021-08-17 21:22:31 +03:00
tavplubix
2fcc0874a8
Merge pull request #27785 from ClickHouse/fix_some_tests
Fix some tests
2021-08-17 21:13:58 +03:00
Alexander Tokmakov
1f283aeb1f fix 2021-08-17 21:10:08 +03:00
Raúl Marín
ac5ac0a106 01280_ssd_complex_key_dictionary: Delete database at end 2021-08-17 18:48:32 +02:00
Alexander Tokmakov
2945a826ab Merge branch 'master' into break_some_tests 2021-08-17 19:43:20 +03:00
Alexander Tokmakov
df1a4e90a8 Merge branch 'master' into ncb/server_uuid 2021-08-17 19:42:47 +03:00
Raúl Marín
f7ed6c4fb8 01516_drop_table_stress: Tag as long 2021-08-17 18:42:31 +02:00
Raúl Marín
b80ddd4bd1 01516_drop_table_stress: Parallelizable and cleanup 2021-08-17 18:41:31 +02:00
Raúl Marín
19f087cece 01114_mysql_database_engine_segfault: Cleanup beforehand 2021-08-17 18:31:40 +02:00
Raúl Marín
0e5cfdbb9d 01054_cache_dictionary_overflow_cell: Drop database at the end 2021-08-17 18:29:31 +02:00
Raúl Marín
90294e6dd8 01889_sqlite_read_write: Made parallelizable and cleanup properly 2021-08-17 18:22:41 +02:00
Nikolai Kochetov
c36569e17c Try fix integration tests. 2021-08-17 16:33:30 +03:00
Pavel Kruglov
a0caa26615 Remove unnecessary files 2021-08-17 16:29:49 +03:00
Pavel Kruglov
bc853d250f Set function divide as suitable for short-circuit in case of Nullable(Decimal) 2021-08-17 16:24:28 +03:00