Commit Graph

104293 Commits

Author SHA1 Message Date
Alexey Milovidov
cb8e7c8059
Merge pull request #44824 from ClickHouse/stress-test-less-oom
Less OOM in stress test
2023-01-03 22:12:34 +03:00
Alexey Milovidov
453dac69c7
Merge pull request #44855 from ClickHouse/fuzzer-more-cases-of-oom
More cases of OOM in Fuzzer
2023-01-03 22:11:38 +03:00
Nikolai Kochetov
c8ed885bae
Merge pull request #44760 from ClickHouse/fix-crash-in-totals-structure
Apply type conversions for totals and extrems in RemoteQueryExecutor.
2023-01-03 19:28:31 +01:00
Alexey Milovidov
bdd3ef8920
Merge pull request #44830 from ClickHouse/fix-monotonicity-fuzz-2
Fix fuzzer report
2023-01-03 19:42:58 +03:00
Alexey Milovidov
a06d03e097
Merge pull request #44851 from qoega/green-ci-3
No more retries in integration tests
2023-01-03 19:40:34 +03:00
SmitaRKulkarni
16fca48f5b
Disable functions in readonly for inserts (#44290)
Implementation:
* Added a new parameter to ITableFunction::execute to check if query is insert query.
* Used the new parameter in InterpreterInsertQuery::getTable function when calling ITableFunction::execute .
Testing:
* Added test case for INSERT in 02473_functions_in_readonly_mode.sh.

Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-01-03 15:25:04 +01:00
Pradeep Chhetri
fa234878d6
Cleanup setup_minio.sh (#44858) 2023-01-03 14:29:50 +01:00
Nikolai Kochetov
f421b4bf13
Merge branch 'master' into fix-crash-in-totals-structure 2023-01-03 14:24:22 +01:00
Nikolai Kochetov
6b1a697b12
Merge pull request #44850 from ClickHouse/respect-context-in-projection-optimization
Save context created from projection analysis.
2023-01-03 13:30:51 +01:00
Antonio Andelic
e68b98aac3
Merge pull request #44859 from ClickHouse/wait-zk-process-stopped
Wait for ZK process to stop in tests using snapshot
2023-01-03 13:08:59 +01:00
Antonio Andelic
a88171b594 Add timeout for ZK stop 2023-01-03 09:59:06 +00:00
Antonio Andelic
4ccd828a44 Wait for ZK process to stop 2023-01-03 09:39:14 +00: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
Alexey Milovidov
fcefaa602f Fix error 2023-01-03 01:24:56 +01:00
Alexey Milovidov
fa16abe05e Fix error 2023-01-03 01:23:57 +01:00
Alexey Milovidov
8125f3adc0 More cases of OOM in Fuzzer 2023-01-03 01:17:28 +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
Alexey Milovidov
a8c202767b Merge branch 'master' into fix-monotonicity-fuzz-2 2023-01-02 21:34:05 +01:00
Alexey Milovidov
b975b22f8b
Merge branch 'master' into stress-test-less-oom 2023-01-02 22:32:41 +03: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
d89888aefe
Update 02516_projections_and_context.sql 2023-01-02 22:01:35 +03:00
Nikolai Kochetov
d2630f8321 Add test. 2023-01-02 18:01:53 +00:00
Ilya Yatsishin
8a9bb9b107 No more retries in integration tests 2023-01-02 18:56:24 +01:00
Nikolai Kochetov
09325ff17e Store context created from projection analysis. 2023-01-02 17:00:48 +00:00
Nikolai Kochetov
d6335a81c4 Fix test. 2023-01-02 16:10:22 +00: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
Nikolai Kochetov
078e205154 Fixing a test. 2023-01-02 12:15:31 +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