Commit Graph

104308 Commits

Author SHA1 Message Date
Alexey Milovidov
3a027d285f
Merge pull request #44828 from ClickHouse/remove-two-lines-of-code
What if I will remove two lines of code?
2023-01-04 04:50:52 +03:00
Kruglov Pavel
9056925c7d
Merge pull request #44874 from Algunenano/time_fix
Do not throw DB::Exception when folders do not exist
2023-01-04 01:17:57 +01:00
Ilya Yatsishin
49155d9614
Merge pull request #44711 from qoega/green-ci-1
Improve some integration tests and add pytest-random
2023-01-03 22:39:54 +01:00
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
Robert Schulze
0330276a02
The "libraries" field is no longer needed 2023-01-03 19:07:29 +00:00
Robert Schulze
27f5aad49e
What happens if I remove 156 lines of code? 2023-01-03 18:51:16 +00:00
Robert Schulze
cfb6feffde
What happens if I remove these 139 lines of code? 2023-01-03 18:35:31 +00: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
Raúl Marín
0785bf6b29 Do not throw DB::Exception when folders do not exist 2023-01-03 17:05:54 +01: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
Alexey Milovidov
d07f0c9e3f Fix GitHub 2023-01-02 23:44:42 +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
Alexey Milovidov
a67878a03e Fix workflows 2023-01-02 20:18:12 +01:00
Alexey Milovidov
ca117d5b94
Merge branch 'master' into remove-two-lines-of-code 2023-01-02 22:15:36 +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