Commit Graph

104245 Commits

Author SHA1 Message Date
Dmitry Novik
c646048af9
Merge pull request #44461 from ClickHouse/parts-removal-limit
Add part removal limit for one CleanupThread iteration
2023-01-02 20:04:19 +01: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
Alexey Milovidov
8f3e4973cd
Merge pull request #44836 from azat/build/exclude-cargo-shared-libs
Exclude cargo shared libraries from the artifacts
2023-01-02 17:45:38 +03:00
Alexey Milovidov
428404a9f0
Merge pull request #44838 from ClickHouse/check-submodules-escape
Escape submodules in style-check
2023-01-02 17:43:13 +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
24a3085251
Merge pull request #44527 from mrcrypster/patch-3
Fixed minor errors in functions docs
2023-01-02 15:05:59 +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
Robert Schulze
7c141511cb
Merge pull request #44833 from azat/ci/style-check
check-style: check base for std::cerr/cout too
2023-01-02 14:40:56 +01: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
Mikhail f. Shiryaev
ae93af32a0
Escape submodules in style-check 2023-01-02 14:23:53 +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
d9fb47458f Exclude cargo shared libraries from the artifacts
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-02 12:36:14 +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
Azat Khuzhin
26718ccddf check-style: check base for std::cerr/cout too
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-02 11:42:59 +01:00
Alexey Milovidov
f7fbaf9c99
Merge pull request #44829 from ClickHouse/adjust-css-in-fuzz-report
Adjust CSS
2023-01-02 05:41:18 +03:00
Alexey Milovidov
3223c53111
Merge pull request #44826 from ClickHouse/fix-typo-5
Fix two typos
2023-01-02 05:40:07 +03:00
Alexey Milovidov
ef3e56d6e6
Merge pull request #44827 from ClickHouse/update-license
Update LICENSE
2023-01-02 05:38:18 +03: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
bb6c28b07c Fix something strange 2023-01-02 01:51:15 +01:00
Alexey Milovidov
4171003b1a Adjust CSS 2023-01-02 01:28:05 +01:00
Alexey Milovidov
0fe25078f0 Update LICENSE 2023-01-02 00:35:32 +01:00
Alexey Milovidov
a2da7ce80a
Merge pull request #44821 from ClickHouse/fix-race-ddlworker
Fix data race in DDLWorker
2023-01-02 02:15:13 +03:00
Alexey Milovidov
a39d0f6a50 Fix two typos 2023-01-02 00:11:15 +01:00
Alexey Milovidov
4240a71a4e
Merge pull request #44818 from ClickHouse/fix-monotonicity-fuzz
Fix bad cast in monotonicity analysis
2023-01-02 02:05:28 +03: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
801c43e80c Addition to prev change 2023-01-01 21:48:37 +01:00
Alexey Milovidov
84c66b66e8 Addition to prev change 2023-01-01 21:46:30 +01:00
Alexey Milovidov
1f612042dc Fix data race in DDLWorker 2023-01-01 21:38:31 +01:00
Alexey Milovidov
8868a5e944
Merge pull request #44813 from ClickHouse/fix-grep
Fix `grep`
2023-01-01 22:45:03 +03:00
Alexey Milovidov
e20eb570c5 Fix bad cast in monotonicity analysis 2023-01-01 20:42:15 +01:00
Alexey Milovidov
f4dc658901 Fix grep 2023-01-01 17:11:44 +01:00
Alexey Milovidov
d4d0647ccd
Merge pull request #44812 from ClickHouse/remove-testflows
Remove the remainings of TestFlows
2023-01-01 18:15:39 +03:00
Alexey Milovidov
ea04181d11 Remove remainings of TestFlows 2023-01-01 03:17:31 +01:00
Alexey Milovidov
01acbafb37
Merge pull request #44769 from ClickHouse/fatal-fuzz
Print fatal messages in Fuzzer
2023-01-01 01:10:54 +03:00
Alexey Milovidov
50bb7f90d8
Merge pull request #44809 from ClickHouse/fix-race-in-mergetreedatapart
Fix race in `system.parts` and `system.parts_columns`
2023-01-01 01:09:46 +03:00
Alexey Milovidov
e2c00cefb8
Merge pull request #44810 from ClickHouse/stress-test-is-a-trash
Fix total trash in stress test
2023-01-01 01:09:02 +03:00