Commit Graph

104268 Commits

Author SHA1 Message Date
taiyang-li
09c1cecb01 fix build error 2023-01-10 10:56:13 +08:00
taiyang-li
a8da7b4c20 change as request 2023-01-09 20:39:46 +08:00
taiyang-li
4bc2c61406 change as request 2023-01-09 20:37:16 +08:00
taiyang-li
64bbdee824 fix stule 2023-01-09 19:36:51 +08:00
taiyang-li
20c7c0b1ef change as request 2023-01-09 18:21:31 +08:00
Robert Schulze
421473e974
Merge pull request #44421 from ClickHouse/revert-of-revert-of-age-function
Revert revert of age function
2023-01-03 10:02:18 +01:00
Robert Schulze
f56ebf6d4c
Merge pull request #44854 from ClickHouse/comment-cpu-features
Document usage of check_cxx_source_compiles instead of check_cxx_source_runs
2023-01-03 09:48:38 +01:00
Antonio Andelic
e0b8fd528d
Merge pull request #44842 from ClickHouse/fix-data-race-storage-s3
Fix data race in StorageS3
2023-01-03 09:20:08 +01:00
Robert Schulze
d67a3b9faa
Document usage of check_cxx_source_compiles instead of check_cxx_source_runs
Cf. #42754
2023-01-02 22:20:20 +00:00
Han Fei
7d7de3833b
Merge pull request #44651 from hanfei1991/hanfei/fix-async-insert-cleanup
fix bug that async blocks cleanup not work
2023-01-02 21:58:27 +01:00
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
Antonio Andelic
e07d820156 Fix race on total_size 2023-01-02 14:28:27 +00: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
alesapin
97017068bb
Update 02515_cleanup_async_insert_block_ids.sh 2023-01-02 14:52:46 +01: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
Robert Schulze
f9a45d8670
Fix test result 2023-01-02 12:20:36 +00: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
Han Fei
eef0136415 add debug log 2023-01-02 11:59:44 +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