Azat Khuzhin
9235d1cde2
Fix system.query_views_log for MVs that are pushed from background threads
...
Some of such places:
- push from Buffer
- push from Distributed sends
- system.*_log workers
Before #47564 it simply does not work, but after it throws LOGICAL_ERROR
in such situation.
v2: remove expired() check after #46709 got merged
v3: use ThreadGroupStatus ctor with ContextPtr (after #47564 )
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-04 17:43:10 +02:00
Nikolai Kochetov
d4b91b7f8c
Merge pull request #47319 from ClickHouse/query-plan-update-sort-description
...
Query plan: update sort description
2023-04-03 15:42:49 +02:00
Robert Schulze
a50e741bea
Merge pull request #45912 from ClickHouse/qc-compression
...
Query cache: Enable compression of cache entries
2023-04-03 13:33:47 +02:00
Robert Schulze
3e124f09d0
Merge remote-tracking branch 'origin/master' into qc-compression
2023-04-03 11:28:17 +00:00
Azat Khuzhin
e16b434631
Fix compiling examples without Hive
...
Skip compiling comma_separated_streams since it requires Hive.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-31 06:05:16 +02:00
Sergei Trifonov
01ed4ffca4
Merge pull request #47870 from ClickHouse/segmentator-fix
...
Fix CPU usage counters update logic
2023-03-30 22:55:58 +02:00
Kruglov Pavel
a3908b54c1
Merge pull request #48124 from Avogar/msgpack-more-types
...
Support more ClickHouse types in MsgPack format
2023-03-30 22:03:47 +02:00
Nikolai Kochetov
fae8d7a1ee
Merge pull request #48221 from ClickHouse/fix-aggregate-projection-analysis
...
Disable AST optimizations for projection analysis.
2023-03-30 21:31:58 +02:00
Nikolai Kochetov
ad246d669e
Disable AST optimizations for projection analysis.
2023-03-30 12:08:52 +00:00
Robert Schulze
b0473098c6
Merge branch 'master' into qc-compression
2023-03-30 10:55:42 +02:00
Alexey Milovidov
5ca488d70e
Update src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2023-03-30 09:14:52 +03:00
Alexey Milovidov
e982fb9f1c
Merge pull request #47880 from azat/threadpool-introspection
...
ThreadPool metrics introspection
2023-03-30 01:27:31 +03:00
Alexey Milovidov
c00a2fc851
Merge pull request #48184 from Avogar/fix-avro
...
Fix possible member call on null pointer in Avro format
2023-03-30 01:19:44 +03:00
Nikita Taranov
460a83feb6
Fix aggregation by partitions ( #47634 )
2023-03-29 23:59:39 +02:00
Alexey Milovidov
13761fe891
Merge pull request #48133 from ClickHouse/allow-to-skip-errors-of-enums
...
Allow skipping errors related to unknown enum values in row input formats
2023-03-29 23:20:05 +03:00
Alexander Gololobov
98b3617ce2
Merge pull request #48150 from DimasKovas/fix_stdlib_compatibility
...
Fix stdlib compatibility issues
2023-03-29 21:29:33 +02:00
avogar
db83dd4e52
Fix possible member call on null pointer in Avro format
2023-03-29 17:33:22 +00:00
Frank Chen
87d235e842
Some improvements about names of span logs ( #47667 )
2023-03-29 16:28:36 +02:00
Robert Schulze
b324d0ed5e
Merge branch 'master' into qc-compression
2023-03-29 15:09:22 +02:00
robot-ch-test-poll
04d30a2afb
Merge pull request #48119 from Avogar/avro-more-types
...
Support more ClickHouse types in Avro format
2023-03-29 13:07:35 +02:00
Dmitrii Kovalkov
71a6a02e88
fix stdlib compatibility issues
2023-03-29 12:20:27 +03:00
Azat Khuzhin
f38a7aeabe
ThreadPool metrics introspection
...
There are lots of thread pools and simple local-vs-global is not enough
already, it is good to know which one in particular uses threads.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-29 10:46:59 +02:00
Sergei Trifonov
1ff6519c25
Merge branch 'master' into segmentator-fix
2023-03-29 02:29:43 +02:00
Alexey Milovidov
cfc4e40811
Allow skipping errors related to unknown enum values in row input formats
2023-03-29 00:31:53 +02:00
Kruglov Pavel
3fb1a10a16
Fix style
2023-03-28 20:49:10 +02:00
avogar
a0fcf81abf
Support more ClickHouse types in MsgPack format
2023-03-28 18:25:52 +00:00
avogar
06a6f5cf76
Support more ClickHouse types in Avro format
2023-03-28 17:36:20 +00:00
Kruglov Pavel
f3c594a160
Merge pull request #48057 from Avogar/fix-avro-records
...
Use uniq names for Records in Avro to avoid reusing its schema
2023-03-28 19:12:41 +02:00
Alexey Milovidov
1c3b692bdb
Merge pull request #47958 from arthurpassos/add_unit_test_assert_chunked_array_with_no_chunks_does_not_abort
...
Add unit test to assert arrow lib does not abort on fatal logs
2023-03-28 12:56:18 +03:00
avogar
61d41e8152
Use uniq names for Records in Avro to avoid reusing its schema
2023-03-27 14:41:36 +00:00
Arthur Passos
cfd10dafe4
only link arrow lib if it exists, same for ut
2023-03-27 09:22:07 -03:00
Alexey Milovidov
b69916b3d4
Merge pull request #47801 from nickitat/fix_final
...
Fix excessive reading in `FINAL`
2023-03-27 00:33:59 +03:00
Nikolai Kochetov
327674f56d
Merge pull request #46537 from ClickHouse/aggregate-projections-analysis-query-plan
...
Projections analysis from query plan
2023-03-25 13:23:30 +01:00
Nikolay Degterinsky
3218dce174
Merge pull request #46659 from ClibMouse/tiny-improvements
...
Make tiny improvements
2023-03-24 23:27:25 +01:00
Nikolai Kochetov
82f7c60e38
Merge pull request #47726 from k-morozov/feature/add_SourceStep_optimize
...
Add optimization for MemoryStorageStep
2023-03-24 17:56:10 +01:00
Maksim Kita
5cb2d30563
Merge pull request #47316 from ClickHouse/vdimir/transform_external_query_analyzer
...
Support transformQueryForExternalDatabase for analyzer
2023-03-24 17:53:00 +01:00
Sergei Trifonov
a05aa5c1c6
Merge branch 'master' into segmentator-fix
2023-03-24 16:19:57 +01:00
Nikita Taranov
42cafb4872
clearer
2023-03-24 16:04:48 +01:00
Arthur Passos
ef4f860b62
namespace fix
2023-03-24 11:51:22 -03:00
Nikolai Kochetov
a2182f2659
Merge pull request #47874 from amosbird/correct_exact_rows_before_limit
...
Correct `exact_rows_before_limit` in some scenarios
2023-03-24 15:09:42 +01:00
Nikolai Kochetov
46e50b17e4
Fixing test
2023-03-24 10:35:47 +00:00
Nikolai Kochetov
8917e1ad57
Fixing test
2023-03-24 09:40:12 +00:00
Nikolai Kochetov
81bef1cb4b
Fixing build.
2023-03-23 21:18:30 +00:00
Nikolai Kochetov
a4771812cb
Fixing build.
2023-03-23 20:46:42 +00:00
Arthur Passos
d13aa3c029
missing change
2023-03-23 17:42:55 -03:00
Arthur Passos
2491128b08
Add unit test to assert arrow lib does not abort on fatal logs
2023-03-23 17:40:04 -03:00
Nikolai Kochetov
73e98de46d
Merge branch 'master' into aggregate-projections-analysis-query-plan
2023-03-23 21:28:36 +01:00
Maksim Kita
24b9e5103f
Merge pull request #47748 from ClickHouse/revert-47721-revert-47622-analyzer-planner-fixes-before-enable-by-default
...
Revert "Revert "Analyzer planner fixes before enable by default""
2023-03-23 22:20:34 +03:00
Nikolai Kochetov
ed4a5b2be8
Fix test. Pre-build index for query dag in projection.
2023-03-23 18:39:41 +00:00
Nikolai Kochetov
e9bb7efef6
Fix fuzzed test.
2023-03-23 18:27:30 +00:00