Commit Graph

15239 Commits

Author SHA1 Message Date
alexeypavlenko
4cc1e25d45 simplify test 2022-01-17 22:36:03 +02:00
alexeypavlenko
8778eda2e0 fix unit test (sorry, took a while to build it on my laptop) 2022-01-17 22:35:12 +02:00
alexeypavlenko
690590f7c3 Fix default value generation for columns with dot 2022-01-17 22:35:11 +02:00
Kseniia Sumarokova
48d736a0c7
Merge pull request #33703 from ClickHouse/kssenii-patch-2
Fix hive tests
2022-01-17 22:55:19 +03:00
Maksim Kita
110b39add4 H3 remove functions degsToRads, radsToDegs 2022-01-17 14:42:50 +00:00
Maksim Kita
42ce3f2ae8 Fixed tests 2022-01-17 14:37:23 +00:00
tavplubix
34b3894422
Merge pull request #33676 from ClickHouse/fix-8340
Correctly determine current database if CREATE TEMPORARY TABLE AS SELECT is queried inside a named HTTP session.
2022-01-17 16:52:09 +03:00
Kseniia Sumarokova
232887ea6c
Update test.py 2022-01-17 16:39:53 +03:00
Maksim Kita
886b3c1ace
Merge pull request #33675 from ClickHouse/fix-7462
Allow `insertFrom` for `ColumnFunction`
2022-01-17 13:42:12 +01:00
mergify[bot]
23f09bd25a
Merge branch 'master' into fix-mongo2-compose 2022-01-17 11:52:48 +00:00
alesapin
b2271cc2d9
Merge pull request #33288 from JackyWoo/add_lower_bound_session_timeout_to_keeper
Add lower bound session timeout to keeper
2022-01-17 14:06:15 +03:00
alesapin
ccf990e887 Merge branch 'master' into add_integration_test_for_zero_duplication 2022-01-17 13:33:39 +03:00
Mikhail f. Shiryaev
396b504397
Add some helping comments for API endpoints 2022-01-17 11:06:40 +01:00
Nikolay Degterinsky
6424311773 Fix 2022-01-17 10:01:06 +00:00
zvonand
32dc865203 Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_14648 2022-01-17 11:42:06 +03:00
alexey-milovidov
16feccbb34
Merge pull request #33672 from kitaisreal/functions-dict-get-has-implicit-key-cast
Functions dictGet, dictHas implicit key cast
2022-01-17 07:38:36 +03:00
JackyWoo
a3cb2dd671 Trigger test 2022-01-17 12:00:40 +08:00
Alexey Milovidov
ad2e8cc6f5 Add a test 2022-01-17 04:16:29 +03:00
Alexey Milovidov
912d5f82c7 Add a test 2022-01-17 04:07:07 +03:00
bharatnc
834e4b9fb0 Merge remote-tracking branch 'upstream/master' into ncb/h3-misc-funcs 2022-01-16 11:43:18 -08:00
feng lv
1cdadbd250 Fix sumIf rewrite 2022-01-16 06:25:11 +00:00
Maksim Kita
0df98140af Functions dictGet, dictHas implicit key cast 2022-01-15 23:25:05 +00:00
alexey-milovidov
d4fceeef3e
Merge pull request #33667 from ClickHouse/fix-pr-ci-restart
Fix pr ci restart
2022-01-15 21:57:37 +03:00
alexey-milovidov
2f6112bf2e
Merge pull request #33662 from azat/fix-01814_distributed_push_down_limit
Fix 01814_distributed_push_down_limit flakiness
2022-01-15 21:57:10 +03:00
Mikhail f. Shiryaev
91caf07b20
Apply black to workflow_approve_rerun_lambda 2022-01-15 18:54:58 +01:00
Mikhail f. Shiryaev
4c7a8abd20
Add PullRequestCI to NEED_RERUN_WORKFLOWS 2022-01-15 18:53:37 +01:00
mergify[bot]
17f17c13f5
Merge branch 'master' into fix-mongo2-compose 2022-01-15 13:50:03 +00:00
Maksim Kita
998b330507
Merge pull request #33658 from den-crane/tests/issue_33592
test for #33592
2022-01-15 14:31:21 +01:00
Maksim Kita
8aed06c922
Merge pull request #33663 from amosbird/addmyself
Add amosbird to trusted user.
2022-01-15 14:10:37 +01:00
Amos Bird
4da2a660ec
Add amosbird to trusted user. 2022-01-15 20:23:55 +08:00
Azat Khuzhin
31a6532f01 Fix 01814_distributed_push_down_limit flakiness
Before it was possible that the query was already cancelled, and so you
will get ExceptionWhileProcessing and QueryFinish:

    ┌─query───────────────────────────────────────────────────────────────────┬─query_id─────────────────────────────┬─read_rows─┬─type─────────────────────┐
    │ SELECT `key` FROM `test_qvcjdo`.`data_01814` GROUP BY `key` LIMIT 0, 10 │ 2d39bfd6-f0e7-404a-9990-7703f7a4ec3a │        40 │ QueryFinish              │
    │ SELECT `key` FROM `test_qvcjdo`.`data_01814` GROUP BY `key` LIMIT 0, 10 │ d930bf54-e965-42fd-9d48-5e54a588187a │        40 │ QueryFinish              │
    │ SELECT `key` FROM `test_qvcjdo`.`data_01814` GROUP BY `key` LIMIT 0, 10 │ d930bf54-e965-42fd-9d48-5e54a588187a │        40 │ ExceptionWhileProcessing │
    └─────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────┴───────────┴──────────────────────────┘

And so you will got more then two rows.

CI: https://s3.amazonaws.com/clickhouse-test-reports/33660/a4e8e61d57eab14116983a340c65e5e2d7039ed5/stateless_tests__release__wide_parts_enabled__actions_.html
2022-01-15 15:04:24 +03:00
bharatnc
3660438325 Merge remote-tracking branch 'upstream/master' into ncb/h3-misc-funcs 2022-01-14 16:46:17 -08:00
alexey-milovidov
1e8e21570c
Merge pull request #33625 from ClickHouse/better_integration_tests
Fix two flaky integration tests
2022-01-15 02:32:54 +03:00
alexey-milovidov
c3972f000d
Merge pull request #33614 from ClickHouse/safe-names-in-blog
Use safe page URL for a blog post
2022-01-15 02:29:37 +03:00
Denny Crane
b8171eb755 test for #33592 2022-01-14 18:08:03 -04:00
mergify[bot]
4ffc3bb589
Merge branch 'master' into fix-mongo2-compose 2022-01-14 18:36:37 +00:00
Kruglov Pavel
a7df9cd53a
Merge branch 'master' into formats-with-suffixes 2022-01-14 21:03:49 +03:00
alesapin
436ad63958 More retries 2022-01-14 20:05:55 +03:00
avogar
253035a5df Fix 2022-01-14 19:17:06 +03:00
alesapin
bf803472b1 Add a tests for a TTL bug in zero copy replication 2022-01-14 18:44:10 +03:00
Kruglov Pavel
d2e9f37bee
Merge branch 'master' into format-by-extention 2022-01-14 18:36:23 +03:00
Kruglov Pavel
6945a7fd4a
Merge pull request #33641 from Avogar/fix-s3-tests
Fix s3 integration tests
2022-01-14 18:35:00 +03:00
avogar
b127356e93 Fix s3 integration tests 2022-01-14 18:34:22 +03:00
Kruglov Pavel
5d3f78f773
Update 02165_auto_format_by_file_extension.sh 2022-01-14 18:05:56 +03:00
avogar
3d3ccf8c8f Fix test 02165_auto_format_by_file_extension 2022-01-14 17:47:11 +03:00
Azat Khuzhin
a4c2f23b07 Fix "Chunk should have AggregatedChunkInfo in GroupingAggregatedTransform"
In case of optimize_aggregation_in_order there will be
ChunkInfoWithAllocatedBytes.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-14 17:44:09 +03:00
Azat Khuzhin
d9a64d1f86 Fix optimize_aggregation_in_order in case of empty result set
Note, that this is not complete fix, see the next two patches.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-14 17:43:52 +03:00
Kruglov Pavel
5a908e8edd
Merge branch 'master' into formats-with-suffixes 2022-01-14 16:45:20 +03:00
avogar
8884c4a3fe Fix tests and build 2022-01-14 16:27:57 +03:00
Yatsishin Ilya
917ddcd4af better test 2022-01-14 13:08:31 +00:00
Kruglov Pavel
d54a430d9c
Merge pull request #33566 from Avogar/fix-avro
Fix segfault in Avro
2022-01-14 16:01:56 +03:00
Yatsishin Ilya
2fe8f6c60b Fix ports allocated for mongo2 that is w/o creds 2022-01-14 13:00:38 +00:00
alesapin
32e40e9e6b Fixup 2022-01-14 14:28:44 +03:00
alesapin
54725bb289 Fix two flaky integration tests 2022-01-14 14:27:36 +03:00
Vladimir C
1254225061
Merge pull request #33611 from azat/dist-current-database 2022-01-14 14:19:42 +03:00
avogar
2f000a178a Add more tests 2022-01-14 14:00:50 +03:00
Anton Popov
12195b149f
Merge pull request #31966 from ucasfl/comp-decimal-float
Enable comparison between Decimal and Float
2022-01-14 12:56:26 +03:00
Mikhail f. Shiryaev
a8203dd01e
Merge pull request #33623 from ClickHouse/metrics-lambda
Add an exception message example
2022-01-14 10:06:33 +01:00
Mikhail f. Shiryaev
a63494cb66
Add an exception message example 2022-01-14 10:05:19 +01:00
alesapin
b6937f7462
Merge pull request #33616 from ClickHouse/metrics-lambda
Metrics lambda: fix deletion
2022-01-14 11:53:13 +03:00
alesapin
5257b413d4
Merge pull request #33612 from ClickHouse/workflow-linting
Add actionlint configuration and fix all issues
2022-01-14 11:41:48 +03:00
Azat Khuzhin
c341b3b237 Add current database to table names in JOIN section for distributed queries
This should fix JOIN w/o explicit database.

