Commit Graph

17165 Commits

Author SHA1 Message Date
Anton Popov
5b5dd4fa46
Merge pull request #36423 from CurtizJ/return-back-36126
Return back #36126
2022-04-22 14:27:57 +02:00
Antonio Andelic
2e187e4b97
Merge pull request #36439 from xiedeyantu/temp-table-improve
temporary table can show total rows and total bytes
2022-04-22 13:41:25 +02:00
Antonio Andelic
357dd7354c Fix no-parallel tag 2022-04-22 11:39:36 +00:00
Kseniia Sumarokova
33bb48106f
Merge pull request #36314 from CurtizJ/print-bad-filenames
Show names of erroneous files in case of parsing errors while executing table functions
2022-04-22 13:24:55 +02:00
alesapin
32f5bc8d52
Merge pull request #36091 from ClickHouse/thin-ckeckout
Thin checkout
2022-04-22 11:22:46 +02:00
Antonio Andelic
4e389d8df1 Rename to hostname, add tests 2022-04-22 08:16:14 +00:00
Alexey Milovidov
e8575f5f35
Merge pull request #36327 from ucasfl/alias
Add aliases JSONLines and NDJSON for JSONEachRow
2022-04-22 07:08:02 +03:00
Memo
956d525840 fix conflict 2022-04-22 11:22:50 +08:00
Memo
39aadf0975 replaced toStartOfFiveMinute to toStartOfFiveMinutes 2022-04-22 10:49:59 +08:00
mergify[bot]
cd8fa75546
Merge branch 'master' into fix_trash 2022-04-21 21:45:31 +00:00
Maksim Kita
bac1f12a2b
Merge pull request #36167 from kitaisreal/special-operators-broken-aliases-fix
Fix broken aliases during parsing of special operators
2022-04-21 22:31:45 +02:00
Mikhail f. Shiryaev
2dfdbe0afa
Update contributors each release 2022-04-21 20:10:12 +02:00
Mikhail f. Shiryaev
c65c832edb
Adjust git_helper and version_helper for shallow clone 2022-04-21 20:08:55 +02:00
Mikhail f. Shiryaev
9abd28ebc9
Prepare update_contributors for release.py step 2022-04-21 20:08:54 +02:00
Mikhail f. Shiryaev
fc5107623f
Checkout shallow repository for builds 2022-04-21 20:08:52 +02:00
mergify[bot]
e38a3c3595
Merge branch 'master' into alias 2022-04-21 15:02:30 +00:00
Mikhail f. Shiryaev
139811b6f1
Consistent "force tests" label 2022-04-21 16:37:51 +02:00
Dmitry Novik
77a82cc090
Merge pull request #35631 from amosbird/projection-fix1
Fix broken SET reuse during projection analysis.
2022-04-21 15:32:52 +02:00
FArthur-cmd
72efd079c6 fix check_black 2022-04-21 12:57:05 +00:00
FArthur-cmd
7d1b3f84d0 fix check_black 2022-04-21 12:48:00 +00:00
mergify[bot]
04e3356d50
Merge branch 'master' into temp-table-improve 2022-04-21 12:43:55 +00:00
Antonio Andelic
03779fd463 Merge branch 'master' into keeper-recovery-mode 2022-04-21 12:34:18 +00:00
FArthur-cmd
f0a4009f60 Add passphrase for certificates 2022-04-21 12:26:30 +00:00
mergify[bot]
1ba1cad5cf
Merge branch 'master' into improve-globs 2022-04-21 11:52:13 +00:00
Kruglov Pavel
ae1f38ebe7
Fix test 2022-04-21 13:49:56 +02:00
Maksim Kita
01e09ba44e Fixed tests 2022-04-21 13:47:43 +02:00
Maksim Kita
fb28791d83 Fixed tests 2022-04-21 13:47:43 +02:00
Maksim Kita
90e3a75874 Fixed tests 2022-04-21 13:47:43 +02:00
Maksim Kita
00ac3231b2 Fix broken aliases during parsing of special operators 2022-04-21 13:47:43 +02:00
Maksim Kita
397603e9be ExecutableUserDefinedFunction fix usage in GROUP BY 2022-04-21 13:44:56 +02:00
Kruglov Pavel
a6186f7ba4
Merge pull request #36333 from ClickHouse/bool-sync-after-error
Fix tech debt for Bool and Map data types
2022-04-21 13:32:14 +02:00
Kruglov Pavel
016da97d4f
Merge pull request #36454 from azat/fix-limit-by
Fix "Cannot find column" error for distributed queries with LIMIT BY
2022-04-21 12:50:27 +02:00
xiedeyantu
53337cf021 fix style check fail 2022-04-21 09:18:34 +08:00
Alexey Milovidov
dd93d5d872
Merge pull request #36422 from ClickHouse/check-revert-prs
Check revert prs
2022-04-21 02:25:34 +03:00
Alexey Milovidov
ec9b86fd03
Merge branch 'master' into fixcolumnmatcher 2022-04-21 02:15:25 +03:00
alesapin
cbfe00bb47 Fix tidy 2022-04-21 00:30:13 +02:00
Sergei Trifonov
2f38e7bc5c
Merge pull request #36400 from azat/dyn-linker-vars
Add more harmful variables for OSX
2022-04-21 00:02:51 +02:00
Azat Khuzhin
9a882cc8a6 Regression test for CHECKSUM_DOESNT_MATCH error because of per-column TTL bug
This is a regression test for possible CHECKSUM_DOESNT_MATCH due to
per-column TTL bug, that had been fixed in [1].

  [1]: https://github.com/ClickHouse/ClickHouse/pull/35820

