Azat Khuzhin
ec6bae2b2a
Fix optimize_skip_unused_shards_rewrite_in for signed columns
...
Fixes : #35131
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-09 08:29:28 +03:00
lgbo-ustc
46c4b3a69f
retry on exception
2022-03-09 11:03:05 +08:00
kssenii
894161430b
Update tests
2022-03-08 23:53:52 +01:00
kssenii
16e84c265b
Fix build, update test
2022-03-08 21:41:58 +01:00
Azat Khuzhin
4843e210c3
Support view() for parallel_distributed_insert_select
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-08 22:05:57 +03:00
kssenii
5260822964
Merge master
2022-03-08 18:21:28 +01:00
Azat Khuzhin
a871036361
Fix parallel_reading_from_replicas
with clickhouse-bechmark
( #34751 )
...
* Use INITIAL_QUERY for clickhouse-benchmark
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Fix parallel_reading_from_replicas with clickhouse-bechmark
Before it produces the following error:
$ clickhouse-benchmark --stacktrace -i1 --query "select * from remote('127.1', default.data_mt) limit 10" --allow_experimental_parallel_reading_from_replicas=1 --max_parallel_replicas=3
Loaded 1 queries.
Logical error: 'Coordinator for parallel reading from replicas is not initialized'.
Aborted (core dumped)
Since it uses the same code, i.e RemoteQueryExecutor ->
MultiplexedConnections, which enables coordinator if it was requested
from settings, but it should be done only for non-initial queries, i.e.
when server send connection to another server.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Fix 02226_parallel_reading_from_replicas_benchmark for older shellcheck
By shellcheck 0.8 does not complains, while on CI shellcheck 0.7.0 and
it does complains [1]:
In 02226_parallel_reading_from_replicas_benchmark.sh line 17:
--allow_experimental_parallel_reading_from_replicas=1
^-- SC2191: The = here is literal. To assign by index, use ( [index]=value ) with no spaces. To keep as literal, quote it.
Did you mean:
"--allow_experimental_parallel_reading_from_replicas=1"
[1]: https://s3.amazonaws.com/clickhouse-test-reports/34751/d883af711822faf294c876b017cbf745b1cda1b3/style_check__actions_/shellcheck_output.txt
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-08 16:42:29 +01:00
Azat Khuzhin
c4b6342853
Improvements for parallel_distributed_insert_select
(and related) ( #34728 )
...
* Add a warning if parallel_distributed_insert_select was ignored
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Respect max_distributed_depth for parallel_distributed_insert_select
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Print warning for non applied parallel_distributed_insert_select only for initial query
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Remove Cluster::getHashOfAddresses()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Forbid parallel_distributed_insert_select for remote()/cluster() with different addresses
Before it uses empty cluster name (getClusterName()) which is not
correct, compare all addresses instead.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Fix max_distributed_depth check
max_distributed_depth=1 must mean not more then one distributed query,
not two, since max_distributed_depth=0 means no limit, and
distribute_depth is 0 for the first query.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Fix INSERT INTO remote()/cluster() with parallel_distributed_insert_select
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Add a test for parallel_distributed_insert_select with cluster()/remote()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Return <remote> instead of empty cluster name in Distributed engine
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Make user with sharding_key and w/o in remote()/cluster() identical
Before with sharding_key the user was "default", while w/o it it was
empty.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-08 15:24:39 +01:00
Vladimir C
95dd88d3de
Merge pull request #35058 from vdimir/fix-aarch64
2022-03-08 12:16:23 +01:00
zzsmdfj
e7f567ddfd
to #31469_MaterializedMysql_mysqlDate2CkDate32-adjust code-style
2022-03-08 18:25:21 +08:00
lgbo-ustc
d98ef45a50
update tests
2022-03-08 18:22:53 +08:00
zzsmdfj
67b9f81104
to #31469_MaterializedMysql_mysqlDate2CkDate32
2022-03-08 18:17:22 +08:00
kssenii
c20c7453a8
Fix tests
2022-03-08 09:17:04 +01:00
lgbo-ustc
256e92ffee
Merge remote-tracking branch 'ck/master' into hive_random_access_file_cache
2022-03-08 14:14:40 +08:00
lgbo-ustc
148109e929
update tests
2022-03-08 09:36:02 +08:00
alexey-milovidov
df1a031851
Merge pull request #35046 from vdimir/issue-35044
...
Fix trim function
2022-03-08 01:50:02 +03:00
Nikolai Kochetov
8f77b2b778
Merge pull request #34889 from ClickHouse/finally-enable-s3-async-writes-again
...
Update DiskS3.cpp
2022-03-07 21:31:44 +01:00
Kseniia Sumarokova
28b9ec01c0
Merge pull request #34945 from bigo-sg/hive_bug_fixed
...
unexpected result when use `in` in hive query
2022-03-07 17:13:11 +01:00
alesapin
aae13ed912
Supress move partition long for storage S3
2022-03-07 15:18:57 +01:00
mergify[bot]
88052e2d7c
Merge branch 'master' into finally-enable-s3-async-writes-again
2022-03-07 12:55:52 +00:00
vdimir
20478e9088
add testcase to 02100_replaceRegexpAll_bug
2022-03-07 11:18:12 +00:00
vdimir
202ac18e76
Skip 01086_odbc_roundtrip for aarch, disable force_tests
2022-03-07 11:04:37 +00:00
alesapin
527df53c1e
Merge pull request #35088 from ClickHouse/push-artifactory-improvement
...
Put downloaded artifacts to a temorary path
2022-03-07 11:39:21 +01:00
lgbo-ustc
0f40a5a52d
update tests
2022-03-07 17:31:27 +08:00
lgbo-ustc
f322674577
update tests
2022-03-07 17:22:55 +08:00
lgbo-ustc
a016ce3576
updat codes
2022-03-07 12:15:20 +08:00
qieqieplus
c056992e92
add new test query
2022-03-07 12:06:04 +08:00
lgbo-ustc
4507cc58aa
update codes
2022-03-07 12:05:07 +08:00
Mikhail f. Shiryaev
223ec3d0b6
Put downloaded artifacts to a temorary path
2022-03-06 14:07:47 +01:00
qieqieplus
5287f78d8b
fix #33798
2022-03-06 12:02:17 +08:00
mergify[bot]
275ce197c7
Merge branch 'master' into fix-tests
2022-03-05 23:26:36 +00:00
alexey-milovidov
f9b7df6ba1
Merge pull request #35050 from CurtizJ/fix-async-inserts-system-table
...
Fix reading from `system.asynchronous_inserts` table
2022-03-06 02:25:53 +03:00
avogar
722e0ea214
Fix clickhouse-test
2022-03-05 16:46:14 +00:00
avogar
abd4a32f83
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-tests
2022-03-05 16:45:39 +00:00
avogar
8a12a4c214
Try to fix failed tests
2022-03-05 16:17:08 +00:00
tavplubix
e49521163f
Merge pull request #34860 from zhangjmruc/master
...
Support non-table DDLs on cross replicated cluster
2022-03-04 19:37:51 +01:00
Kruglov Pavel
d45b6ae03c
Extract schema only once on table creation and add it to metadata ( #34684 )
...
* Add columns description to metadata in case of schema inference
* Make better
* Remove unnecessary code
* Fix tests
* More tests
* Add tag no-fasttest
* Fix test
* Fix test
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-04 21:23:19 +03:00
Maksim Kita
7ae1f0fa3b
Merge pull request #34911 from larspars/master
...
Allow LowCardinality strings for ngrambf_v1/tokenbf_v1 indexes. Fixes #21865
2022-03-04 19:17:48 +01:00
Vitaly Baranov
115c0c2aba
Merge pull request #34855 from vitlibar/ignore-obsolete-grants-in-attach-grants
...
Ignore obsolete grants in ATTACH GRANT statements
2022-03-04 12:50:09 +01:00
Anton Popov
c836a57000
fix reading from system.asynchronous_inserts table
2022-03-04 11:46:15 +00:00
Kruglov Pavel
cbb913a67e
Merge pull request #34092 from Avogar/random-settings
...
Randomize some settings in functional tests
2022-03-04 13:57:49 +03:00
Vladimir C
79b21c80b1
Merge pull request #33698 from hexiaoting/dev-map-funciton
2022-03-04 11:51:17 +01:00
Maksim Kita
6722227407
Merge pull request #35027 from kitaisreal/functions-hierarchical-dictionaries-const-arguments-fix
...
Dictionary hierarchy functions implicit key cast and support for constant arguments
2022-03-04 10:45:37 +01:00
Anton Popov
7d01516202
Merge pull request #34795 from snar/array-compact-higher-order
...
make arrayCompact behave as other higher-order functions
2022-03-03 21:25:43 +03:00
vdimir
2aa6685baf
Add cases to 02169_map_functions, update error messages in FunctionArrayMapped
2022-03-03 18:04:17 +00:00
Maksim Kita
18fabccff2
Functions dictGetHierarchy, dictIsIn, dictGetChildren, dictGetDescendants support implicit key cast and constant arguments
2022-03-03 16:13:05 +00:00
vdimir
939a15d29a
Upd FunctionArrayMapped for Map
2022-03-03 13:22:48 +00:00
hexiaoting
aeec4a62e7
fix bug
2022-03-03 13:22:47 +00:00
hexiaoting
71aa411746
Fix bug
2022-03-03 13:22:46 +00:00
hexiaoting
a435c3a1e8
Fix mapFilter bug
2022-03-03 13:22:46 +00:00
hexiaoting
d6d943f4d4
Rectify test case
2022-03-03 13:22:45 +00:00
hexiaoting
e953e482ec
Implement more functions for Map data type
2022-03-03 13:22:44 +00:00
mergify[bot]
c90d24e10b
Merge branch 'master' into random-settings
2022-03-03 13:07:12 +00:00
Kseniia Sumarokova
b11b34dc8c
Merge pull request #34849 from kssenii/fix-too-many-columns
...
Fix reading too many columns for s3 and url storages
2022-03-03 13:57:22 +01:00
tavplubix
b7d4c78f13
Merge pull request #34487 from zzsmdfj/issue/32977_MaterializedMySQL_add_table_list_settings
...
MaterializedMySQL add materialized_mysql_tables_list settings
2022-03-03 12:44:51 +01:00
Vladimir C
eb68c21152
Merge pull request #34995 from vdimir/fix-aarch64
2022-03-03 12:18:28 +01:00
Vladimir C
ec3ed98dfe
Merge pull request #34947 from freedomDR/feature1
2022-03-03 12:14:01 +01:00
kssenii
5a8606e10b
Mark test as long
2022-03-03 00:10:15 +01:00
Vladimir C
38cafb549b
add no-cpu-aarch64 to 01092_memory_profiler
2022-03-02 23:15:01 +01:00
Kseniia Sumarokova
36dcdafc1c
Merge pull request #34991 from kssenii/fix-postgres-test
...
Fix test_storage_postgresql::test_concurrent_queries
2022-03-02 20:14:06 +01:00
Nikolai Kochetov
5fa7cc6e18
Fix test.
2022-03-02 19:10:33 +00:00
mergify[bot]
e169813004
Merge branch 'master' into fix-too-many-columns
2022-03-02 18:46:35 +00:00
Kruglov Pavel
3b92b9037f
Merge branch 'master' into random-settings
2022-03-02 21:09:48 +03:00
kssenii
d5952109fb
Merge master
2022-03-02 18:15:25 +01:00
avogar
d25d83580a
Fix tests
2022-03-02 16:33:21 +00:00
Kruglov Pavel
3e17f6dd4a
Merge pull request #34961 from Avogar/fix-schema-inference
...
Fix wrong schema inference for unquoted dates in CSV
2022-03-02 18:06:52 +03:00
vdimir
fc5e941f79
Add option to clickhouse-test to skip aarch64 build
2022-03-02 14:18:24 +00:00
alesapin
b1f5805647
Merge pull request #34609 from ClickHouse/unrestricted-zk-reads
...
allow unrestricted reads from zookeeper
2022-03-02 14:53:12 +01:00
mergify[bot]
df70927e83
Merge branch 'master' into fix-postgres-test
2022-03-02 13:24:20 +00:00
Vladimir C
9e81bd395a
Check current user from env in test_user_zero_database_access
2022-03-02 13:49:12 +01:00
alesapin
8c533b2382
Merge pull request #34964 from ClickHouse/disable_test_for_memory_with_tsan
...
Disable memory checking test with thread sanitizer
2022-03-02 13:17:13 +01:00
Vladimir C
2c32614e0a
Merge pull request #34951 from vdimir/fix-aarch64
2022-03-02 13:01:56 +01:00
kssenii
b3a7f07954
Fix flacky test
2022-03-02 13:01:15 +01:00
kssenii
99b55d802b
Fix
2022-03-02 12:15:50 +01:00
alesapin
9249c5d50e
Use tryget instead of get
2022-03-02 13:09:12 +03:00
alesapin
1863abe7c5
disable also for asan
2022-03-02 12:43:40 +03:00
Kseniia Sumarokova
a9ab149b31
Merge pull request #34859 from Vxider/windowview-multi-column-groupby
...
Fix bugs for multiple columns group by in WindowView
2022-03-02 10:09:47 +01:00
HaiBo Li
2ea18b3085
Fix the bug that the toDatetime function overflows ( #32898 )
...
* Fixed overflow bug of the function toDatetime/toDate/toDate32/parseDateTimeBestEffort
2022-03-02 10:06:38 +03:00
Vxider
1f89632f89
Merge branch 'windowview-multi-column-groupby' of https://github.com/Vxider/ClickHouse
2022-03-02 03:19:50 +00:00
Vxider
6354ce41c1
fix flaky test
2022-03-02 11:12:42 +08:00
lgbo-ustc
7efe4abe2a
update tests
2022-03-02 09:46:32 +08:00
freedomDR
43ac214dc5
get credentials from environment variables for clickhouse-client
...
include CLICKHOUSE_USER, CLICKHOUSE_PASSWORD
2022-03-02 00:54:51 +00:00
alesapin
ec3e4251e1
Fix style
2022-03-01 20:34:25 +01:00
alesapin
673ddd98de
Fix tests
2022-03-01 20:02:43 +01:00
kssenii
a594f388a4
Merge master
2022-03-01 19:43:45 +01:00
alesapin
cba5fe44a9
Merge branch 'master' into unrestricted-zk-reads
2022-03-01 18:09:21 +01:00
kssenii
f081edce74
Turn on cache for all s3 tests
2022-03-01 17:54:46 +01:00
Anton Popov
82d24f06eb
Merge pull request #34866 from CurtizJ/async-insert-table-function
...
Fix async inserts to table functions
2022-03-01 19:45:22 +03:00
alesapin
932fa19ecd
Disable memory checking test with thread sanitizer
2022-03-01 13:17:34 +01:00
avogar
2b77416bf1
Fix tests
2022-03-01 11:35:17 +00:00
kssenii
7597c692d1
Fix test
2022-03-01 12:07:13 +01:00
kssenii
092ec45b47
Merge master
2022-03-01 12:06:56 +01:00
avogar
a7c6d11532
Fix schema inference for unquoted dates in CSV
2022-03-01 11:03:26 +00:00
kssenii
7dcf15067c
Fix test
2022-03-01 11:57:14 +01:00
Kruglov Pavel
97d634d1cc
Merge pull request #34732 from Avogar/insert-select-schema
...
Support schema inference for INSERT INTO FUNCTION
2022-03-01 13:38:16 +03:00
Kseniia Sumarokova
781621eefe
Merge pull request #34946 from bigo-sg/hive_table_function
...
Add hive table function
2022-03-01 11:28:36 +01:00
kssenii
af6a5c78a6
Fix tests
2022-03-01 10:38:01 +01:00
zzsmdfj
4d9bdfa58c
to 32977_MaterializedMySQL_add_table_list_settings
2022-03-01 10:21:58 +08:00
HeenaBansal2009
c14c60f1d3
Merge branch 'master' into Issue-33953
2022-02-28 11:12:54 -08:00
HeenaBansal2009
aa8494a808
Fix: System Reload Config Failure
2022-02-28 10:51:49 -08:00
Filatenkov Artur
af4362e40a
Improve certificate reloader ( #34887 )
...
* add ec support
* Add test
* fix tests and improve code style
2022-02-28 21:30:02 +03:00
Kruglov Pavel
ee37e93499
Update test.py
2022-02-28 20:39:15 +03:00
vdimir
96390a9263
Fix 01016_simhash_minhash
2022-02-28 16:38:39 +00:00
vdimir
1560bb0e3d
Fix 01492_format_readable_quantity
2022-02-28 16:06:39 +00:00
vdimir
39407dc17b
Skip 01103_check_cpu_instructions_at_startupfor aarch64
2022-02-28 16:05:57 +00:00
vdimir
399c9c2902
Add order by to 01854_HTTP_dict_decompression
2022-02-28 15:09:54 +00:00
vdimir
685de7166d
Fix 02207_s3_content_type
2022-02-28 14:58:56 +00:00
Kseniia Sumarokova
3881f6a806
Merge pull request #34923 from azat/client-stop-multiquery-on-SIGINT
...
Stop processing multiqueries in clickhouse-client/local on SIGINT
2022-02-28 15:57:44 +01:00
kssenii
9983a5d802
Add test for profile events
2022-02-28 15:47:12 +01:00
mergify[bot]
8014cdf9d3
Merge branch 'master' into random-settings
2022-02-28 14:06:22 +00:00
Kruglov Pavel
011813957d
Merge pull request #34938 from azat/create-as-ignore-ttl
...
Ignore per-column TTL in CREATE TABLE AS if new table engine does not support it
2022-02-28 16:58:15 +03:00
lgbo-ustc
99cd25d70e
add new table function: hive()
2022-02-28 20:51:33 +08:00
avogar
dbb29dd394
Fix tests
2022-02-28 12:17:44 +00:00
lgbo-ustc
b8a2deba0f
update tests
2022-02-28 20:11:59 +08:00
Vladimir C
9bceba5aa8
Merge pull request #34907 from kssenii/sqlite-db-allow-no-existing-db
2022-02-28 12:21:43 +01:00
avogar
916ce3f96d
Fix tests
2022-02-28 10:07:29 +00:00
lgbo-ustc
53190ed4d4
updat test
2022-02-28 17:40:08 +08:00
Azat Khuzhin
f66ad2ee48
Stop processing multiqueries in clickhouse-client/local on SIGINT
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-28 12:19:13 +03:00
lgbo-ustc
afad4bf414
update test
2022-02-28 17:14:56 +08:00
lgbo-ustc
5885cfd869
fixed bug : unexpected result when using in clause for filtering partitions
2022-02-28 16:47:50 +08:00
Azat Khuzhin
644f9168fa
Ignore per-column TTL in CREATE TABLE AS if new table engine does not support it
...
Follow-up for: #6968
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-28 10:29:26 +03:00
Mikhail f. Shiryaev
d31af7f343
Merge pull request #34901 from vdimir/ci-release-py
...
Add check_prerequisites to release.py
2022-02-27 21:05:39 +01:00
mergify[bot]
8d84d22618
Merge branch 'master' into windowview-multi-column-groupby
2022-02-26 00:50:49 +00:00
kssenii
92d2cff045
Fix
2022-02-25 16:04:11 +01:00
Lars Eidnes
2629614dfe
Allow LowCardinality strings for ngrambf_v1/tokenbf_v1 indexes. Fixes #21865
2022-02-25 15:36:36 +01:00
kssenii
40075d4c6b
Fix
2022-02-25 15:04:14 +01:00
vdimir
9032cc6c3d
Fix stylecheck for tests/ci/release.py
2022-02-25 11:17:45 +00:00
vdimir
5c38203f7d
Argument --commit for release.py is required
2022-02-25 11:06:58 +00:00
vdimir
ef3cbdcf6a
Add check_prerequisites to release.py
2022-02-25 10:53:21 +00:00
Vladimir C
9ba0cb547a
Merge pull request #34836 from vdimir/issue-34810
2022-02-25 09:58:28 +01:00
kssenii
7d7277a7c6
Add test
2022-02-25 09:32:39 +01:00
Anton Popov
97d57e22ea
fix async inserts to table functions
2022-02-24 14:26:47 +03:00
Sergei Trifonov
24058c3327
add test for system.zookeeper
table unrestricted read with WHERE path LIKE pattern
clause
2022-02-24 14:14:46 +03:00
vdimir
8c42d16c95
Add test in_untuple_issue_34810
2022-02-24 10:41:21 +00:00
kssenii
725f967ac6
Add stress test
2022-02-24 07:54:58 +01:00
Jianmei Zhang
d148cc30cc
Support non-table DDLs on cross replicated cluster
2022-02-24 14:37:35 +08:00
Vxider
43475f79bf
windowview_multi_column_groupby
2022-02-24 14:06:37 +08:00
Vitaly Baranov
b7817b4cea
Ignore obsolete grants in ATTACH GRANT statements.
2022-02-24 07:30:40 +03:00
Mikhail f. Shiryaev
af19c5c56d
Merge pull request #34828 from ClickHouse/team-keys-lambda
...
Comment output header for team keys
2022-02-23 10:53:28 +01:00
Mikhail f. Shiryaev
a2f025b292
Comment output header for team keys
2022-02-23 10:51:31 +01:00
alesapin
c4077c8683
Merge pull request #34792 from ClickHouse/scripts-no-options
...
Improve `--no-*` options code in ci scripts
2022-02-23 10:38:14 +03:00
Dmitry Novik
f85d8cd3b3
Merge pull request #33441 from nicelulu/znode_time
...
Make the znode ctime and mtime consistent between servers.
2022-02-22 06:55:46 -08:00
Dmitry Novik
2fd4baaa64
Merge pull request #34387 from nvartolomei/nv/move-part-settings-cleanup
...
Remove useless setting experimental_query_deduplication_send_all_part_uuids
2022-02-22 06:11:00 -08:00
Sergei Trifonov
7fe3bef866
add test for unrestricted zk reads
2022-02-22 16:51:30 +03:00
kssenii
c637385dd0
Merge master
2022-02-22 13:17:51 +01:00
kssenii
26f58274b6
Fix stateful test
2022-02-22 12:05:43 +01:00
Mikhail f. Shiryaev
2386e1ee54
Fix linter issues
2022-02-22 11:40:40 +01:00
Mikhail f. Shiryaev
dd180b83a8
Improve --no-* parameters for scripts
2022-02-22 11:40:39 +01:00
Mikhail f. Shiryaev
c44aeda23c
Merge pull request #34740 from ClickHouse/release-stable
...
Add a patch release for stable/lts packages to release.py
2022-02-22 11:39:23 +01:00
Mikhail f. Shiryaev
f0c7a7017f
Review points: update -> read_version, comment in _create_gh_label
2022-02-22 11:32:05 +01:00