v2: rewrite only JOIN section, since there is old behavior that relies
on default_database for IN section, see [1]:
- 01487_distributed_in_not_default_db
- 01152_cross_replication

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/33611/d0ea3c76fa51131171b1825939680867eb1c04da/fast_test__actions_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-14 11:23:38 +03:00
bharatnc
165ce544ee tests for numHexagons 2022-01-14 00:17:06 -08:00
Mikhail f. Shiryaev
bca9f56ccd
Improve logging in docs_check.py 2022-01-14 09:15:41 +01:00
bharatnc
8830a9f52a tests for h3ExactEdgeLengthRads 2022-01-13 23:49:56 -08:00
bharatnc
b8b9b16adb tests for h3ExactEdgeLengthKm 2022-01-13 23:40:46 -08:00
Kseniia Sumarokova
10f0e44cc6
Merge pull request #33601 from ClickHouse/kssenii-patch-2
Fix flacky test_dictionaries_postgresql/
2022-01-14 09:44:10 +03:00
Kseniia Sumarokova
5da673c3a5
Merge pull request #31104 from bigo-sg/hive_table
Implement hive table engine
2022-01-14 09:39:17 +03:00
bharatnc
43eafc9316 tests for h3ExactEdgeLengthM 2022-01-13 22:22:37 -08:00
bharatnc
54016388f0 tests for h3EdgeLengthKm 2022-01-13 19:19:23 -08:00
Mikhail f. Shiryaev
52594179e3
Fix broken receiver get_dead_runners_in_ec2 2022-01-14 00:51:37 +01:00
Mikhail f. Shiryaev
632b87ac2b
Use key from the secret manager if possible 2022-01-14 00:49:49 +01:00
Kseniia Sumarokova
f1868114a6
Update test.py 2022-01-14 00:07:33 +03:00
Mikhail f. Shiryaev
545bee477f
Apply black formatter 2022-01-13 20:52:02 +01:00
Azat Khuzhin
ad86dad2d1 Fix status of SKIPPED integration tests (was incorrectly marked as ERROR)
Like here [1].

- test_jemalloc_percpu_arena/test.py::test_jemalloc_percpu_arena -- ERROR
- test_input_format_parallel_parsing_memory_tracking/test.py::test_memory_tracking_total -- FAIL

But test_jemalloc_percpu_arena is SKIPPED.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/33140/b4420cfa3e834ab9026914978697ded3180122a0/integration_tests__thread__actions__[3/4].html

v2: tests/integration/ci-runner: include SKIPPED tests into "short test summary info"
    Otherwise they cannot be distinguished from ERRORS.
v3: tests/integration/ci-runner: improve report parser
v4: rewrite get_counters() to parse tests verbosity log instead of test
    short summary, since later does not provide test name for skipped
    tests
