Commit Graph

155773 Commits

Author SHA1 Message Date
serxa
4081ed87e9 support ANY DISK clause in RESOURCE definition 2024-10-23 13:23:48 +00:00
serxa
7c58e7a93b fix data race in WorkloadEntityKeeperStorage 2024-10-21 16:21:26 +00:00
serxa
a98656ca87 docs update 2024-10-16 20:53:54 +00:00
serxa
105546457f fix typos 2024-10-16 20:32:10 +00:00
serxa
3a8bea0932 add docs 2024-10-16 20:29:52 +00:00
serxa
d0fe70dc1a style 2024-10-16 18:55:42 +00:00
serxa
5e0ce69288 Merge branch 'master' into sql-for-workload-management 2024-10-16 17:15:39 +00:00
serxa
49eaf64629 fix rare race between queue activation and destruction 2024-10-16 17:13:40 +00:00
serxa
882ddb132e simplify keeper entity storage 2024-10-16 16:22:14 +00:00
serxa
1c5a8e0008 ignore constraints beyond limit supported by resource request 2024-10-16 15:41:44 +00:00
serxa
318215d766 log unexpected errors in IOResourceManager 2024-10-16 15:29:25 +00:00
serxa
79a6225a9c abort all requests in queue before destruction 2024-10-16 15:20:17 +00:00
serxa
23f90fe778 fix bug in topological sorting of entity changes, more logs 2024-10-16 15:12:17 +00:00
serxa
8a854bd5ac add test for keeper entity storage with partitioning 2024-10-16 15:10:05 +00:00
Anton Popov
582c9082b7
Merge pull request #70695 from CurtizJ/fix-filling-missed-arrays
Fixed crash in filling of missed arrays
2024-10-16 14:50:02 +00:00
Daniil Ivanik
f6fa8424cf
Merge pull request #69179 from lwz9103/master
Improve compatibility of cast(timestamp as string) with spark
2024-10-16 14:24:56 +00:00
Alexey Milovidov
f9697bfc21
Merge pull request #70697 from Algunenano/recursive_proto_skip_fields
Fix infinite recursion when infering a proto schema with skip unsupported fields enabled
2024-10-16 12:42:52 +00:00
alesapin
87404deb4d
Merge pull request #70647 from ClickHouse/add_ability_to_change_merge_selecting
Add ability to choose merge seleting algorithm
2024-10-16 10:46:58 +00:00
alesapin
0e53354663 Review fixes 2024-10-16 11:24:32 +02:00
Daniil Ivanik
877e27245e
Merge branch 'master' into master 2024-10-16 11:23:39 +02:00
Vladimir Cherkasov
5227fe0934
Merge pull request #70487 from ClickHouse/vdimir/safe_http_exception_log
Avoid spamming the logs with large HTTP response bodies
2024-10-16 08:34:48 +00:00
Robert Schulze
1f1a9c8508
Merge pull request #70134 from rschu1ze/libcxx-debug-mode
(Re?)-enable libcxx asserts for debug builds
2024-10-16 07:50:52 +00:00
Antonio Andelic
ed79ebf0e3
Merge pull request #70299 from ClickHouse/fix-preadv2-with-nowait
Fix usage of `preadv2` with `RWF_NOWAIT`
2024-10-16 07:25:58 +00:00
Anton Popov
56b9f19ec3
Merge pull request #70635 from CurtizJ/fix-parsing-to-sparse-column
Fix parsing of some formats into sparse columns
2024-10-16 07:13:29 +00:00
Michael Kolupaev
1c45f9f6bd
Merge pull request #62966 from arthurpassos/add_parquet_bloom_filters_support
Add parquet bloom filters support
2024-10-16 00:15:56 +00:00
Alexey Milovidov
789382d295
Merge pull request #70696 from ClickHouse/vdimir/table-func-s3-respect-local-settings
Insert into table function s3 respect query settings
2024-10-15 23:45:44 +00:00
Robert Schulze
23fcefadc8
... re-enable only the assertions (not full debug mode) 2024-10-15 21:37:39 +00:00
Alexey Milovidov
63b4a70c94
Merge pull request #70511 from ClickHouse/fix-db-replicated-with-unavailable-source-table-function
Fix `StorageTableFunction::supportsReplication` creating source storage unnecessarily
2024-10-15 21:27:27 +00:00
Shichao Jin
7e1f7eca66
Merge pull request #70606 from Blargian/docs_timeSlot
[Docs] updates `timeSlot` function
2024-10-15 20:46:37 +00:00
Konstantin Bogdanov
21204a68e9
Merge pull request #70671 from ClickHouse/fix-native-macos
Fix native macOS build
2024-10-15 19:51:10 +00:00
Arthur Passos
424cd1b619 f_unknown if monotonic_functions not empty 2024-10-15 16:14:16 -03:00
Kseniia Sumarokova
b2fd0a905a
Merge pull request #70590 from aalexfvk/ignore_shadow_frozen_metadata
Ignore frozen_metadata.txt while traversing shadow directory from system.remote_data_paths
2024-10-15 16:12:56 +00:00
Alexey Milovidov
dfbd356295
Merge pull request #69481 from bigo-sg/poc_orc_lc_read
Allow reading LowCardinality(String/FixedString) data from orc dictionary encoded columns
2024-10-15 15:45:16 +00:00
Alexey Milovidov
1dfc68aefc
Merge pull request #70503 from cwurm/patch-5
Update settings.md: Clarify throw_if_no_data_to_insert
2024-10-15 15:44:13 +00:00
Alexey Milovidov
1c4d188974
Merge pull request #70660 from ClickHouse/fix-incorrect-formatting-of-check-query
Fix incorrect formatting of CHECK query
2024-10-15 15:42:17 +00:00
Nikolai Kochetov
96b9f4aa32
Merge pull request #70158 from ClickHouse/remove-plan-streams
Remove QueryPlan DataStream.
2024-10-15 15:40:02 +00:00
Alexey Milovidov
d7482835fb
Merge pull request #70677 from ClickHouse/sqltest-report
Add report file to the test results
2024-10-15 15:38:50 +00:00
Anton Popov
d7db8d0093 fix test 2024-10-15 15:27:23 +00:00
Nikita Mikhaylov
7c5374d7d7
Update contrib/grpc-cmake/CMakeLists.txt
Co-authored-by: Aris Tritas <113912678+aris-aiven@users.noreply.github.com>
2024-10-15 17:26:05 +02:00
Vladimir Cherkasov
bdc186d5da
Merge pull request #69738 from ClickHouse/vdimir/window-funnel-fix-dedup2
Fix windowFunnel counting same event several times
2024-10-15 15:12:15 +00:00
Shichao Jin
f29900d735
Merge pull request #70612 from AlekseyKanaev/settings-users_docs_fix
Fixed docs typo in settings-users.md
2024-10-15 15:08:20 +00:00
Raúl Marín
94c6fab3a0 Fix infinite recursion when infering a proto schema with skip unsupported fields enabled 2024-10-15 17:06:35 +02:00
Anton Popov
8738f57d4d Merge remote-tracking branch 'upstream/master' into HEAD 2024-10-15 14:56:23 +00:00
Anton Popov
143683aedf fix filling of missed arrays 2024-10-15 14:52:55 +00:00
vdimir
4812159545
Insert into table function s3 respect query settings 2024-10-15 14:46:10 +00:00
Alexey Milovidov
cf3e9e26f1
Merge pull request #70662 from ClickHouse/remove-strange-file
Remove strange file
2024-10-15 14:26:32 +00:00
Robert Schulze
b9b7a1091b
(Re)-enable libcxx debug mode
- We previously compiled libcxx with _LIBCPP_DEBUG=0. In old libcxx
  versions, this (surprisingly) enabled the basic debug mode [1].

