Commit Graph

78880 Commits

Author SHA1 Message Date
frank chen
8e9f4949e4 Set Content-Type in HTTP packets issued from URL engine
Signed-off-by: frank chen <frank.chen021@outlook.com>
2021-12-02 15:49:34 +08:00
mergify[bot]
e568b16e02
Merge branch 'master' into content-type 2021-12-02 07:40:17 +00: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
frank chen
c49a7251ed returns content-type as json if possible
Signed-off-by: frank chen <frank.chen021@outlook.com>
2021-12-02 13:25:17 +08: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
kssenii
95f0cd47eb Fixes 2021-12-01 21:34:32 +00:00
Federico Ceratto
04a8730c91
Fix syntax error: drop comma 2021-12-01 20:12:10 +00:00
Azat Khuzhin
b6290ae002 Update test_distributed_respect_user_timeouts after superfluous DESC had been removed 2021-12-01 22:52:20 +03:00
Azat Khuzhin
f74d5750eb Update 01455_opentelemetry_distributed reference 2021-12-01 22:52:20 +03:00
Azat Khuzhin
4535232f4a Fix excessive DESC TABLE for remote() over identifier
Fixes: #14228
2021-12-01 22:52:20 +03: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
alesapin
a29b7105da fixup 2021-12-01 22:17:23 +03:00
alesapin
bf5858a6b3 Fix build urls 2021-12-01 22:14:46 +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
Alexey
1b155c98ca ru translation 2021-12-01 16:10:51 +00:00
Mikhail f. Shiryaev
78ed97ea60
Update contrib/sysroot: fix symlink 2021-12-01 17:10:28 +01:00
Denny Crane
4065e67f33
Update settings.md 2021-12-01 11:51:09 -04:00
alesapin
e298e14c3b Fix rerun helper and build report 2021-12-01 18:50:48 +03:00
Denny Crane
a3f66a2bd0
Update settings.md 2021-12-01 11:50:36 -04: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
Amos Bird
8dbc7a8dae
Fix detaching parts with projections 2021-12-01 23:21:17 +08:00
mergify[bot]
959fb1f4dd
Merge branch 'master' into fix-flaky-create-table-like-test 2021-12-01 15:17:28 +00: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
alesapin
c13a72991b Fix style 2021-12-01 17:47:10 +03:00
Alexander Tokmakov
57e4f3698c fix 'directory exists' error when detaching part 2021-12-01 17:24:26 +03:00
alesapin
71e6c7e92e Add ability to rerun checks 2021-12-01 17:23:51 +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
Stig Bakken
f7578e7b9d Fix flaky test for MaterializedMySQL CREATE TABLE LIKE 2021-12-01 13:40:22 +01: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