Commit Graph

78318 Commits

Author SHA1 Message Date
tavplubix
5400c5899d
Merge pull request #32063 from ClickHouse/fix_detach_dir_exists
Fix 'directory exists' error when detaching part
2021-12-02 14:04:21 +03:00
Anton Popov
a79dbb6b6a
Merge pull request #32079 from Avogar/parse-plus-in-float
Allow plus before Float32/Float64
2021-12-02 14:03:48 +03:00
Maksim Kita
2d359a5e79
Merge pull request #32110 from bharatnc/ncb/h3-func-looping
make looping in H3 funcs uniform
2021-12-02 13:15:36 +03:00
Maksim Kita
a426ed0a5a
Merge pull request #31800 from kitaisreal/dict-get-with-type-nullable-fix
Function dictGet with type Nullable fix
2021-12-02 12:27:47 +03:00
alesapin
1cda5bfe4e
Merge pull request #32114 from ClickHouse/remove_pvs_from_master
Remove PVS check from master
2021-12-02 11:37:00 +03:00
alesapin
97e7da18bb Remove PVS check from master 2021-12-02 11:36:30 +03:00
Maksim Kita
9874931347
Merge pull request #32095 from FedericoCeratto/patch-2
Fix syntax error: drop comma
2021-12-02 11:20:52 +03:00
mergify[bot]
cd4a58c59d
Merge branch 'master' into patch-2 2021-12-02 08:01:05 +00:00
alesapin
d273a8db7c
Merge pull request #32094 from azat/clickhouse-test-longer-db
Increase length of random database in clickhouse-test
2021-12-02 10:58:40 +03:00
alexey-milovidov
b95e96729f
Merge pull request #32036 from azat/fasttest-stripped
Provide clickhouse binary w/o debug symbols (stripped) in fasttest
2021-12-02 09:03:52 +03:00
bharatnc
5614be28ef make looping in H3 funcs uniform
Some of the H3 funcs use `collections::range(0, input_rows_count)`
and some just use simple for loop for iterating over the rows.

In my recent PR reviews, I've been requested to use for loop in favor of
collections in the H3 functions and have been wanting to make the switch
for other functions too to make them uniform

This PR replaces `collections::range` with a simple for loop for this
kind of iteration in the remaining H3 funcs.
2021-12-01 18:14:08 -08:00
Federico Ceratto
04a8730c91
Fix syntax error: drop comma 2021-12-01 20:12:10 +00:00
Azat Khuzhin
cc8ebff212 Increase length of random database in clickhouse-test
In [1] there was one overlap with 6-byte prefix:

    $ pigz -cd clickhouse-server2.log.gz | fgrep  test_8a50uz | fgrep 'CREATE DATABASE' | fgrep comment | cut -d' ' -f7-
    <Debug> executeQuery: (from 0.0.0.0:0, user: ) (comment: 01018_insert_multiple_blocks_with_defaults.sh) /* ddl_entry=query-0000001951 */ CREATE DATABASE test_8a50uz UUID 'bb71f2ea-5ed3-466d-bb71-f2ea5ed3266d' ENGINE = Replicated('/test/clickhouse/db/test_8a50uz', '{shard}', '{replica}')
    <Debug> executeQuery: (from 0.0.0.0:0, user: ) (comment: 00098_k_union_all.sql) /* ddl_entry=query-0000003157 */ CREATE DATABASE test_8a50uz UUID '09cc030b-a4c1-4192-89cc-030ba4c1e192' ENGINE = Replicated('/test/clickhouse/db/test_8a50uz', '{shard}', '{replica}')
    <Error> executeQuery: Code: 82. DB::Exception: Database test_8a50uz already exists. (DATABASE_ALREADY_EXISTS) (version 21.12.1.8932) (from 0.0.0.0:0) (comment: 00098_k_union_all.sql) (in query: /* ddl_entry=query-0000003157 */ CREATE DATABASE test_8a50uz UUID '09cc030b-a4c1-4192-89cc-030ba4c1e192' ENGINE = Replicated('/test/clickhouse/db/test_8a50uz', '{shard}', '{replica}')), Stack trace (when copying this message, always include the lines below):

  [1]: https://clickhouse-test-reports.s3.yandex.net/32019/927b9cb1c6470b6d7cd86b4c3fd2078ff43b57df/functional_stateless_tests_(release,_databasereplicated).html#fail1
2021-12-01 22:39:42 +03:00
Kseniia Sumarokova
563b615904
Merge pull request #31766 from kssenii/odbc-fix
Fix crash with empty result on odbc query
2021-12-01 21:51:08 +03:00
Azat Khuzhin
e976cd8691 Provide clickhouse binary w/o debug symbols (stripped) in fasttest
- regular binary: 1.8G
- stripped: 343M (5x less)
- gzipped stripped: 92M (20x less)