v2: mark 02265_column_ttl as long
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:49:48 +03:00
Azat Khuzhin
836c43092b tests: increase timeout in 02151_http_s_structure_set_eof
Otherwise sometimes 0.15s seems not enough to start the query

CI: https://s3.amazonaws.com/clickhouse-test-reports/35865/e330d691a3a1981582ebbe20e3ecc15247644f19/stateless_tests_flaky_check__address__actions_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:31 +03:00
Azat Khuzhin
efcff2a725 tests: mark 02151_http_s_structure_set_eof as long
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
CI: https://s3.amazonaws.com/clickhouse-test-reports/35865/e330d691a3a1981582ebbe20e3ecc15247644f19/stateless_tests_flaky_check__address__actions_/runlog.log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:31 +03:00
Azat Khuzhin
06532cb2f8 tests: use proper wait in 01502_log_tinylog_deadlock_race
CI: https://s3.amazonaws.com/clickhouse-test-reports/35865/e330d691a3a1981582ebbe20e3ecc15247644f19/stateless_tests__address__actions__[2/2].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:31 +03:00
Azat Khuzhin
4d2aa3308b tests: use more unique user name in 02104_overcommit_memory
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:31 +03:00
Azat Khuzhin
dc177a72df tests: use proper query termination in 02104_overcommit_memory via SIGINT
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:31 +03:00
Azat Khuzhin
7b5ed949a1 tests: wait queries that may left
v2: wait for queries in 01085_max_distributed_connections_http
    CI: https://s3.amazonaws.com/clickhouse-test-reports/35865/e330d691a3a1981582ebbe20e3ecc15247644f19/stateless_tests__debug__actions__[2/3].html

v3: wait left queries in 01675_data_type_coroutine*
    CI: https://s3.amazonaws.com/clickhouse-test-reports/36400/828d23c933681ecfc19a09a78947918c545e5558/stateless_tests__debug__actions__[2/3].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:34:08 +03:00
Azat Khuzhin
5d49bf1b81 clickhouse-test: fix left-queries-check, to fix test log parser
Before:

    00170_s3_cache:
    Found queries left in processlist after running 00170_s3_cache.sql (database=test_8zpbah):
    [
        ...
    ]
    2022-03-27 00:11:27 [ FAIL ] 600.06 sec. - Timeout!

