Commit Graph

15015 Commits

Author SHA1 Message Date
Bharat Nallan
adbdc3153a
improvements to tests for h3kRing and h3ToChildren funcs (#33311) 2022-01-20 17:08:13 +03:00
achimbab
779538bd89
Implemented meanZTest (#33354) 2022-01-20 16:57:37 +03:00
Amos Bird
e62f4e50a6
Fix KeyCondition with no common types 2022-01-20 21:56:12 +08:00
Maksim Kita
115ecb09a8 Dictionaries added Date32 type support 2022-01-20 13:48:33 +00:00
avogar
67e396f8f4 Fix schema inference for JSONEachRow and JSONCompactEachRow 2022-01-20 16:31:24 +03:00
Vladimir C
7156e64ee2
Merge pull request #33360 from RogerYK/feat/bitSlice 2022-01-20 16:20:27 +03:00
avogar
a20fdc210a Add format autodetect in clickhouse-local 2022-01-20 15:55:28 +03:00
mergify[bot]
9326f99d78
Merge branch 'master' into fix-lz4 2022-01-20 11:53:51 +00:00
Kruglov Pavel
7bfb1231b9
Merge branch 'master' into formats-with-suffixes 2022-01-20 14:47:17 +03:00
taiyang-li
4db3ee2edd add stateless tests 2022-01-20 19:41:35 +08:00
Maksim Kita
844eb4ccdc RangeHashedDictionary handle invalid intervals 2022-01-20 11:16:18 +00:00
avogar
2d975057d0 Make result Bool only if arguments contain Bool 2022-01-20 14:16:11 +03:00
avogar
ba54a5ff80 Some improvements and fixes for Bool data type 2022-01-20 14:16:11 +03:00
Kruglov Pavel
f644602ec8
Merge pull request #33776 from Avogar/fix-insert-values
Fix parsing query INSERT INTO ... VALUES SETTINGS ... (...), ...
2022-01-20 14:09:27 +03:00
alexey-milovidov
28a9d569cc
Merge pull request #33690 from azat/remove-unbundled-support
Remove unbundled support
2022-01-20 12:29:07 +03:00
Kseniia Sumarokova
064c3dd654
Merge pull request #33724 from liuneng1994/fix_ignore_hdfs_error
Throw exception when storage hdfs list directory failed
2022-01-20 11:59:09 +03:00
Azat Khuzhin
eeb0c83a2d tests/instructions/sanitizers.md: cleanup USE_INTERNAL_XXX 2022-01-20 10:02:01 +03:00
bharatnc
ab1f8b496b more tests 2022-01-19 22:35:26 -08:00
bharatnc
aefa9f25ec add tests for degrees and radians 2022-01-19 22:18:45 -08:00
Kseniia Sumarokova
19df6413dc
Merge pull request #33729 from Vxider/windowview-stream-table-join
Enable stream to table join in WindowView
2022-01-20 09:14:53 +03:00
Anton Popov
4810d13aff use connection pool for redis dictionary 2022-01-20 03:12:28 +03:00
mergify[bot]
cbb87e762c
Merge branch 'master' into formats-with-suffixes 2022-01-19 17:21:18 +00:00
mergify[bot]
806fef41c7
Merge branch 'master' into fix-insert-values 2022-01-19 16:09:46 +00:00
Mikhail f. Shiryaev
9cb136f5b0
Use workflow names in approve lambda 2022-01-19 17:00:41 +01:00
Kruglov Pavel
e6070b124b
Merge pull request #33780 from vdimir/test-use-tags
Support USE_* build flags in tests' tags
2022-01-19 18:31:20 +03:00
Maksim Kita
41a6cd54aa
Merge pull request #33516 from kitaisreal/range-hashed-dictionary-interval-tree
RangeHashedDictionary use interval tree
2022-01-19 16:30:31 +01:00
Mikhail f. Shiryaev
4cb86ad616
Merge pull request #32218 from ClickHouse/release-workflow
Create release workflow
2022-01-19 16:21:57 +01:00
Bharat Nallan
4dd8b65a1c
add h3ToCenterChild function (#33313) 2022-01-19 16:04:23 +03:00
Amos Bird
62441f0a0f
Fix mutation when table contains projections (#33679) 2022-01-19 15:27:11 +03:00
vdimir
e5613fce3c Support USE_* build flags in tests' tags 2022-01-19 12:21:51 +00:00
avogar
c4cd8c6da4 Fix parsing query INSERT INTO ... VALUES SETTINGS ... (...), ... 2022-01-19 14:22:32 +03:00
Maksim Kita
1f72bde52f Fix performance tests 2022-01-19 10:41:58 +00:00
Mikhail f. Shiryaev
d9a1284f2d
Improve typing and arguments 2022-01-19 11:41:34 +01:00
Mikhail f. Shiryaev
3142ae998b
Add option to skip redownload, push tgz 2022-01-19 11:41:33 +01:00
Mikhail f. Shiryaev
13368bf708
Fix some linter issues 2022-01-19 11:41:32 +01:00
Mikhail f. Shiryaev
7fd629004b
Improve push_to_artifactory
- Add tgz archives
- Add --all argument for all packages download
- Add -n to skip pushing to artifactory
- Add help for artifactory-url
- Make 3.8 compatible
- Add cleanup `refs/tags/` from --release argument
2022-01-19 11:41:30 +01:00
Kruglov Pavel
a166963d91
Update 02168_avro_bug.sql 2022-01-19 13:14:03 +03:00
Kruglov Pavel
3501b56587
Merge pull request #33730 from ianton-ru/MDB-16115-2
Fix restore S3 disk without detached directories
2022-01-19 12:31:59 +03:00
Frank Chen
d0c72f6df4 Update test case
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-01-19 17:15:36 +08:00
mergify[bot]
f2da296990
Merge branch 'master' into windowview-stream-table-join 2022-01-19 02:08:52 +00:00
avogar
4efadfad3c Fix tests 2022-01-18 22:26:13 +03:00
Maksim Kita
123802b43b
Merge pull request #33739 from vdimir/issue_31009
Add test issue_31009
2022-01-18 17:31:31 +01:00
alesapin
e5ec1aa446
Merge pull request #33642 from ClickHouse/add_integration_test_for_zero_duplication
Fix bug with background moves in zero copy replication
2022-01-18 18:32:16 +03:00
vdimir
98d036e2c0
Add test, close issue #31009 2022-01-18 16:27:34 +03:00
Maksim Kita
6536c3aaee Added performance tests 2022-01-18 13:20:54 +00:00
liuneng1994
15ea37c4ae ignore file not found exception
Signed-off-by: neng.liu <neng.liu@kyligence.io>
2022-01-18 12:49:40 +00:00
mergify[bot]
b318f9b5db
Merge branch 'master' into formats-with-suffixes 2022-01-18 12:17:07 +00:00
Dmitry Novik
43838c1b4c
Merge pull request #33355 from ucasfl/decimal-binary-op
Enable binary arithmetic between Decimal and Float
2022-01-18 14:04:26 +03:00
Anton Ivashkin
7c26a832f8 Fix restore S3 disk without detached directories 2022-01-18 12:31:31 +03:00
Vxider
ba0a702807 enable stream to table join in windowview 2022-01-18 09:20:15 +00:00
mergify[bot]
df869c5b9c
Merge branch 'master' into fix_ignore_hdfs_error 2022-01-18 07:05:24 +00:00
Ilya Yatsishin
601b6adaff
Merge pull request #33634 from qoega/fix-mongo2-compose 2022-01-18 09:47:25 +03:00
frank chen
3391f3f06e Change the order
Signed-off-by: frank chen <frank.chen021@outlook.com>
2022-01-18 14:27:08 +08:00
liuneng1994
c6e205b2ad add error check 2022-01-18 06:21:40 +00:00
alexey-milovidov
19fadd8d41
Merge pull request #33707 from kitaisreal/h3-remove-functions-rads-to-degs
H3 remove functions degsToRads, radsToDegs
2022-01-18 03:32:38 +03:00
Anton Popov
a25f2518e3
Merge pull request #33141 from 1over/feature_default_keyword
Add support of DEFAULT keyword for INSERT
2022-01-18 02:04:37 +03:00
alexeypavlenko
06b08b0e3a fix insert 2022-01-17 23:06:56 +02:00
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
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
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