This can be useful to check something fast.
2021-12-01 21:50:03 +03:00
avogar
e2eea4f361 Allow plus before Float32/Float64 2021-12-01 21:20:00 +03:00
tavplubix
77c946d307
Merge pull request #32050 from ClickHouse/fix_test_00925
Fix flaky test 00925
2021-12-01 20:38:30 +03:00
tavplubix
9e034ee3a5
Merge pull request #31990 from havardk/mysqldecimal
MaterializedMySQL: Fix corruption of DECIMAL data
2021-12-01 19:18:48 +03:00
alexey-milovidov
fa298b089e
Merge pull request #32071 from ClickHouse/fix-riscv64-sysroot
Update contrib/sysroot: fix symlink
2021-12-01 19:15:20 +03:00
Mikhail f. Shiryaev
78ed97ea60
Update contrib/sysroot: fix symlink 2021-12-01 17:10:28 +01:00
Kseniia Sumarokova
8d66d5c3eb
Update Dockerfile 2021-12-01 18:28:34 +03:00
Kseniia Sumarokova
04b74c4431
Delete 02125_test_isql_empty_result.reference 2021-12-01 18:28:20 +03:00
Kseniia Sumarokova
57905639d5
Delete 02125_test_isql_empty_result.sh 2021-12-01 18:28:14 +03:00
Kseniia Sumarokova
87574e8bf6
Merge pull request #31053 from kssenii/rabbit-kafka-select-commit
rabbitmq/kafka allow to commit on select only under setting
2021-12-01 18:23:08 +03:00
Dmitry Novik
2ab4fc734d
Merge pull request #31740 from azat/fix-disabling-query-profiler
Fix disabling query profiler
2021-12-01 18:15:50 +03:00
tavplubix
7ae45b9d52
Update IMergeTreeDataPart.cpp 2021-12-01 18:00:40 +03:00
Alexander Tokmakov
4c7fba49e1 fix test 2021-12-01 17:59:26 +03:00
Alexander Tokmakov
57e4f3698c fix 'directory exists' error when detaching part 2021-12-01 17:24:26 +03:00
alesapin
5d63ed25a5
Merge pull request #32062 from ClickHouse/move_function_test_to_group
Use functional test group for tests with thread sanitizer
2021-12-01 16:33:36 +03:00
alesapin
f85e18332d Use functional test group for tests with thread sanitizer 2021-12-01 16:32:56 +03:00
alesapin
1977ab6a8e
Merge pull request #32051 from ClickHouse/cancel_checks_more_agressively
Cancel redundant checks with lambda
2021-12-01 15:39:40 +03:00
tavplubix
b623a387af
Merge pull request #31887 from ClickHouse/fix_cannot_create_empty_part
Parse partition key value from `partition_id` when need to create part in empty partition
2021-12-01 15:38:46 +03:00
alesapin
6cdb9f65a4 Cancel redundant checks with lambda 2021-12-01 15:38:17 +03:00
alesapin
47ade2715f
Merge pull request #32048 from ClickHouse/fix-testing-rpm-tgz
Fix building rpm and tgz for branch pushes
2021-12-01 15:31:31 +03:00
Mikhail f. Shiryaev
23f9c8bbba
Fix building rpm and tgz for branch pushes 2021-12-01 12:44:39 +01:00
alesapin
8261e12a48
Merge pull request #32041 from ClickHouse/remove_most_of_old_checks
Remove most of old checks
2021-12-01 14:02:22 +03:00
alesapin
4b3079b0a5
Merge pull request #32037 from excitoon-favorites/flexiblemutations3
Minor fixes for `StorageMergeTree`
2021-12-01 13:36:46 +03:00
alesapin
bf781491cf
Merge pull request #32046 from ClickHouse/report_success_in_case_of_force_tests
Don't run checks for label event
2021-12-01 13:34:54 +03:00
alesapin
7dae4b1f36 Remove docs check 2021-12-01 13:28:47 +03:00
alesapin
b690402926 Don't trigger checks on 'labeled' event 2021-12-01 13:27:46 +03:00
alesapin
e54dc89a84
Merge pull request #32044 from ClickHouse/report_success_in_case_of_force_tests
Fix force tests label
2021-12-01 13:26:58 +03:00
alesapin
b8adb0d256 Don't rerun workflows on labeled action 2021-12-01 12:57:20 +03:00
Kruglov Pavel
cbfd77a394
Merge pull request #31839 from loneylee/master
Fix a bug about function transform with decimal args
2021-12-01 12:56:41 +03:00
alesapin
a72f7a25f1 Fix force tests label 2021-12-01 12:50:36 +03:00
mergify[bot]
ffc1f4eb92
Merge branch 'master' into remove_most_of_old_checks 2021-12-01 09:45:19 +00:00
alesapin
e80ff2c0c5
Merge pull request #32043 from ClickHouse/better_worker_scripts
Better scripts for runners
2021-12-01 12:39:50 +03:00
alesapin
f76149a1ec Better scripts for runners 2021-12-01 12:39:09 +03:00
alesapin
daa87fb6f7
Merge pull request #32042 from ClickHouse/remove_fast_test_from_master
Remove fast test from master
2021-12-01 12:37:03 +03:00
alesapin
b8a03f398f Remove fast test from master 2021-12-01 12:36:23 +03:00
alesapin
b421d07434 Remove most of old checks 2021-12-01 12:21:01 +03:00