After:

    02263_test:                                                             [ FAIL ] - Queries left in background after the test finished:
    [
        ...
    ]
    Settings used in the test: --max_insert_threads=11 --group_by_two_level_threshold=100000 --group_by_two_level_threshold_bytes=50000000 --distributed_aggregation_memory_efficient=0 --fsync_metadata=0 --priority=2 --output_format_parallel_formatting=1 --input_format_parallel_parsing=0 --min_chunk_bytes_for_parallel_parsing=12372842 --max_read_buffer_size=855730 --prefer_localhost_replica=1 --max_block_size=74323 --max_threads=56

    Database: default

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:31:39 +03:00
Kseniia Sumarokova
842879beea
Merge pull request #36272 from kssenii/mongo-fix
Allow missing columns for mongo storage
2022-04-20 17:54:35 +02:00
xiedeyantu
8334648767 fix test 2022-04-20 23:34:05 +08:00
Yakov Olkhovskiy
95fc6243b1
Merge pull request #36386 from Joeywzr/hex_support_uint128
hex support Int128/Int256/UInt128/UInt256
2022-04-20 11:11:51 -04:00
Kruglov Pavel
3916436a10
Fix style 2022-04-20 16:35:24 +02:00
Kruglov Pavel
6ddebf7d38
Fix style 2022-04-20 16:34:05 +02:00
Kruglov Pavel
813e228fcc
Merge branch 'master' into improve-globs 2022-04-20 16:31:47 +02:00
xiedeyantu
2ecbf3e1be add test for temporary table can show total rows and total bytes 2022-04-20 22:02:47 +08:00
mergify[bot]
ded06ff100
Merge branch 'master' into return-back-36126 2022-04-20 13:01:32 +00:00
Azat Khuzhin
c6ffec1fec Fix "Cannot find column" error for distributed queries with LIMIT BY
Consider the following example:

    SELECT k FROM (SELECT materialize('foo') AS k, -1 AS v) ORDER BY abs(v) AS _v ASC LIMIT 1 BY k

The problem here is that in case of query has LIMIT BY for
WithMergeableState* (which is the final state on the remote shard for
distributd queries) it returns the following columns:
- k
- v

While it should return:
- k
- abs(v)

