Commit Graph

23693 Commits

Author SHA1 Message Date
Robert Schulze
cfb6feffde
What happens if I remove these 139 lines of code? 2023-01-03 18:35:31 +00:00
Alexey Milovidov
ca117d5b94
Merge branch 'master' into remove-two-lines-of-code 2023-01-02 22:15:36 +03:00
Alexey Milovidov
37262e577e
Merge pull request #44841 from ClickHouse/rm-duplicate-dev-docs-mirror
Remove unneeded softlink to official dev docs
2023-01-02 18:50:21 +03:00
Nikita Taranov
563b27f648
Provide monotonicity info for toUnixTimestamp64* (#44116)
* impl

* fix
2023-01-02 16:34:06 +01:00
Antonio Andelic
509fd873ec
Try restarting zookeeper if connection failed (#44834) 2023-01-02 16:24:57 +01:00
Kruglov Pavel
ebbd47012e
Merge pull request #44657 from ClickHouse/Avogar-patch-1
Enable input_format_json_read_objects_as_strings by default
2023-01-02 16:14:33 +01:00
Kruglov Pavel
1c2dc05d6e
Merge pull request #44446 from Avogar/arrow-nullables
Respect setting settings.schema_inference_make_columns_nullable in Parquet/ORC/Arrow formats
2023-01-02 16:05:57 +01:00
Kruglov Pavel
966f57ef68
Merge pull request #42777 from Avogar/improve-streaming-engines
Refactor and Improve streaming engines Kafka/RabbitMQ/NATS and data formats
2023-01-02 15:59:06 +01:00
Alexey Milovidov
17e792ca0b
Merge pull request #44825 from azat/ci/integration-fixes
Fix misleading integration tests reports for parametrized tests
2023-01-02 17:49:57 +03:00
Azat Khuzhin
b9125bb351
Introduce groupArrayLast() (useful to store last X values) (#44521)
* Cleanup DataTypeCustomSimpleAggregateFunction::checkSupportedFunctions()

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Remove unused GroupArrayGeneralListImpl

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Introduce groupArrayLast() (useful to store last X values)

Also do some refactoring to make code cleaner:
- rename insert() to insertWithSampler() (since it is used only for
  groupArraySample())
- split merge methods into Last/RNG/...

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-02 15:20:21 +01:00
Robert Schulze
9b527c1eb8
Remove unneeded softlink to official dev docs
No need to mirror the dev docs in
docs/en/development/developer-instruction.md into tests/instructions/.
The official docs on the .com page are just fine, and we should avoid
confusion.
2023-01-02 13:54:15 +00:00
Mikhail f. Shiryaev
7321ae2c0e
Merge pull request #44837 from ClickHouse/improve-rerun-logging
Add a tiny but important logging
2023-01-02 14:38:06 +01:00
Robert Schulze
545576fe01
Merge pull request #43818 from bigo-sg/improve_from_unixtime
Add new functions to format datetime in joda datetime style
2023-01-02 13:41:50 +01:00
Mikhail f. Shiryaev
ec79257bb6
Add a tiny but important logging
The first commit in 2023
2023-01-02 13:27:17 +01:00
Azat Khuzhin
c3b3ae886f tests/integration: ignore exit code for a running group
tee is useful there, otherwise logs are empty on CI

This reverts commit 92fd7def39.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-02 12:08:44 +01:00
Azat Khuzhin
f2c069b852 tests/integration: allow to split parametrized tests between parallel groups
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-02 12:06:56 +01:00
Alexey Milovidov
b89513e789
Merge pull request #44823 from azat/tests/fix-flaky-test_multiple_disks
Fix flaky test_multiple_disks::test_jbod_overflow
2023-01-02 05:25:27 +03:00
Alexey Milovidov
1ef8f1ae41
Merge pull request #44822 from ClickHouse/fix-bridges-test
Fix tests for bridges
2023-01-02 05:24:12 +03:00
Alexey Milovidov
47ae8c5c79 Remove more lines 2023-01-02 02:06:11 +01:00
Azat Khuzhin
4b71b481c7 tests/integration: do not split paramaterized tests into multiple groups
There is also one assumption the runner already, that leads to
misleading reports like in [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/44762/89c071e291980e355f2c2be42dc15047caabc9bc/integration_tests__asan__%5B4/6%5D.html

Here the test test_multiple_disks/test.py::test_jbod_overflow had been
splitted into multiple groups, however because of that one assumption
it had been runned as a whole in both groups and in one it failed but
succeeded in another.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-01 23:35:21 +01:00
Azat Khuzhin
700943a2b0 tests/integration: remove logging message for undone thing
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-01 23:13:00 +01:00
Azat Khuzhin
fa78569c39 tests/integration: fix logging message
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-01 23:12:25 +01:00
Azat Khuzhin
92fd7def39 tests/integration: fix detecting exit code for a running group
Because of tee the exit code is the result of tee, not of the pytest.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-01 23:09:12 +01:00
Azat Khuzhin
3123761980 Fix flaky test_multiple_disks::test_jbod_overflow
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-01 22:21:24 +01:00
Alexey Milovidov
f5fc9b2825 Fix tests for bridges 2023-01-01 22:00:08 +01:00
Alexey Milovidov
e20eb570c5 Fix bad cast in monotonicity analysis 2023-01-01 20:42:15 +01:00
Alexey Milovidov
7434a2cbbb
Merge pull request #44807 from ClickHouse/fix-typo-in-stress-test
Retry packages download if GitHub returned HTTP 500.
2023-01-01 01:08:48 +03:00
Alexey Milovidov
1c288e47de
Merge pull request #44781 from azat/fsync-fixes
Fix fsync for fetches/small files in mutations (ttl.txt, columns.txt)
2022-12-31 18:05:33 +03:00
robot-clickhouse
dcfe1487ce Automatic style fix 2022-12-31 13:51:42 +00:00
Alexey Milovidov
78ed8a6d69 GitHub is unreliable; copy-paste code from Stackoverflow to solve it 2022-12-31 14:45:44 +01:00
Alexey Milovidov
d4a35f7682 Fix typo in stress test 2022-12-31 14:31:40 +01:00
Alexey Milovidov
888b4aac8f
Merge pull request #44759 from ClickHouse/fix_flaky_test_clone_replica
Fix flaky test 02448_clone_replica_lost_part
2022-12-31 16:28:58 +03:00
Azat Khuzhin
7078087eb6 tests: add some logs in case of error in 02361_fsync_profile_events
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-12-30 22:41:23 +01:00
Alexey Milovidov
f1aad645a6 Fix flaky test 02479_mysql_connect_to_self.sql 2022-12-30 22:00:06 +01:00
Kruglov Pavel
8479615c48
Merge pull request #44684 from Avogar/avro-bool
Input/ouptut avro bool type as ClickHouse bool type
2022-12-30 17:56:36 +01:00
Kruglov Pavel
80ef5326d2
Fix tests 2022-12-30 17:54:24 +01:00
Kruglov Pavel
8b0a2a3b48
Merge pull request #44224 from Avogar/fix-comp-setting
Fix version parsing from compatibility setting
2022-12-30 17:50:19 +01:00
alesapin
e26991c6e3
Update tests/queries/0_stateless/02448_clone_replica_lost_part.sql 2022-12-30 17:44:18 +01:00
alesapin
1bbbfab64c Fix flaky test 02448_clone_replica_lost_part 2022-12-30 17:40:42 +01:00
alesapin
4948a8c17b
Remove disk restart proxy and disk decorator (#44647)
* Remove disk restart proxy and disk decorator
* Automatic style fix
* Returned some trash back
* Fix build again
* Fix failing test

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2022-12-30 14:47:30 +01:00
alesapin
178417d1ef
Merge pull request #44725 from ClickHouse/fix_some_tests
Slightly better some tests
2022-12-30 14:31:16 +01:00
Alexander Gololobov
d12f5cb119
Merge pull request #44705 from ClickHouse/fix_crash_on_delete
Fix crash on delete from materialized view
2022-12-30 12:57:21 +01:00
Alexey Milovidov
3dc41bb534
Merge pull request #44726 from ClickHouse/fix-clickhouse-test
Fix cases when clickhouse-server takes long time to start in functional tests with MSan
2022-12-30 13:54:39 +03:00
Nikolay Degterinsky
dfe93b5d82
Merge pull request #42284 from Algunenano/perf_experiment
Performance experiment
2022-12-30 03:14:22 +01:00
Alexander Gololobov
fc877380f2
Update clickhouse-test 2022-12-30 00:42:03 +01:00
Alexey Milovidov
763a875b24
Merge pull request #44648 from ClickHouse/vdimir/issue-44644
Apply aggregate_functions_null_for_empty in QueryAnalysisPass
2022-12-30 01:52:49 +03:00
Alexey Milovidov
7e33579ba0
Merge pull request #44724 from ClickHouse/fix-flaky-test-02102_row_binary_with_names_and_types
Fix flaky test "02102_row_binary_with_names_and_types.sh"
2022-12-30 01:45:26 +03:00
Alexey Milovidov
a99251d6f2
Merge pull request #44721 from ClickHouse/fix-flaky-test-4
Fix flaky test
2022-12-30 01:44:25 +03:00
Alexey Milovidov
f84064d05a
Merge pull request #44720 from ClickHouse/improve-fuzzer
A few improvements to AST Fuzzer
2022-12-30 01:43:55 +03:00
alesapin
f76d193c08 FXI 2022-12-29 23:03:37 +01:00