2022-01-13 22:07:40 +03:00
alesapin
0804e04558
Merge pull request #32911 from ClickHouse/deb-aarch64
Deb aarch64
2022-01-13 19:11:19 +03:00
Mikhail f. Shiryaev
92099302e7
Use stdin for docker login to not expose a password 2022-01-13 16:57:33 +01:00
Mikhail f. Shiryaev
080c56d91a
Fix pylint for build_check.py 2022-01-13 15:13:58 +01:00
Kseniia Sumarokova
e2770c5093
Update test.py 2022-01-13 17:12:46 +03:00
Mikhail f. Shiryaev
89415ff415
Fix pylint for run_check.py 2022-01-13 14:51:48 +01:00
zvonand
cd098b3eab updated stateless test for fromUnixTImestamp64 2022-01-13 16:44:40 +03:00
Mikhail f. Shiryaev
25476e2d7d
Restore existing static builds links 2022-01-13 13:55:51 +01:00
Kruglov Pavel
1abc899308
Update 02168_avro_bug.sql 2022-01-13 15:26:30 +03:00
mergify[bot]
085492614b
Merge branch 'master' into add_lower_bound_session_timeout_to_keeper 2022-01-13 12:21:46 +00:00
Mikhail f. Shiryaev
39012a42aa
Restore description checking 2022-01-13 12:17:09 +01:00
Mikhail f. Shiryaev
ce01dea0fe
Apply black to run_check.py 2022-01-13 12:06:50 +01:00
taiyang-li
82a3024712 Merge remote-tracking branch 'ck/master' into bigo_hive_table 2022-01-13 18:11:23 +08:00
taiyang-li
3521d6824f fix stateless tests 2022-01-13 18:08:10 +08:00
tavplubix
3b7f8a4ae9
Merge pull request #33293 from zhanghuajieHIT/hangup_in_drop_query_log_sync
fix hang up with command 'drop table system.query_log sync'
2022-01-13 12:28:31 +03:00
alesapin
e63807ffa6
Merge pull request #33580 from CurtizJ/fix-test-02156
Fix test `02156_storage_merge_prewhere`
2022-01-13 12:20:10 +03:00
tavplubix
bacdaa7b4d
Merge pull request #33564 from ClickHouse/fix_minor_bug_in_ttl
Fix minor bug in TTL and flaky test
2022-01-13 11:51:57 +03:00
mergify[bot]
48f8706869
Merge branch 'master' into comp-decimal-float 2022-01-13 04:33:28 +00:00
taiyang-li
1717944d6c Merge branch 'hive_table' of https://github.com/bigo-sg/ClickHouse into bigo_hive_table 2022-01-13 12:09:39 +08:00
feng lv
abea81789e fix and add more tests 2022-01-13 03:25:01 +00:00
lgbo-ustc
e1aecea30d try to fixed failure of test_hive_query for counting read bytes from cache 2022-01-13 10:47:11 +08:00
taiyang-li
d3b654bf8d fix stateless test 02156_storage_merge_prewhere 2022-01-13 10:43:22 +08:00
Anton Popov
60bb0e43f4 fix test with wide parts 2022-01-12 23:51:40 +03:00
alexey-milovidov
6c71a7c40f
Merge pull request #33518 from hexiaoting/dev-limit-offset
Fix bug for select from VIEW with format and limit settings
2022-01-12 23:39:31 +03:00
Alexander Tokmakov
25db53a3c5 add an integration test 2022-01-12 21:08:08 +03:00
Alexander Tokmakov
9ceaaeaf91 Revert "fix hang up with command 'drop table system.query_log sync' -- add test case"
This reverts commit c5aa0bd23d.
2022-01-12 20:19:24 +03:00
Nikolay Degterinsky
1c24667f20 Refactor 2022-01-12 16:49:21 +00:00
Mikhail f. Shiryaev
abd16ebf32
Force success aarch stateless tests 2022-01-12 17:07:59 +01:00
Mikhail f. Shiryaev
0e536d5ab0
Apply black to status_helper.py 2022-01-12 17:07:58 +01:00
Mikhail f. Shiryaev
11ede97d0d
Add func-testers-aarch64 group to metrics 2022-01-12 17:07:57 +01:00
Mikhail f. Shiryaev
6373943451
Apply black to metrics lambda app 2022-01-12 17:07:56 +01:00
Mikhail f. Shiryaev
2ae87ad0df
Build docker amd64 and arm64 separately and merge together later 2022-01-12 17:07:55 +01:00
Mikhail f. Shiryaev
341feb5945
Add necessary 'before' field for a dummy object 2022-01-12 17:07:55 +01:00
Mikhail f. Shiryaev
7bc89c4f50
Use cache feature of docker buildx 2022-01-12 17:07:53 +01:00
Mikhail f. Shiryaev
2a83a1c05d
Build dependent images from the current version 2022-01-12 17:07:52 +01:00
Mikhail f. Shiryaev
f11bfdb2ea
Add prebuilding for docker buildx builder 2022-01-12 17:07:51 +01:00
Mikhail f. Shiryaev
fe130bc547
Use buildx for docker images, improve typing 2022-01-12 17:07:50 +01:00
Mikhail f. Shiryaev
43f39bc051
Add typing to docker_images_check.py and ignore dependencies errors 2022-01-12 17:07:50 +01:00
Mikhail f. Shiryaev
3c6f14ae63
Apply black to docker_images_check.py 2022-01-12 17:07:49 +01:00
Mikhail f. Shiryaev
44e02fa075
Add functional tests for aarch64 2022-01-12 17:07:48 +01:00
avogar
c5ea4b1bc0 Fix segfault in Avro 2022-01-12 18:34:28 +03:00
avogar
8390e9ad60 Detect format by file name in file/hdfs/s3/url table functions 2022-01-12 18:29:31 +03:00
Alexander Tokmakov
72b67f37fc fix log message and flaky test 2022-01-12 18:20:22 +03:00
Kruglov Pavel
db63218577
Merge pull request #33556 from Avogar/fix-from-infile
Fix parsing queries with FROM INFILE statement again
2022-01-12 17:24:43 +03:00
Mikhail f. Shiryaev
d6976432ff
Merge pull request #33562 from ClickHouse/fix-latest-build-links
Don't upload splitted binaries to builds.clickhouse.com
2022-01-12 14:58:51 +01:00
Mikhail f. Shiryaev
830edf76cc
Don't upload splitted binaries to builds.clickhouse.com 2022-01-12 14:57:11 +01:00
Mikhail f. Shiryaev
0520e4b55e
Merge pull request #33560 from ClickHouse/fix-latest-build-links
Fix logic for upload upload_master_static_binaries
2022-01-12 14:32:07 +01:00
Mikhail f. Shiryaev
9188b8afc2
Fix logic for upload upload_master_static_binaries 2022-01-12 14:30:32 +01:00
Mikhail f. Shiryaev
0abaaa1a70
Merge pull request #33559 from ClickHouse/fix-latest-build-links
Fix latest build links
2022-01-12 14:17:09 +01:00
zhanghuajie
c5aa0bd23d fix hang up with command 'drop table system.query_log sync' -- add test case 2022-01-12 21:12:19 +08:00
Mikhail f. Shiryaev
325c786f68
Add uploading binary builds from master to static URLs 2022-01-12 13:17:54 +01:00
Mikhail f. Shiryaev
3614b0c4ed
Slightly refactor build_check.py 2022-01-12 13:17:21 +01:00
Mikhail f. Shiryaev
eaf3bdabf5
Add typing to CI_CONFIG 2022-01-12 13:14:31 +01:00
Mikhail f. Shiryaev
b98e0be869
Use a proper branch name for PRInfo w/ number==0 2022-01-12 12:31:13 +01:00
tavplubix
8c9a369588
Merge pull request #33535 from kssenii/fix-local-client-exception
Fix clickhouse local interactive exception case
2022-01-12 13:17:05 +03:00
avogar
7ea75b3082 Fix parsing queries with FROM INFILE statement again 2022-01-12 12:59:40 +03:00
lgbo-ustc
5c71d3687a fixed some bugs
1. interagtion test for test_hive_query failed
2. nullptr reference in arrowSchemaToCHHeader
2022-01-12 17:01:05 +08:00
taiyang-li
66813a3aa9 merge master 2022-01-12 16:56:29 +08:00
Kruglov Pavel
a142b7c55e
Merge pull request #33443 from zhongyuankai/auto_format_by_file_extension
INTO OUTFILE / FROM INFILE: autodetect FORMAT by file extension
2022-01-12 11:23:38 +03:00
Kruglov Pavel
f299c35904
Merge pull request #33529 from Avogar/fix-arrow-dict
Fix possible segfault in arrowSchemaToCHHeader
2022-01-12 11:11:16 +03:00
alexey-milovidov
e52e3c1499
Update 02166_arrow_dictionary_inference.sh 2022-01-12 01:52:59 +03:00
kssenii
211f1dd482 Fix 2022-01-12 00:28:53 +03:00
Mikhail f. Shiryaev
80a452cca0
Apply black on build_check.py and tee_popen.py 2022-01-11 19:36:34 +01:00
avogar
9915ce7ded Fix segfault in arrowSchemaToCHHeader 2022-01-11 20:30:35 +03:00
mergify[bot]
7999d90900
Merge branch 'master' into auto_format_by_file_extension 2022-01-11 17:21:14 +00:00
RogerYK
0a9ea6a388 Merge remote-tracking branch 'upstream/master' into feat/bitSlice 2022-01-11 23:24:48 +08:00
RogerYK
8707e3bea1 make implementation clear and add more test 2022-01-11 23:22:16 +08:00
avogar
070fd60b02 Fix parsing queries with FROM INFILE statement 2022-01-11 17:16:54 +03:00
zhongyuankai
7456ed06e6
Delete 02162_auto_format_by_file_extension.sh 2022-01-11 22:02:32 +08:00
zhongyuankai
4ce9f7ac58 INTO OUTFILE / FROM INFILE: autodetect FORMAT by file extension 2022-01-11 21:47:52 +08:00
zhongyuankai
f97250aea9 Merge branch 'master' into auto_format_by_file_extension 2022-01-11 21:41:49 +08:00
hexiaoting
5c847264f7 Fix bug for select from VIEW with format and limit settings 2022-01-11 20:19:41 +08:00
Maksim Kita
a9f389d546
Merge pull request #33512 from kitaisreal/h3-funcs-bad-arguments-possible-crash-fix
H3 functions bad arguments possible crash fix
2022-01-11 12:31:57 +03:00
Kseniia Sumarokova
6587cd0ec6
Merge pull request #33231 from kssenii/settings-changes-with-named-conf
Pass settings as key value or config for storage with settings
2022-01-11 12:30:41 +03:00
Kruglov Pavel
94cb98df28
Merge pull request #33177 from kssenii/materialized-postgresql-better-startup
materialized postgresql better startup
2022-01-11 12:18:29 +03:00
Kruglov Pavel
eb65175b6b
Merge pull request #33504 from ClickHouse/fix_nested_lc_default
Fix insert into defalut nested LowCardinality column.
2022-01-11 12:15:27 +03:00
Maksim Kita
ca5e08cef6 H3 functions bad arguments possible crash fix 2022-01-11 11:21:56 +03:00
kssenii
2faad57dd3 More tests 2022-01-11 01:58:05 +03:00
Maksim Kita
4ddac56787
Merge pull request #33479 from bharatnc/ncb/h3-misc-funcs
add h3 misc functions - part 1
2022-01-10 23:44:42 +03:00
Nikolay Degterinsky
85b8985df2 Better 2022-01-10 20:30:26 +00:00
Maksim Kita
8465de9a4e
Merge pull request #33482 from zhongyuankai/materialized_view_support_virtual_column
Materialized view support virtual column
2022-01-10 23:13:31 +03:00
Maksim Kita
22b614857d
Merge pull request #33383 from stigsb/explain-ast-alter-command-names
Print alter command names in EXPLAIN AST
2022-01-10 23:13:18 +03:00
Mikhail f. Shiryaev
1cf46f378f
Merge pull request #33494 from msaf1980/rollup_rules_type
GraphiteMergeTree Rollup rules type
2022-01-10 20:53:20 +01:00
Nikolai Kochetov
776bb0b02c Fix insert into defalut nested LowCardinality column. 2022-01-10 21:30:28 +03:00
Azat Khuzhin
3564ef7f65 tests: add echo into 01018_Distributed__shard_num
- move CREATE/INSERT at the beginning
- add echoOn
2022-01-10 21:21:25 +03:00
Azat Khuzhin
15629d779f tests: make 01018_Distributed__shard_num restartable 2022-01-10 21:21:24 +03:00
Azat Khuzhin
017e8717b5 tests: update 01018_Distributed__shard_num to expect nested shard num 2022-01-10 21:21:24 +03:00
Azat Khuzhin
df999aae6b tests: cover _shard_num with GROUP BY by column name and alias 2022-01-10 21:21:24 +03:00
mergify[bot]
5857667453
Merge branch 'master' into materialized_view_support_virtual_column 2022-01-10 16:25:46 +00:00
Stig Bakken
d9c86755ba Add functional test 2022-01-10 16:05:52 +01:00
Anton Popov
46b9279d81
Merge pull request #33300 from CurtizJ/support-prewhere-storage-merge
Support `optimize_move_to_prewhere` with storage `Merge`
2022-01-10 15:15:15 +03:00
msaf1980
780a1b2abe graphite: split tagged/plain rollup rules (for merges perfomance) 2022-01-10 16:34:16 +05:00
tavplubix
376709b249
Merge pull request #33305 from nvartolomei/nv/test-odbc
Add test for broken connection
2022-01-10 14:23:38 +03:00
Igor Nikonov
5199365c40 Fix test for insert_deduplication_token
+ sync replica before checks in replica test
+ use different table names for multi block tests
2022-01-10 11:12:30 +00:00
kssenii
669c7bf571 Add one more test 2022-01-10 14:04:18 +03:00
kssenii
21c34ad59b Add support for dictionary source 2022-01-10 14:00:03 +03:00
Maksim Kita
7d24c05424
Update 02164_materialized_view_support_virtual_column.sql 2022-01-10 12:21:49 +03:00
Maksim Kita
f34fdaec46
Update 02164_materialized_view_support_virtual_column.sql 2022-01-10 12:20:31 +03:00
zhongyuankai
61ea0837d4 materialized view support virtual column 2022-01-10 15:53:41 +08:00
mergify[bot]
664eb7d456
Merge branch 'master' into decimal-binary-op 2022-01-10 07:14:56 +00:00
Kseniia Sumarokova
e6ea7c361d
Merge pull request #32836 from stigsb/explain-table-override
Add `EXPLAIN TABLE OVERRIDE` for pre-validating overrides.
2022-01-10 09:58:16 +03:00
Kseniia Sumarokova
0a1300d32a
Merge pull request #33340 from Vxider/fix-windowview-inner-table-parser
Fix inner table parser in window view
2022-01-10 09:45:17 +03:00
JackyWoo
e600fddffa add test_keeper_session/__init__.py 2022-01-10 14:14:57 +08:00
kssenii
5fbafed807 Update test 2022-01-09 21:56:24 +03:00
kssenii
1984a80750 Merge remote-tracking branch 'upstream/master' into materialized-postgresql-better-startup 2022-01-09 21:23:49 +03:00
Igor Nikonov
102b9cdcfb Merge remote-tracking branch 'origin/master' into deduplication_token_7461 2022-01-09 19:15:33 +01:00
Kseniia Sumarokova
d0a847befc
Merge pull request #33200 from kssenii/fix-materialized-postgresql-ddl-validation
materialized postgresql fix ddl validation
2022-01-09 21:12:13 +03:00
Igor Nikonov
0857a8d061 insert_deduplication_token support in non-replicated MergeTree 2022-01-09 19:06:09 +01:00
Kseniia Sumarokova
3d7b41df1c
Merge pull request #33481 from ClickHouse/avoid-exponential-backtracking-in-parser-2
Avoid exponential backtracking in parser (2)
2022-01-09 19:57:30 +03:00
feng lv
b06211fb03 fix
fix
2022-01-09 16:32:31 +00:00
alexey-milovidov
146639273f
Update app.py 2022-01-09 19:20:06 +03:00
alexey-milovidov
4477b7d2f1
Update run_check.py 2022-01-09 19:19:58 +03:00
Maksim Kita
b46ce6b4a9
Merge pull request #33478 from kitaisreal/range-hashed-dictionary-ddl-expression-fix
RangeHashedDictionary ddl expression fix
2022-01-09 17:57:16 +03:00
kssenii
bfaab1356f Merge remote-tracking branch 'upstream/master' into settings-changes-with-named-conf 2022-01-09 17:56:44 +03:00
kssenii
55430feac9 Improve tests part 2 2022-01-09 15:12:46 +03:00
Alexey Milovidov
659df53854 Add a test for operator priorities in SQL 2022-01-09 13:53:22 +03:00
kssenii
6639a93735 Better 2022-01-09 12:16:12 +03:00
Alexey Milovidov
60a161e043 Fix fast test 2022-01-09 10:50:42 +03:00
Alexey Milovidov
6df2afb5dd One step backwards 2022-01-09 10:42:06 +03:00
Alexey Milovidov
ca62c7d3d1 More tests 2022-01-09 08:26:25 +03:00
Alexey Milovidov
b72818f6d6 More tests 2022-01-09 08:12:28 +03:00
bharatnc
751d046977 add tests for h3CellAreaRads2 2022-01-08 15:23:46 -08:00
bharatnc
bd6019cc95 tests for h3CellAreaM2 2022-01-08 15:23:46 -08:00
bharatnc
fb056cb55b tests for h3hexAreaKm2 2022-01-08 15:23:46 -08:00
bharatnc
0f297fd675 fix file name 2022-01-08 15:23:46 -08:00
bharatnc
b0f96b9351 add tests for h3DegsToRads <> h3RadsToDegs 2022-01-08 15:23:45 -08:00
Maksim Kita
ff53466db6 RangeHashedDictionary ddl expression fix 2022-01-09 00:15:29 +03:00
Maksim Kita
ff645a062a
Merge pull request #33465 from kitaisreal/function-array-last-index
Added function arrayLastIndex
2022-01-08 23:08:04 +03:00
kssenii
61f85e9afc More fixes 2022-01-08 20:44:17 +03:00
alesapin
0860acb4ef
Merge pull request #33246 from nicelulu/fix_acl_map
Fix acl map num
2022-01-08 17:48:00 +03:00
alesapin
733ed7cb54
Merge pull request #32061 from ianton-ru/MDB-15474
Change ZooKeeper path for zero-copy locks for shared data
2022-01-08 17:17:11 +03:00
zhongyuankai
878e44eb97 auto format by file extension 2022-01-08 21:47:14 +08:00
kssenii
c94f4163f7 Merge remote-tracking branch 'upstream/master' into fix-materialized-postgresql-ddl-validation 2022-01-08 15:56:46 +03:00
Maksim Kita
a8c5789063 Added tests 2022-01-08 11:37:56 +03:00
Maksim Kita
4141246c13 Function monthName small fix 2022-01-08 11:04:22 +03:00
mergify[bot]
905d5be288
Merge branch 'master' into add-decodeURLFormComponent 2022-01-08 01:22:40 +00:00
kssenii
64538cf20f Merge remote-tracking branch 'upstream/master' into materialized-postgresql-better-startup 2022-01-08 00:49:08 +03:00
kssenii
b0530682e4 Improve tests 2022-01-08 00:47:29 +03:00
alexey-milovidov
140d64f785
Merge pull request #33415 from kitaisreal/function-array-last
Added function arrayLast
2022-01-07 20:37:06 +03:00
Maksim Kita
fb179a45a1 Function arrayLast added tests 2022-01-07 19:00:27 +03:00
mergify[bot]
7486578465
Merge branch 'master' into master 2022-01-07 13:43:05 +00:00
cmsxbc
37349a9d0f
add function decodeURLFormComponent 2022-01-07 20:51:30 +08:00
alexey-milovidov
d274c00ec7
Merge pull request #33445 from ClickHouse/untuple-exponential-growth
Fix exponential complexity in query analysis.
2022-01-07 14:23:42 +03:00
mergify[bot]
6fcd5a7d41
Merge branch 'master' into MDB-15474 2022-01-07 10:12:25 +00:00
zhangxiao871
3c7ad9a8e9 fix test 2022-01-07 18:09:23 +08:00
alesapin
b1d2bdf569
Merge pull request #33130 from kssenii/validate-config
Validate config keys for external dictionaries
2022-01-07 12:59:02 +03:00
zhangxiao871
ec75d23404 add test 2022-01-07 17:45:30 +08:00
alesapin
6a4d5a985b Rerun docs release check as well 2022-01-07 12:05:38 +03:00
JackyWoo
99e6812288 add tests 2022-01-07 15:53:20 +08:00
Alexey Milovidov
cc329c3bf9 Add a test 2022-01-07 09:18:13 +03:00
alexey-milovidov
bb000758df
Merge pull request #33422 from ClickHouse/maybe-improve-test
Maybe improve robustness of the "query profiler" test
2022-01-07 08:56:49 +03:00
alexey-milovidov
27dac209dc
Merge pull request #33368 from ClickHouse/dotnet-integration-test
Trying to merge #23230
2022-01-07 08:43:52 +03:00
lgbo-ustc
6a6b6594c3 update test_hive_query 2022-01-07 12:22:57 +08:00
Alexey Milovidov
b7320ee5b1 Remove some garbage 2022-01-07 05:16:31 +03:00
Alexey Milovidov
12c3130a6d Update reference 2022-01-07 02:03:44 +03:00
Alexey Milovidov
2cdd8d321f Fix error 2022-01-06 22:07:12 +03:00
usurai
b9e69296da Add test for monthName 2022-01-07 00:33:01 +08:00
Mikhail f. Shiryaev
a52e6013b5
Fix wrong formatting for kerberos tag 2022-01-06 13:48:16 +01:00
Alexey Milovidov
1153228f3b Maybe improve robustness of the "query profiler" test 2022-01-06 05:16:09 +03:00
lgbo-ustc
cc3fdb8318 update 01039_test_setting_parse.reference 2022-01-06 09:27:33 +08:00
Andrii Buriachevskyi
699669b81d Add tests for INSERT DEFAULT with format Values 2022-01-05 19:17:25 +01:00
Alexey Milovidov
c4713ee34b Normalize left, right, leftUTF8, rightUTF8 functions 2022-01-05 06:46:31 +03:00
taiyang-li
e1a713addb fix stateless test tests/queries/0_stateless/01039_test_setting_parse.sql 2022-01-05 11:12:45 +08:00
taiyang-li
2d9b9169e1 Merge branch 'hive_table' of https://github.com/bigo-sg/ClickHouse into bigo_hive_table 2022-01-05 10:59:55 +08:00
taiyang-li
63c07ff925 fix stateless test tests/queries/0_stateless/02147_arrow_duplicate_columns.sh 2022-01-05 10:59:21 +08:00
lgbo-ustc
2bbd2939c6 try to fix integration test failures 2022-01-05 10:22:05 +08:00
alexey-milovidov
48eec3d8f8
Merge pull request #33366 from ClickHouse/aggregate-dependencies
Aggregate functions to calculate dependencies between columns
2022-01-05 02:50:25 +03:00
alexey-milovidov
09f2cd1f95
Merge pull request #33372 from azat/pread-eof
Do not try to read pass EOF (to workaround a bug in a kernel)
2022-01-04 22:54:10 +03:00
Alexey Milovidov
2d3f53ec5c Merge branch 'dotnet-integration-test' of github.com:yandex/ClickHouse into dotnet-integration-test 2022-01-04 22:49:58 +03:00
Alexey Milovidov
184033b782 Trying to make it work 2022-01-04 22:49:41 +03:00
mergify[bot]
7cfa01cdba
Merge branch 'master' into dotnet-integration-test 2022-01-04 17:16:02 +00:00
alexey-milovidov
9e9e6b7922
Merge pull request #33341 from azat/local-memory-tracking
clickhouse-local: track memory under --max_memory_usage_in_client option
2022-01-04 19:43:41 +03:00
mergify[bot]
327e9572bb
Merge branch 'master' into dotnet-integration-test 2022-01-04 16:35:28 +00:00
Azat Khuzhin
f0f2a9cc40 Add a regression test for pread pass EOF returns EINVAL 2022-01-04 10:53:17 +03:00
李扬
2df2442ad0
Merge branch 'master' into hive_table 2022-01-04 01:26:16 -06:00
Alexey Milovidov
e80f4008fa Fix idiotic test 2022-01-04 00:50:41 +03:00
mergify[bot]
a30c10a235
Merge branch 'master' into interval-length-sum-allow-negative 2022-01-03 20:53:55 +00:00
alexey-milovidov
6efe73fc1b
Merge pull request #26559 from nikitamikhaylov/merging-dev-sum-bug
Merging #26074
2022-01-03 19:46:54 +03:00
alexey-milovidov
cb19d6f519
Merge pull request #29953 from amosbird/saturatetime
Saturate date/datetime to zero.
2022-01-03 19:44:33 +03:00
mergify[bot]
9e7102542b
Merge branch 'master' into aggregate-dependencies 2022-01-03 13:42:34 +00:00
alesapin
9619b0fd96
Merge pull request #33336 from ClickHouse/fix-diff-encoding
Fix (?) encoding issue in #33331
2022-01-03 15:17:22 +03:00
Maksim Kita
c3521bfdf9
Merge pull request #33343 from azat/tests-new-kafka-formats
Cover CustomSeparated/Template formats for Kafka
2022-01-03 14:04:36 +03:00
Stig Bakken
4b109e5399 Add integration test for EXPLAIN TABLE OVERRIDE 2022-01-03 10:58:05 +01:00
Alexey Milovidov
53e3ecb90d Move to separate directory 2022-01-03 03:44:03 +03:00
Alexey Milovidov
2c7a8db58c Add test output and compare to reference 2022-01-03 03:36:23 +03:00
Alexey Milovidov
9678179ba0 Fix a typo 2022-01-03 03:03:49 +03:00
Alexey Milovidov
f790bcfe03 Add something to somewhere 2022-01-03 03:03:26 +03:00
Alexey Milovidov
c3ab18d1b0 Merge branch 'feature/dotnet-integration-test' of github.com:DarkWanderer/ClickHouse into dotnet-integration-test 2022-01-03 03:00:01 +03:00
alexey-milovidov
d08b1231d7
Update runner 2022-01-03 02:56:23 +03:00
Amos Bird
0b7a94c2be Saturate date/datetime to zero 2022-01-03 02:07:08 +03:00
Alexey Milovidov
420baf54bd Add tests 2022-01-03 00:30:16 +03:00
Alexey Milovidov
90f5594f80 Add a test 2022-01-02 20:23:35 +03:00
RogerYK
f2e5399c61 Add function bitSlice for String and FixedString 2022-01-02 18:49:09 +08:00
feng lv
a8578e0ad9 fix test 2022-01-01 09:25:52 +00:00
feng lv
48c0b41ad5 Enable binary arithmetic between Decimal and Float
fix
2022-01-01 09:11:21 +00:00
taiyang-li
1e102bc1b2 merge master 2022-01-01 09:01:06 +08:00
alexey-milovidov
3f1810c049
Merge pull request #33327 from ClickHouse/rename_committed_to_active
Rename Committed data part state to Active
2021-12-31 14:40:35 +03:00
alexey-milovidov
c2ed92d75d
Update pr_info.py 2021-12-31 14:39:28 +03:00
alexey-milovidov
34b934a1e0
Merge pull request #33331 from ClickHouse/serxa/line-as-string-output-format
Add LineAsString output format
2021-12-31 14:38:36 +03:00
alexey-milovidov
3737d83d3e
Merge pull request #33333 from ClickHouse/add-access-control-to-system-commands
Add missing access control to some system commands
2021-12-31 14:36:59 +03:00
alexey-milovidov
6941b072f4
Merge pull request #33330 from cmsxbc/support-self-closing-tag-for-cluster-secure
support `<secure/>` in cluster configuration.
2021-12-31 14:36:19 +03:00
Azat Khuzhin
63eac4b0cf tests/integration/test_storage_kafka: cover CustomSeparated 2021-12-31 12:02:21 +03:00
Azat Khuzhin
f1c726a675 tests/integration/test_storage_kafka: cover Template format 2021-12-31 11:25:08 +03:00
Azat Khuzhin
0685fd9985 clickhouse-local: track memory under --max_memory_usage_in_client option 2021-12-31 11:06:15 +03:00
Vxider
3761994f68 fix inner table parser in window view 2021-12-31 07:07:01 +00:00
Mikhail f. Shiryaev
fccc4dade1
Fix (?) encoding issue in #33331 2021-12-30 22:19:06 +01:00
alexey-milovidov
764631f2d4
Update 02157_line_as_string_output_format.reference 2021-12-30 23:49:53 +03:00
alexey-milovidov
9fcfc5c188
Update 02157_line_as_string_output_format.sql 2021-12-30 23:49:36 +03:00
alexey-milovidov
8fe29eb665
Update 02157_line_as_string_output_format.sql 2021-12-30 23:48:32 +03:00
Alexander Tokmakov
187c43eba8 rename Committed state to Active 2021-12-30 23:45:38 +03:00
Alexey Milovidov
fbe7680544 Add a test 2021-12-30 23:45:02 +03:00
Alexey Milovidov
a3bbdffe3d Update test 2021-12-30 23:39:43 +03:00
alexey-milovidov
42b8678785
Merge pull request #33271 from ClickHouse/always-display-resource-usage-in-client
Always display resource usage in client
2021-12-30 23:36:49 +03:00
alexey-milovidov
2eec430467
Update 02157_line_as_string_output_format.sql 2021-12-30 21:06:22 +03:00
Sergei Trifonov
f1d398ae4b Add LineAsString output format 2021-12-30 20:38:54 +03:00
cmsxbc
c28fcd5a2f
support <secure/> for cluster 2021-12-30 23:51:05 +08:00
Vladimir C
794e906ffd
Merge pull request #33218 from amosbird/betternullablekey 2021-12-30 17:13:44 +03:00
Nikolay Degterinsky
fce10091a9 Merge branch 'master' into classification 2021-12-30 10:34:06 +00:00
JackyWoo
569ce62e8d use session_timeout as session timeout uper bound 2021-12-30 17:18:51 +08:00
alesapin
cbdba89d65 Merge branch 'master' into ianton-ru-MDB-15474 2021-12-30 11:21:19 +03:00
Azat Khuzhin
52ad7a4538 Fix test_storage_kafka failures by adjusting retention.ms
This test uses predefined timestamps, and default retention.ms is too
small:

    kafka1_1           | [2021-12-28 21:40:21,842] INFO Created log for partition virt2_0-0 in /var/lib/kafka/data with properties {compression.type -> producer, message.format.version -> 2.2-IV1, file.delete.delay.ms -> 60000, max.message.bytes -> 1000012, min.compaction.lag.ms -> 0, message.timestamp.type -> CreateTime, message.downconversion.enable -> true, min.insync.replicas -> 1, segment.jitter.ms -> 0, preallocate -> false, min.cleanable.dirty.ratio -> 0.5, index.interval.bytes -> 4096, unclean.leader.election.enable -> false, retention.bytes -> -1, delete.retention.ms -> 86400000, cleanup.policy -> [delete], flush.ms -> 9223372036854775807, segment.ms -> 604800000, segment.bytes -> 1073741824, retention.ms -> 604800000, message.timestamp.difference.max.ms -> 9223372036854775807, segment.index.bytes -> 10485760, flush.messages -> 9223372036854775807}. (kafka.log.LogManager)

    kafka1_1           | [2021-12-28 21:40:24,540] INFO [Log partition=virt2_0-0, dir=/var/lib/kafka/data] Found deletable segments with base offsets [0] due to retention time 604800000ms breach (kafka.log.Log)