So as query w/o LIMIT BY, so that initiator will be able to do the sorting

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 15:23:24 +03:00
Kruglov Pavel
5801de7f72
Merge pull request #36254 from Avogar/improve-client
Send both stdin data and data from query/data from infile in client
2022-04-20 13:55:04 +02:00
李扬
a1e54c3918
Fix wrong result of datetime64 when negative (#35440) 2022-04-20 13:11:31 +02:00
alesapin
40c15222f8 Merge branch 'master' into fix_trash 2022-04-20 12:45:49 +02:00
Antonio Andelic
6c95a2c195 Wait for node1 to connect 2022-04-20 10:35:35 +00:00
alesapin
ba81816dc1 Better cmake 2022-04-20 12:11:55 +02:00
kssenii
b1d699aea1 Fix test 2022-04-20 11:24:59 +02:00
tavplubix
2c54381520
Merge pull request #36200 from ClickHouse/fix_create_as_replicated_default_args
Fix CREATE AS for ReplicatedMergeTree with default arguments
2022-04-20 12:01:13 +03:00
Mikhail f. Shiryaev
1e9d80a9c2
Merge pull request #36297 from ClickHouse/docs-staging
Docs staging
2022-04-20 10:47:54 +02:00
Mikhail f. Shiryaev
462a28a2e6
Remove innecessary requirement 2022-04-20 10:24:12 +02:00
Antonio Andelic
bb0d941add Run tests on a single cluster 2022-04-20 08:06:17 +00:00
Yakov Olkhovskiy
f6a7b6c2a1
Merge pull request #36352 from awakeljw/fork_chmaster
Possible range issues in automatic assigned enums, also fix error message.
2022-04-19 23:34:35 -04:00
Mikhail f. Shiryaev
8e2874328f
Prepare docs_check.py to be used in docs-clickhouse 2022-04-19 23:35:39 +02:00
Vadim Volodin
1bffa4e80d
Notion for integration tests to build as a whole 2022-04-19 21:25:57 +03:00
Kruglov Pavel
7fb7fc9daa
Merge pull request #36275 from Avogar/fix-insert-select
Place new logic of schema inference in insert select from table function under setting
2022-04-19 20:19:28 +02:00
Vadim Volodin
97c9ac0531
Fix docs for integration tests (#36426) 2022-04-19 19:42:43 +02:00
Amos Bird
158a25d5fa
Fix column matcher and column transformer 2022-04-20 01:22:04 +08:00
Anton Popov
bee4ca9b62 add more tests for error diagnostics in files 2022-04-19 15:56:34 +00:00
alesapin
fac600830e
Merge pull request #36412 from ClickHouse/pr-info-api-fallback
Fallback to a default event data when API is broken
2022-04-19 17:31:24 +02:00
Anton Popov
3e361c9759 Merge remote-tracking branch 'upstream/master' into HEAD 2022-04-19 14:18:04 +00:00
Anton Popov
056500f2ad
Merge pull request #33391 from zhongyuankai/fix_storage_distributed_ttl
Fix Alter ttl modification unsupported table engine
2022-04-19 15:47:01 +02:00
Anton Popov
7b7939c52c fix parsing of ints 2022-04-19 13:31:45 +00:00
Mikhail f. Shiryaev
da55ba6af2
Check Revert PRs and mark it as pr-not-for-changelog 2022-04-19 14:48:58 +02:00
Mikhail f. Shiryaev
44269d06b5
Improve some variables 2022-04-19 14:47:18 +02:00
Antonio Andelic
70f3d3a863 Merge branch 'master' into keeper-recovery-mode 2022-04-19 12:32:48 +00:00
Kruglov Pavel
ec4e1cb6d8
Merge pull request #36211 from Avogar/insert-select-all-formats
Allow insert select for files with formats without schema inference
2022-04-19 14:25:59 +02:00
Kruglov Pavel
031cfcdce3
Merge pull request #36250 from Avogar/fix-tests
Split test 01675_data_type_coroutine into 2 tests to prevent possible timeouts
2022-04-19 14:25:00 +02:00
mergify[bot]
3c1dd44b80
Merge branch 'master' into fix-insert-select 2022-04-19 12:17:31 +00:00
tavplubix
99ea71b371
Update 01148_zookeeper_path_macros_unfolding.sql 2022-04-19 15:17:16 +03:00
avogar
996be9fe54 Fix tests 2022-04-19 12:16:45 +00:00
alesapin
ee8d26ff0e Better test and fix for move 2022-04-19 13:27:55 +02:00
mergify[bot]
d894aed7ae
Merge branch 'master' into mongo-fix 2022-04-19 09:32:51 +00:00
Mikhail f. Shiryaev
7925d925a9
Merge branch 'master' into docs-staging 2022-04-19 11:00:03 +02:00
Antonio Andelic
608c0996d0 Fix tests 2022-04-19 08:59:44 +00:00
Mikhail f. Shiryaev
40dafbe015
Don't put built documentation to output path 2022-04-19 10:43:12 +02:00
Mikhail f. Shiryaev
c1014aa60c
Use a new builder as a check image 2022-04-19 10:43:11 +02:00
Antonio Andelic
cd548aeb30 Refactor test for multiple cluster size 2022-04-19 08:08:36 +00:00
Antonio Andelic
c968353ee9 Define tests for 3 node cluster 2022-04-19 08:08:35 +00:00
Mikhail f. Shiryaev
e96ba17c30
Fallback to a default event data when API is broken 2022-04-19 09:45:40 +02:00
Memo
8d4e433c7d add int8 int16 int32 int64 and tests 2022-04-19 14:38:16 +08:00
alesapin
c81cb9e563 Better 2022-04-19 01:12:07 +02:00
alesapin
bd7b3847c1 Some code 2022-04-19 01:09:09 +02:00
Azat Khuzhin
c32e151bc2 Add a test for dynamic linker variables
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-18 23:34:13 +03:00
Anton Popov
56bdc654d4 Revert "Merge pull request #36337 from ClickHouse/revert-36126-fork_chmaster2"
This reverts commit e04f80d4a7, reversing
changes made to 06e0afb67f.
2022-04-18 17:59:46 +00:00
mergify[bot]
daca157111
Merge branch 'master' into fix_storage_distributed_ttl 2022-04-18 17:31:59 +00:00
Memo
3979f858fe fix style 2022-04-18 21:09:50 +08:00
Memo
335be4c807 hex support Int128/Int256/UInt128/UInt256 2022-04-18 20:13:43 +08:00