- In libcxx 15 (the version we are currently using), _LIBCPP_DEBUG=0
  does nothing [2], the replacement is _LIBCPP_ENABLE_DEBUG_MODE=1.

- The debug mode is only enabled in Debug builds. Their docs say the
  extra check change complexity guarantees + the asserts crash which we
  don't want in Release builds. The debug mode detects issues like in
  [3]. Crashes look like this (for example)

  ```
  /data/ch/contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:99: assertion ::std::__libcpp_is_constant_evaluated() || (__get_const_db()->__dereferenceable(this)) failed: Attempted to increment a non-incrementable iteratorAborted (core dumped)
  ```

- I had to mute some new clang-tidy warnings in places that deal with
  container iterators. They got heavier and copy-by-value now yields a
  warning, e.g.

     for (auto it : iterators) /// <-- warning
         [...]

[1] https://releases.llvm.org/12.0.0/projects/libcxx/docs/DesignDocs/DebugMode.html
[2] https://releases.llvm.org/15.0.0/projects/libcxx/docs/DesignDocs/DebugMode.html
[3] https://github.com/llvm/llvm-project/blob/main/libcxx/test/support/container_debug_tests.h
2024-10-15 13:46:07 +00:00
Antonio Andelic
d8af90be5c Merge branch 'master' into fix-preadv2-with-nowait 2024-10-15 15:31:23 +02:00
Alexey Milovidov
6f170b0948 Empty commit 2024-10-15 15:15:15 +02:00
Arthur Passos
1e7f5b0705 docs change 2024-10-15 10:02:40 -03:00