v2: fix tests with 0 timestamp_ms
    and this should be all tests that was left:

    $ fgrep 'Found deletable segments with base offsets' test_storage_kafka/_instances_0/docker.log
    kafka1_1           | [2021-12-29 09:46:15,610] INFO [Log partition=avro1-0, dir=/var/lib/kafka/data] Found deletable segments with base offsets [0] due to retention time 604800000ms breach (kafka.log.Log)
    kafka1_1           | [2021-12-29 09:51:15,609] INFO [Log partition=virt1-0, dir=/var/lib/kafka/data] Found deletable segments with base offsets [0] due to retention time 604800000ms breach (kafka.log.Log)
2021-12-30 10:25:10 +03:00
Nikolay Degterinsky
db190f2b8b Fix FastTest 2021-12-30 04:25:36 +00:00
Nikolai Kochetov
11f64d6e1f
Merge pull request #33286 from vdimir/issue_31979
Disable FunctionConvertFromString::canBeExecutedOnDefaultArguments
2021-12-30 07:19:42 +03:00
Nikolay Degterinsky
2bdee0b0b8 Merge branch 'master' into classification 2021-12-30 02:17:47 +00:00
Nikolay Degterinsky
ba0083736e Change DetectLanguageMixed output type 2021-12-30 02:14:57 +00:00
achimbab
316f6986cf Replaced the stat library with the boost library. 2021-12-30 07:24:07 +09:00
alexey-milovidov
e879aca58b
Update run_check.py 2021-12-29 23:21:47 +03:00
Nicolae Vartolomei
1868570920 Add test for broken connection 2021-12-29 20:11:37 +00:00
alesapin
4a1819c4d2 Fix jepsen check 2021-12-29 22:44:41 +03:00
avogar
97788b9c21 Allow to create new files on insert for File/S3/HDFS engines 2021-12-29 21:19:13 +03:00
Anton Popov
abcc48c1f6 Merge remote-tracking branch 'upstream/master' into support-prewhere-storage-merge 2021-12-29 21:07:35 +03:00
Kruglov Pavel
489a30859f
Merge pull request #32455 from Avogar/schema-inference
Automatic schema inference for input formats
2021-12-29 21:03:48 +03:00
Anton Popov
7c6f7f6732 support 'optimize_move_to_prewhere' with storage 'Merge' 2021-12-29 20:49:10 +03:00
alexey-milovidov
aa4044f14e
Merge pull request #33265 from den-crane/test/create_table_w_timezone
test for #24410
2021-12-29 20:21:26 +03:00
alesapin
7a3c874651 Merge branch 'master' into ianton-ru-MDB-15474 2021-12-29 19:01:43 +03:00
Kseniia Sumarokova
3bb9da0286
Merge pull request #33266 from kssenii/rabbit-wait-container
Wait for RabbitMQ container to actually start when it was restarted in test on purpose
2021-12-29 18:45:34 +03:00
Mikhail f. Shiryaev
272ea7fc5b
Merge pull request #32609 from cmsxbc/query-kind-concurent_restriction
add settings: max_concurrent_select_queries and max_concurrent_insert_queries
2021-12-29 15:23:45 +01:00
Vladimir C
f31f0578fd
Merge pull request #33276 from benbiti/improve_parseDateTime64BestEffort 2021-12-29 16:42:05 +03:00
JackyWoo
7e6cd4adbb add tests 2021-12-29 21:25:55 +08:00
Denny Crane
d19de98f07 Update 02155_create_table_w_timezone.sql 2021-12-29 13:21:50 +00:00
Denny Crane
e75e4b77e7 test for #24410 2021-12-29 13:21:50 +00:00
JackyWoo
ad7f206840 change max_session_timeout_ms default value from 30000 to 100000 2021-12-29 21:05:27 +08:00
Nikolai Kochetov
c715204e18
Merge pull request #32271 from Algunenano/kill_scalar_github
Be able to KILL scalar queries
2021-12-29 16:00:59 +03:00
JackyWoo
d35e5f8319 add lower bound session timeout to keeper 2021-12-29 20:59:01 +08:00
tavplubix
65a2b5aeb8
Merge pull request #33228 from amosbird/nullablekeytests
More nullable primary key tests.
2021-12-29 15:28:48 +03:00
vdimir
c8a79d61e8
Simplify case in test parse_date_lowcard_default_throw 2021-12-29 15:06:27 +03:00
vdimir
b78f5c70b5
Add test parse_date_lowcard_default_throw, issue #31979 2021-12-29 13:41:13 +03:00
alesapin
7e1767542c
Merge pull request #33249 from nicelulu/fix_acl
clickhouse-keeper acl consistent with zookeeper, accept generated digest
2021-12-29 13:21:10 +03:00
kssenii
2279dd0c7f Reuse check_rabbitmq_is_available 2021-12-29 13:14:21 +03:00
alesapin
24df9dedd3
Merge pull request #33272 from den-crane/test/26920
Test for #26920
2021-12-29 13:02:58 +03:00
alesapin
739297b169
Merge pull request #33268 from den-crane/patch-53
Mark max_alter_threads as obsolete
2021-12-29 13:01:57 +03:00
Kruglov Pavel
dd7f61b337
Merge branch 'master' into schema-inference 2021-12-29 12:59:05 +03:00
Maksim Kita
a5256e5b6e
Merge pull request #30957 from kitaisreal/executable-refactoring
Executable refactoring
2021-12-29 12:43:41 +03:00
Maksim Kita
c3c8af747d
Merge pull request #33261 from kitaisreal/dictionaries-fix-comment
Dictionaries fix comment
2021-12-29 12:43:24 +03:00
avogar
26abf7aa62 Remove code duplication, use simdjson and rapidjson instead of Poco 2021-12-29 12:21:01 +03:00
avogar
e3dbfe6bf6 Better test url engine 2021-12-29 12:18:56 +03:00
avogar
bc5f428f97 Fix tests 2021-12-29 12:18:56 +03:00
avogar
622a013b7b Fix tests 2021-12-29 12:18:56 +03:00
avogar
9f30c17777 Fix tests 2021-12-29 12:18:56 +03:00
avogar
8a65c265e9 Fix shellcheck 2021-12-29 12:18:56 +03:00
avogar
74f09d6476 Fix tests 2021-12-29 12:18:56 +03:00
avogar
3d38e466b1 Fix tests 2021-12-29 12:18:56 +03:00
avogar
aaf9f85c67 Add more tests and fixes 2021-12-29 12:18:56 +03:00
avogar
dd994aa761 Add some tests and some fixes 2021-12-29 12:18:56 +03:00
benbiti
a954de4560 fix missing ; in tests 2021-12-29 16:50:27 +08:00
Azat Khuzhin
c541ee386b Mark some expect tests as long
CI: https://s3.amazonaws.com/clickhouse-test-reports/33263/765c7980b84ef6a7851a5fe2846a06f08382f03a/stateless_tests_flaky_check__address__actions_.html
2021-12-29 10:02:38 +03:00
Azat Khuzhin
06ac2cd6cd tests: fix 02112_delayed_clickhouse_*_with_queries_file
- fix variables inside prepare.sh
- fix variables for invoking prepare.sh
- fix path to queries file
- wait for eof on client (exiting client is required to catch all
  possible issues, that can be reported by i.e. ASan on exit)
