Commit Graph

155810 Commits

Author SHA1 Message Date
alesapin
1186cb8c39 Merge remote-tracking branch 'origin/merge_selector_stohastic_sliding' into simple-merge-selector 2024-10-16 13:37:22 +02:00
alesapin
c68175b408 Prepare for stochastic 2024-10-16 13:35:16 +02:00
Nikita Mikhaylov
5bfee046a2 Adjust 2024-10-16 11:23:19 +00:00
Nikita Taranov
1de764511b
Merge branch 'master' into allow_reorder_prewhere 2024-10-16 13:22:50 +02:00
Vladimir Cherkasov
3d81cc4832
Fix typo in docs/mongodb.md 2024-10-16 13:19:48 +02:00
alesapin
6536c63347 Merge branch 'master' into simple-merge-selector 2024-10-16 13:13:15 +02:00
Nikita Mikhaylov
228778c372 Rename function 2024-10-16 11:08:49 +00:00
Nikita Mikhaylov
649a4a7ced Typo 2024-10-16 11:05:55 +00:00
Nikita Mikhaylov
5bb6e4a91d Done 2024-10-16 11:04:04 +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
Azat Khuzhin
90caea0e27 Do not strip LowCardinality in mapKeys()/mapValues()
This breaks optimize_functions_to_subcolumns optimization, i.e. when
mapKeys() replaced with ".keys", since the preparation is done before
and it stores the nested type, while during execution it will receive
LowCardinality(nested) type.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-16 10:37:30 +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
LiuNeng
c26d9df583
Merge branch 'master' into parquet-prefetch 2024-10-16 15:47:52 +08: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
Julia Kartseva
bf0c609353 possible conflict w private 2024-10-16 02:18:59 +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
Julia Kartseva
c725b66225 Merge remote-tracking branch 'origin/master' into refactor-object-storages 2024-10-15 23:09:45 +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
Nikita Mikhaylov
fac2302d6d CXX version for GRPC 2024-10-15 14:41:07 +02:00
Arthur Passos
fd78ef62b4 fix in with invalid conversion 2024-10-15 09:30:41 -03:00
kssenii
26f9631e8f Fix test 2024-10-15 14:01:15 +02:00
Alexey Milovidov
f8346c8563 Merge branch 'master' into remove-strange-file 2024-10-15 13:59:20 +02:00