- fix spawning of clean.sh by replace with system

Cc: @kssenii
2021-12-29 10:02:38 +03:00
Azat Khuzhin
a424b4ad56 Do not ignore eof in expect tests
expect_after that adjusts default timeout handler, reseted eof handler,
and this tell expect that it can ignore eof from read, consider the
following example:

<details>

    ```expect
    #!/usr/bin/expect -f

    exp_internal 1
    log_user 1
    set timeout 4
    match_max 100000

    expect_after {
        # eof { exp_continue }
        timeout {
            exit 1
        }
    }

    spawn bash -c "sleep 1; echo ':) '"
    expect ":) "
    ```

    ```
    $ ./expect.expect < /dev/null
    spawn bash -c sleep 1; echo ':) '
    parent: waiting for sync byte
    parent: telling child to go ahead
    parent: now unsynchronized from child
    spawn: returns {6614}

    expect: does "" (spawn_id exp4) match glob pattern ":) "? no
    expect: read eof
                 ^^^
    expect: set expect_out(spawn_id) "exp0"
    expect: set expect_out(buffer) ""
    ```

And with uncommented eof handler:

    ```
    $ ./expect.expect < /dev/null
    spawn bash -c sleep 1; echo ':) '
    parent: waiting for sync byte
    parent: telling child to go ahead
    parent: now unsynchronized from child
    spawn: returns {17959}

    expect: does "" (spawn_id exp4) match glob pattern ":) "? no
    expect: read eof
    expect: set expect_out(spawn_id) "exp0"
    expect: set expect_out(buffer) ""
    expect: continuing expect after update

    expect: does "" (spawn_id exp4) match glob pattern ":) "? no

    expect: does ":) \r\n" (spawn_id exp4) match glob pattern ":) "? yes
    expect: set expect_out(0,string) ":) "
    expect: set expect_out(spawn_id) "exp4"
    expect: set expect_out(buffer) ":) "
    ```

</details>
2021-12-29 10:02:38 +03:00
Kseniia Sumarokova
004e199af0
Merge pull request #33269 from kssenii/azure-tests-improve
Fix azure tests flackyness because of azure server closing connection
2021-12-29 09:34:57 +03:00
Kseniia Sumarokova
9b63fa6949
Merge pull request #33239 from CurtizJ/async-insert-query-log
Add asynchronous inserts to query log
2021-12-29 09:34:08 +03:00
benbiti
9004e98992 parseDateTimeBestEffort support Unix Timestamp with Milliseconds 2021-12-29 13:43:54 +08:00
Denny Crane
464b30d954 test for csv strings started with slach #26920 2021-12-28 21:21:39 -04:00
Denny Crane
a4fe8e52ed test for csv strings started with slach #26920 2021-12-28 21:20:23 -04:00
Denny Crane
8b46053e8a
fix test. Output is in another order 2021-12-28 19:50:55 -04:00
Alexey Milovidov
422061ce71 Update tests 2021-12-29 01:43:43 +03:00
Anton Popov
8ca12bb2e8
fix style check 2021-12-29 00:43:33 +03:00
kssenii
c8dcde7843 Fix 2021-12-28 23:57:36 +03:00
Maksim Kita
df95a40bbf Fixed tests 2021-12-28 23:50:48 +03:00
Maksim Kita
9ef359ce2c Dictionaries fix comment 2021-12-28 23:50:48 +03:00
Denny Crane
031451ed17 replace obsolete max_alter_threads with max_final_threads in documentation examples 2021-12-28 16:48:34 -04:00
Maksim Kita
b5698ea134 Updated test_executable_table_function tests 2021-12-28 22:55:31 +03:00
Maksim Kita
41437b72f1 Fixed integration tests 2021-12-28 22:55:31 +03:00
Maksim Kita
3386378050 Updated test_executable_table_function tests 2021-12-28 22:55:31 +03:00
Maksim Kita
fbe65658a1 Fixed tests 2021-12-28 22:55:31 +03:00
Maksim Kita
c2977dbf58 Updated test_executable_table_function integration tests 2021-12-28 22:55:30 +03:00
Maksim Kita
de49a25185 Fixed build 2021-12-28 22:55:30 +03:00
Maksim Kita
cda8bd7f44 Added test_executable_dictionary source tests 2021-12-28 22:55:30 +03:00
Maksim Kita
04f5763f69 Added test_executable_dictionary tests 2021-12-28 22:55:30 +03:00
Maksim Kita
72909c67c2 Fix executable function tests 2021-12-28 22:55:30 +03:00
Maksim Kita
5590cfa3aa Updated executable function integration tests 2021-12-28 22:55:30 +03:00
Maksim Kita
d3e507b9ef Added executable function integrations tests 2021-12-28 22:55:30 +03:00
kssenii
67c5b41a58 Fix 2021-12-28 22:16:16 +03:00
Azat Khuzhin
df64b89ce5 Fix 02160_client_autocomplete_parse_query in a more better way
The problem was that "eof" handler had been reseted.
2021-12-28 21:16:20 +03:00
Azat Khuzhin
a656e4c0bd Fix 02160_client_autocomplete_parse_query by waiting for the client to be spawned
expect can be terminated with eof, if the process has not been started
yet, add a while loop to wait until it will be started.
2021-12-28 21:16:20 +03:00
alexey-milovidov
0fe657e808
Merge pull request #33198 from azat/tests-event_date_time-today
Fix tests with event_time/event_date = today(), and add a style check
2021-12-28 20:34:33 +03:00
Amos Bird
a1dfebd728
More nullable primary key tests. 2021-12-29 01:11:13 +08:00
Amos Bird
b668691f6a
Fix broken tests 2021-12-29 01:06:21 +08:00
alesapin
66f6d8bcf5
Merge pull request #33256 from ClickHouse/add_retries_to_ast
Add retries to AST fuzzer download and fix flaky test.
2021-12-28 19:11:51 +03:00
Anton Popov
a6e90a046d add more info to query log in async inserts 2021-12-28 17:53:25 +03:00
achimbab
760288590b Add confidence intervals to ttests 2021-12-28 23:49:51 +09:00
alesapin
a2aa32877f
Update 02122_4letter_words_stress_zookeeper.sh 2021-12-28 16:40:34 +03:00
alesapin
5ae8188ab7 Fix flaky test 2021-12-28 16:26:47 +03:00
kssenii
e9b4439a47 Fix 2021-12-28 15:08:40 +03:00
alesapin
fcdbf8737a
Merge pull request #33250 from ClickHouse/fix_flaky_01650_drop_part
Fix flaky test 01650
2021-12-28 14:55:32 +03:00
taiyang-li
aa97634d9b merge master 2021-12-28 18:38:50 +08:00
alesapin
948fde52a7 Add retries for github api 2021-12-28 13:13:51 +03:00
alesapin
cb3c3970fe Fix flaky test 01650 2021-12-28 12:40:07 +03:00
zhangxiao871
daa4c9e33b clickhouse-keeper acl consistent with zookeeper, accept generated digest 2021-12-28 17:17:01 +08:00
kssenii
61a2516c8c Merge remote-tracking branch 'upstream/master' into validate-config 2021-12-28 11:30:30 +03:00
alesapin
90db762c87
Merge pull request #33215 from ClickHouse/fix_flaky_integration_tests
Fix some flaky integration tests
2021-12-28 11:27:46 +03:00
alesapin
875eb54754
Update test.py 2021-12-28 11:21:33 +03:00
Vladimir C
bb6fc853e3
Merge pull request #31442 from vdimir/cluster-discovery 2021-12-28 10:53:30 +03:00
Azat Khuzhin
72dd5a2d2f Fix 02160_client_autocomplete_parse_query
Sad (since I wanted to make the test a little bit cleaner/easier to
understand), but you cannot use send_user in tests, since expect
send_user works only if stdin is a tty, so the following will fail (so
as in CI):

    $ ./tests/clickhouse-test --database default 02160  < /dev/null
    Using queries from '/src/ch/clickhouse-upstream/tests/queries' directory
    Using clickhouse-client as client program (expecting split build)
    Connecting to ClickHouse server... OK

    Running 1 stateless tests (MainProcess).

    02160_client_autocomplete_parse_query:                                  [ FAIL ] - return code: 1
    send: spawn id exp0 not open
        while executing
    "send_user "Completion loaded\n""
        (file "/src/ch/clickhouse-upstream/tests/queries/0_stateless/02160_client_autocomplete_parse_query.expect" line 40)
    , result:

    stdout:

    Database: default
2021-12-28 10:05:14 +03:00
Anton Popov
0e2d0d70ba add asynchronous inserts to query log 2021-12-27 23:16:53 +03:00
Kseniia Sumarokova
0178fb5e0b
Merge pull request #33214 from kssenii/external-database-fix-where-false
Fix WHERE 1=0 for external databases query
2021-12-27 18:53:52 +03:00
kssenii
55dfaef4de Settings changes as key value 2021-12-27 17:45:00 +03:00
Nikolay Degterinsky
c5ccefb9df Add tests 2021-12-27 13:43:19 +00:00
Kruglov Pavel
3cb37a11ae
Merge pull request #33202 from azat/fix-client_autocomplete_word_break_characters
Fix 01370_client_autocomplete_word_break_characters test logic
2021-12-27 15:35:11 +03:00
vdimir
d3b1058c40
cluster discovery configuration, support shards 2021-12-27 15:26:11 +03:00
vdimir
fbdb5c60bd
initial initialization of cluster discovery in main thread 2021-12-27 15:26:10 +03:00
vdimir
57cbbd9fcf
global option allow_experimental_cluster_discovery 2021-12-27 15:26:09 +03:00
vdimir
96a0371eca
add option allow_experimental_cluster_discovery 2021-12-27 15:26:09 +03:00
vdimir
ceec643f90
update config structure: remote_servers_discovery -> remote_servers.discovery 2021-12-27 15:26:09 +03:00
vdimir
1f460f05fe
add retry for first check in test_cluster_discovery_startup_and_stop 2021-12-27 15:26:07 +03:00
vdimir
43bfcacd61
Add test_cluster_discovery 2021-12-27 15:26:06 +03:00
Vitaly Baranov
f80a3e3247
Merge pull request #30549 from aiven/kmichel-server-reload
Start/stop servers when `listen_host`/`*_port` changes
2021-12-27 14:51:00 +03:00