Commit Graph

57200 Commits

Author SHA1 Message Date
Alexey Milovidov
3e70f79be7 Useless changes 2024-05-10 06:25:29 +02:00
Alexey Milovidov
ced5cc1644 Useless changes 2024-05-10 05:55:04 +02:00
Alexey Milovidov
46c99476d0 Useless changes 2024-05-10 05:23:47 +02:00
Alexey Milovidov
9ae3454cd1 Useless changes 2024-05-10 05:12:11 +02:00
Alexey Milovidov
a6543a1c48 Useless changes 2024-05-10 05:07:37 +02:00
Alexey Milovidov
426a51b624 Useless changes 2024-05-10 04:53:29 +02:00
Michael Kolupaev
3de1fc674f Fix logical error in ColumnTuple::tryInsert() 2024-05-10 02:30:18 +00:00
taiyang-li
d2af8b5e23 change as request 2024-05-10 10:29:53 +08:00
Alexey Milovidov
c17a3bb944 Useless changes 2024-05-10 03:31:40 +02:00
Alexey Milovidov
42710158e4 Merge branch 'master' into clang-18-ci 2024-05-10 02:38:20 +02:00
Michael Kolupaev
1b43c58489
Merge pull request #62087 from ClickHouse/checkmate
Avoid crashing on column type mismatch in a few dozen places
2024-05-09 23:59:59 +00:00
Maxim Alexeev
ad5cbc6808 fixed code and added test 2024-05-10 01:25:08 +03:00
Maxim Alexeev
7376fac30c Fixed bug 2024-05-10 00:50:27 +03:00
p1rattttt
0a7a69a00d
Merge branch 'ClickHouse:master' into external_cross_join 2024-05-09 18:51:44 +03:00
Alexey Milovidov
8ed245677d
Merge pull request #63493 from Volodyachan/fix-tabs-in-pretty-format
Tabs in pretty format
2024-05-09 15:24:56 +00:00
Alexey Milovidov
7be88cca1f
Merge pull request #63548 from azat/fix-sentry-crash-on-exit
Fix crash on exit with sentry enabled (due to openssl destroyed before sentry)
2024-05-09 15:24:20 +00:00
Raúl Marín
0e2b2ab53a Reduce join logging again 2024-05-09 12:53:34 +02:00
Raúl Marín
83d8c1071a
Merge pull request #63522 from Algunenano/prefetch_projection_name
MergeTreePrefetchedReadPool: Print parent name when logging projection parts
2024-05-09 09:59:36 +00:00
Antonio Andelic
3fd8b46264
Merge pull request #63538 from ClickHouse/race-distributed-sink
Fix data race in `DistributedSink`
2024-05-09 06:53:44 +00:00
Antonio Andelic
d1c20d08c3
Merge pull request #63323 from ClickHouse/use-getparentpartname
Try fix segfault in `MergeTreeReadPoolBase::createTask`
2024-05-09 06:52:12 +00:00
Antonio Andelic
bc9d50cf16
Merge pull request #63523 from ClickHouse/leftover-threads-copy
Correctly stop `asyncCopy` tasks in all cases
2024-05-09 06:50:51 +00:00
Azat Khuzhin
27b41650f8 Fix crash on exit with sentry enabled (due to openssl destroyed before sentry)
The problem is tha openssl registers OPENSSL_cleanup() as atexit
handler, which called before destroying of SentryWriter, so to avoid
this problem, let's destroy it explicitly.

<details>

<summary>stack trace example</summary>

    Thread 2 (Thread 0x7ffff54006c0 (LWP 24847) "clickhouse-serv"):
    0  ___pthread_rwlock_rdlock (rwlock=0x0) at pthread_rwlock_rdlock.c:26
    1  0x00000000164c18a9 in CRYPTO_THREAD_read_lock (lock=0x0) at threads_pthread.c:93
    2  0x000000001642e6b9 in int_err_get_item (d=0x7ffff53f74e0) at err.c:192
    ...
    7  ossl_connect_common (cf=0x7ffff7812c80, data=0x7ffff70a4c00, nonblocking=bool_true, done=0x7ffff53f834c) at openssl.c:4486
    ...
    17 curl_easy_perform (data=data@entry=0x7ffff70a4c00) at easy.c:787
    18 0x000000000b4c3854 in sentry__curl_send_task (_envelope=<optimized out>, _state=0x7ffff7074300) at sentry_transport_curl.c:225
    19 0x000000000b4ba880 in worker_thread (data=0x7ffff70e5500) at sentry_sync.c:262

    Thread 1 (Thread 0x7ffff7cb2c80 (LWP 24842) "clickhouse-serv"):
    5  0x000000000b4bb0e2 in sentry__cond_wait_timeout (cv=0x7ffff70e5540, mutex=0x7ffff70e5570, msecs=250) at sentry_sync.h:332
    6  sentry__bgworker_shutdown (bgw=0x7ffff70e5500, timeout=2000) at sentry_sync.c:412
    7  0x000000000b4b3e95 in sentry_close () at sentry_core.c:238
    8  0x000000000b4a5f1f in SentryWriter::~SentryWriter (this=0x7ffff71a1240) at SentryWriter.cpp:147
    9  std::__1::default_delete<SentryWriter>::operator()[abi:v15000](SentryWriter*) const (this=0x7ffff70e5568, __ptr=0x7ffff71a1240) at unique_ptr.h:48
    10 std::__1::unique_ptr<SentryWriter, std::__1::default_delete<SentryWriter> >::reset[abi:v15000](SentryWriter*) (this=0x7ffff70e5568, __p=0x0) at unique_ptr.h:305
    11 std::__1::unique_ptr<SentryWriter, std::__1::default_delete<SentryWriter> >::~unique_ptr[abi:v15000]() (this=0x7ffff70e5568) at unique_ptr.h:259
    12 0x00007ffff7de62e6 in __run_exit_handlers (status=0, listp=<optimized out>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
    13 0x00007ffff7de642e in __GI_exit (status=<optimized out>) at exit.c:138
    14 0x00007ffff7dccd51 in __libc_start_call_main (main=main@entry=0x6111c20 <main(int, char**)>, argc=argc@entry=13, argv=argv@entry=0x7fffffffb718) at libc_start_call_main.h:74
    15 0x00007ffff7dcce0c in __libc_start_main_impl (main=0x6111c20 <main(int, char**)>, argc=13, argv=0x7fffffffb718, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffb708) at libc-start.c:360

    (gdb) p req.body
    $7 = 0x7ffff7816000 "{\"dsn\":\"...\"}\n{\"type\":\"session\",\"length\":190}\n{\"init\":true,\"sid\":\"...\",\"status\":\"exited\",\"errors\":0,\"started\":\"2024-05-08T20:29:23.253Z\",\"duration\":17.213,\"attrs\":{\"release\":\"24.5\",\"environment\":\"test\"}}"

</details>

P.S. Likely started happens after conversion to OpenSSL (#59870).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-09 07:39:23 +02:00
Volodyachan
c52af8c259
Merge branch 'master' into fix-tabs-in-pretty-format 2024-05-09 05:22:51 +03:00
Alexey Milovidov
c198bbcafb Useless changes 2024-05-09 04:20:54 +02:00
Alexey Milovidov
224e1940ae Useless changes 2024-05-09 03:58:34 +02:00
Alexey Milovidov
97f24f38b8 Useless changes 2024-05-09 03:14:26 +02:00
Alexey Milovidov
0d14a2c67e Useless changes 2024-05-09 03:11:02 +02:00
Alexey Milovidov
1d69518c4d Useless changes 2024-05-09 02:07:04 +02:00
Alexey Milovidov
95f12ef274 Useless changes 2024-05-09 01:08:33 +02:00
Alexey Milovidov
536398a916
Merge pull request #63527 from ClickHouse/everything-should-work-on-aarch64-part-2
Almost everything should work on AArch64 (Part of #58061)
2024-05-08 22:46:06 +00:00
Alexey Milovidov
962d5e5bda
Merge pull request #63479 from yariks5s/add_setting_from_multiline_strings
Add setting for better rendering of multiline string for pretty format
2024-05-08 22:42:38 +00:00
Alexey Milovidov
8c4a5d3663
Merge pull request #61823 from ClickHouse/total-rows-in-system-zeros-generate-random
Set total_rows_approx for trivial queries with LIMIT from system.zeros and generateRandom
2024-05-08 21:32:35 +00:00
Alexey Milovidov
39b4411028
Merge pull request #63515 from ClickHouse/fix-rabbitmq-heap-use-after-free
Fix rabbitmq heap-use-after-free with clang18
2024-05-08 21:30:28 +00:00
p1rattttt
0fb8fea19b
Merge branch 'ClickHouse:master' into external_cross_join 2024-05-09 00:08:01 +03:00
Alexey Milovidov
b25defe17a Fixing some clang-tidy warnings 2024-05-08 22:38:52 +02:00
Alexey Milovidov
773654c46e Merge branch 'master' of github.com:ClickHouse/ClickHouse into clang-18-ci 2024-05-08 21:24:04 +02:00
Maxim Alexeev
e146262ccf Deleted setting max_bytes_in_join by default_max_bytes 2024-05-08 19:57:46 +03:00
Nikolai Kochetov
ff810ceb39 Try another fix and add simplier test. 2024-05-08 16:50:42 +00:00
Alexey Milovidov
4f73b3b4cb
Merge pull request #63532 from ClickHouse/revert-63525-revert-63443-fix-index-analysis-datetime64
Revert "Revert "Fix index analysis for `DateTime64`""
2024-05-08 18:33:59 +02:00
Nikolai Kochetov
b2828fc852 Search nullable GB keys from all the parent scopes. 2024-05-08 16:06:38 +00:00
Kseniia Sumarokova
96dd6c03cd
Update src/Storages/MergeTree/DataPartStorageOnDiskFull.h
Co-authored-by: SmitaRKulkarni <Smita.Kulkarni@clickhouse.com>
2024-05-08 18:01:47 +02:00
Nikolai Kochetov
2e93bf92d7
Merge pull request #63415 from ClickHouse/revert-63297-revert-63047-do-not-remove-group-by-constants-for-secondary-query
Revert "Revert "Do not remove server constants from GROUP BY key for secondary query.""
2024-05-08 16:01:05 +00:00
Yarik Briukhovetskyi
767e32d566
Merge pull request #63406 from yohannj/fix_error_codes
Update ErrorCodes for functions using NUMBER_OF_ARGUMENTS_DOESNT_MATCH
2024-05-08 15:12:00 +00:00
Antonio Andelic
071ff50d20 Fix data race inside distributed sink 2024-05-08 17:08:12 +02:00
kssenii
c2b8443111 Fix for RabbitMQ 2024-05-08 16:51:28 +02:00
kssenii
3b318fb3c6 Fix for RabbitMQ 2024-05-08 16:50:22 +02:00
Raúl Marín
7eb5c9354b
Revert "Revert "Fix index analysis for DateTime64"" 2024-05-08 16:44:37 +02:00
Raúl Marín
b82b19ad6a
Merge pull request #63525 from ClickHouse/revert-63443-fix-index-analysis-datetime64
Revert "Fix index analysis for `DateTime64`"
2024-05-08 14:25:36 +00:00
Alexey Milovidov
f188866f95 Part of #58061 2024-05-08 16:17:36 +02:00
Raúl Marín
1e03649826
Revert "Fix index analysis for DateTime64" 2024-05-08 16:14:15 +02:00
Nikita Mikhaylov
afdb773d17
Merge pull request #62896 from lyrixx/dx-join-get
dx: Enhance error message when non-deterministic function is used with Replicated source
2024-05-08 14:05:05 +00:00
kssenii
82098e9882 Fix stress test 2024-05-08 15:19:04 +02:00
Antonio Andelic
3d5c8db1e0 Use ThreadPoolCallbackRunnerLocal 2024-05-08 15:12:52 +02:00
jsc0218
95af8eb88d
Merge pull request #62860 from HowePa/part_log_typo
[Docs] fix typo for part log
2024-05-08 13:09:14 +00:00
Antonio Andelic
16eb12a321 Correctly stop copy tasks when exception thrown 2024-05-08 14:58:21 +02:00
Raúl Marín
c178539f39 Raise log to trace 2024-05-08 14:39:30 +02:00
Raúl Marín
0efc7c73cf MergeTreePrefetchedReadPool: Print parent name when logging projection parts 2024-05-08 14:28:06 +02:00
Nikolai Kochetov
880314fa08 Another case. 2024-05-08 11:49:15 +00:00
zhongyuankai
6098f98cf4 Add server setting group_array_limit_size. 2024-05-08 19:29:35 +08:00
Antonio Andelic
173d5d0b98 Keep parent part alive for read task 2024-05-08 13:08:24 +02:00
Yarik Briukhovetskyi
cd3a60bfb4
Merge branch 'master' into add_setting_from_multiline_strings 2024-05-08 12:21:08 +02:00
Kseniia Sumarokova
35d96f98f4
Merge pull request #63484 from ClickHouse/fix-custom-web-disk-with-config-reload
Fix logical error when reloading config with customly created web disk broken after #56367
2024-05-08 09:28:54 +00:00
vdimir
00de6f2e58
Merge pull request #63481 from ClickHouse/vdimir/fix_mysql_dictionary_source
Fix mysql dictionary source
2024-05-08 08:36:32 +00:00
vdimir
b57ad0f0eb
Analyzer fix 03024_total_rows_approx_is_set_for_system_zeros_and_generate_random 2024-05-08 09:58:01 +02:00
János Benjamin Antal
834001daf4
Merge pull request #60887 from pkit/force_null_for_omitted
Add setting to force NULL for omitted fields
2024-05-08 07:40:04 +00:00
Antonio Andelic
195ea4ec1f Use ThreadPoolCallbackRunnerLocal in MergeTreePrefetchedReadPool 2024-05-08 09:25:38 +02:00
豪肥肥
d6e171e1a4
Merge branch 'master' into output_format_npy 2024-05-08 12:20:10 +08:00
Alexey Milovidov
5d83f66068
Merge pull request #63489 from azat/fix-cxx
Fix ProfileEventTimeIncrement code
2024-05-08 02:34:29 +00:00
jsc0218
12bb3e0171
Merge pull request #63394 from Unalian/feat-62079-simple
[feature] Raw as a synonym for TSVRaw
2024-05-08 00:40:00 +00:00
豪肥肥
a3e1208873
Merge branch 'ClickHouse:master' into part_log_typo 2024-05-08 06:44:41 +08:00
Vitaly Baranov
7a1e6b7c33
Merge pull request #57684 from vitlibar/fix-backup-for-multiple-shards
Fix making backup when multiple shards are used
2024-05-07 21:38:04 +00:00
Maxim Alexeev
4018a2b4a3 fixed comments 2024-05-07 23:43:40 +03:00
Kseniia Sumarokova
60cf7cdb80
Merge pull request #62120 from zvonand/zvonand-s3-globs
Improve S3 glob performance
2024-05-07 20:39:16 +00:00
Raúl Marín
c652d2e0b3 Fix useful warning by clang tidy 2024-05-07 22:22:30 +02:00
Volodya
e038d6a47d Tabs in pretty format 2024-05-07 20:05:04 +00:00
Raúl Marín
ffeceeb491
Merge pull request #63478 from kitaisreal/analyzer-setting-max-streams-to-max-threads-ratio-overflow-fix
Analyzer setting max_streams_to_max_threads_ratio overflow fix
2024-05-07 19:52:34 +00:00
Julia Kartseva
fc9fa706fb
Merge pull request #63365 from jkartseva/support-generic-disk-s3-plain-rw
Enable plain_rewritable metadata for `local` and `azure` object storages
2024-05-07 19:37:28 +00:00
Azat Khuzhin
577dccd47f Fix ProfileEventTimeIncrement code
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-07 21:11:17 +02:00
Nikolai Kochetov
134b468d91 Another case. 2024-05-07 18:14:32 +00:00
Nikolai Kochetov
a2e9b6f4c6 Another attempt. 2024-05-07 17:42:43 +00:00
Yarik Briukhovetskyi
cdcdb4cf71
remove unnecessary checks 2024-05-07 19:35:09 +02:00
Yarik Briukhovetskyi
ed59a5c248
Update PrettyBlockOutputFormat.cpp 2024-05-07 19:17:00 +02:00
kssenii
836cf150b5 Fix 2024-05-07 19:00:30 +02:00
Raúl Marín
c99f15a843 Insert QueryFinish on AsyncInsertFlush with no data 2024-05-07 17:41:49 +02:00
vdimir
b2377c3fef
Fix mysql dictionary source 2024-05-07 15:31:35 +00:00
Constantine Peresypkin
07472b3e95 Add setting to force NULL for omitted fields
Fixes #60884
2024-05-07 11:28:44 -04:00
Yarik Briukhovetskyi
ac485b612d
add setting to SettingsChangesHistory 2024-05-07 17:11:37 +02:00
yariks5s
5117422c7b init 2024-05-07 14:48:50 +00:00
vdimir
c67a43e3a7
better 2024-05-07 14:37:39 +00:00
Maksim Kita
cad9c97725 Analyzer setting max_streams_to_max_threads_ratio overflow fix 2024-05-07 17:21:25 +03:00
vdimir
063db33548
verbose error 2024-05-07 14:20:49 +00:00
vdimir
fd75522ea8
analyzer: fix select * with grouping sets 2024-05-07 14:20:49 +00:00
vdimir
d3155707e9
no filter pushdow for group_by_use_nulls 2024-05-07 14:20:48 +00:00
Alexey Milovidov
da365ef84d
Merge pull request #63439 from ClickHouse/fix-slow-suggest
Fix slow suggest in case of a large number of columns
2024-05-07 14:09:52 +00:00
Alexey Milovidov
54418fcea2
Update src/Storages/System/StorageSystemColumns.cpp
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2024-05-07 16:59:29 +03:00
Anton Popov
78a5e52997
Merge pull request #63233 from CurtizJ/return-back-61551
Return back #61551 (More optimal loading of marks)
2024-05-07 13:40:55 +00:00
alesapin
6f2a39b291 Revert "Do in reverse order"
This reverts commit 0b0e97917e.
2024-05-07 15:32:10 +02:00
Raúl Marín
d5b8d9b7b2
Merge pull request #63162 from kitaisreal/query-analysis-pass-improve-qualify-validation
QueryAnalysisPass improve QUALIFY validation
2024-05-07 12:18:36 +00:00
zvonand
1bae2d9d4f update comment 2024-05-07 12:57:14 +02:00
Raúl Marín
124b696bb2 Reduce excessive logging from joins 2024-05-07 12:42:55 +02:00
Raúl Marín
85096f037e updateHeader: Needs to keep track of all the matches 2024-05-07 12:42:55 +02:00
Vitaly Baranov
791278ba47 Add logging after a failure with evaluating Replicated*MergeTree engine arguments. 2024-05-07 12:26:31 +02:00
Kseniia Sumarokova
090ef99339
Merge pull request #60312 from ClickHouse/make-rabbitmq-reject-broken-messages
Make rabbitmq nack broken messages
2024-05-07 10:11:29 +00:00
Alexey Milovidov
21cbbdd983
Merge pull request #63270 from Blargian/59020_computeWidth_skip_ANSI
`UTF8::computeWidth` skip ANSI escape sequences
2024-05-07 09:05:34 +00:00
Alexey Milovidov
977783ea94
Merge pull request #63443 from ClickHouse/fix-index-analysis-datetime64
Fix index analysis for `DateTime64`
2024-05-07 07:35:47 +00:00
Alexey Milovidov
605faebb17
Merge pull request #63357 from ClickHouse/fudge
Fix AST parsing of invalid type names
2024-05-07 09:50:29 +02:00
Antonio Andelic
5e5477302a
Update src/Storages/MergeTree/MergeTreeReadPoolBase.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2024-05-07 09:31:39 +02:00
Alexander Gololobov
0162395dd5
Merge pull request #63377 from zvonand/fix-x-clickhouse-timezone
Fix `X-ClickHouse-Timezone` header with `session_timezone`
2024-05-07 06:10:28 +00:00
Alexey Milovidov
46a8cf9881 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-slow-suggest 2024-05-07 07:39:58 +02:00
Alexey Milovidov
20db0b3d5e
Merge pull request #63396 from ClickHouse/fix-data-race-reportbroken
Fix data race in `reportBrokenPart`
2024-05-07 05:36:50 +00:00
Alexey Milovidov
a81f21ea8c Fix it 2024-05-07 06:12:11 +02:00
Julia Kartseva
0a1d852dfd Enable plain_rewritable metadata for local and azure
Enable plain_rewritable support for local and azure (azure_blob_storage)
metadata type.

- HDFS object storage currently does not support iteration
  and does not implement listObjects method. It's a blocker
  for enabling plain_rewritable metadata type with HDFS.
- StaticWeb object storage is read-only and works with
  its dedicated metadata type.
2024-05-07 03:53:23 +00:00
Alexey Milovidov
e4864d6fd6
Update UTF8Helpers.cpp 2024-05-07 04:43:06 +03:00
Alexey Milovidov
7700b2c1a3
Merge pull request #63273 from ClickHouse/vdimir/cross_join_algorithm_setting
CROSS join ignore join_algorithm setting
2024-05-07 01:40:38 +00:00
Alexey Milovidov
a20c626cc2
Merge pull request #63401 from ClickHouse/remove-copy-when-writing-to-cache
Remove copy from writing to fs cache
2024-05-07 01:38:54 +00:00
Alexey Milovidov
cef4f746ce
Merge pull request #63425 from CurtizJ/fix-create-index-parsing
Fix parsing of `CREATE INDEX` query
2024-05-07 01:14:39 +00:00
Alexey Milovidov
a38ea6c8cd Thread names 2024-05-07 02:54:25 +02:00
Alexey Milovidov
c53c8eb6d1 Fix slow suggest 2024-05-07 01:36:20 +02:00
Кирилл Гарбар
a20ef2a3d0 Add allow without connection setting to MaterializedMySQLSettings 2024-05-07 02:06:13 +03:00
Michael Kolupaev
4b9819a8f5 Update call sites added since last commit 2024-05-06 22:25:32 +00:00
Michael Kolupaev
694a8ca819 Style 2024-05-06 22:09:09 +00:00
Michael Kolupaev
d14fc62d4d Avoid crashing on column type mismatch in a few dozen places 2024-05-06 22:09:02 +00:00
Yohann Jardin
4703eb943b
Move ErrorCodes inside DB namespace 2024-05-06 23:59:59 +02:00
Michael Kolupaev
313843331b Fix AST parsing of invalid type names 2024-05-06 21:52:46 +00:00
Yohann Jardin
9fcb5d2ebf
Move ErrorCodes inside DB namespace 2024-05-06 23:44:27 +02:00
Maxim Alexeev
d531e2006d Deleted check of read type and added comment 2024-05-07 00:10:24 +03:00
Alexey Milovidov
ac7e6fc691 Properly send client info in Suggest 2024-05-06 23:00:05 +02:00
Maxim Alexeev
d4a0325350 added check that tmp_data is not nullptr 2024-05-06 23:30:27 +03:00
Maxim Alexeev
3dd04e4e58 removed garbage 2024-05-06 23:27:28 +03:00
Maxim Alexeev
1660a4fe86 first working version 2024-05-06 23:22:41 +03:00
Alexey Milovidov
e0c23fb07d
Merge pull request #59940 from Volodyachan/multiline-strings-in-Pretty-formats
Better rendering of multiline strings in Pretty formats
2024-05-06 20:13:38 +00:00
Raúl Marín
02a5b010af
Merge pull request #63398 from Algunenano/i46335
Fix debug assert when using grouping WITH ROLLUP and LowCardinality types
2024-05-06 20:00:40 +00:00
Yarik Briukhovetskyi
670c8c1188
fix exception 2024-05-06 21:42:25 +02:00
Yakov Olkhovskiy
8050d0456d
Merge pull request #63241 from yariks5s/truncate_all_tables_from
Add `FROM` keyword to `TRUNCATE ALL TABLES`
2024-05-06 19:28:50 +00:00
Maxim Alexeev
1b7b4fc858 removed unnecessary setting 2024-05-06 22:08:13 +03:00
alesapin
0b0e97917e Do in reverse order 2024-05-06 21:03:04 +02:00
Raúl Marín
36e23d6790 Remove expensive logging in query stages 2024-05-06 20:58:44 +02:00
Raúl Marín
ef81f3313f Optimize ActionsDAG::updateHeader 2024-05-06 20:58:04 +02:00
Robert Schulze
d70ef1110f
Merge pull request #63260 from rschu1ze/inverted-to-fulltext
Minor follow-up to a renaming PR
2024-05-06 18:19:50 +00:00
Robert Schulze
a7ba895ca4
Merge pull request #59318 from bigo-sg/complex_map_key
Allow arbitrary non-nullable types as key for maps
2024-05-06 18:19:03 +00:00
kssenii
ba4f5f9b3f Fix backup of parts with projections but without projections in metadata 2024-05-06 20:13:16 +02:00
Anton Popov
216cd83b8e fix parsing of CREATE INDEX query 2024-05-06 17:53:08 +00:00
Nikolai Kochetov
b821f17f69 Merge branch 'master' into more-cases-for-group-by-use-nulls 2024-05-06 17:03:13 +00:00
Robert Schulze
0f87653fef
Rename "inverted" to "fulltext" 2024-05-06 16:59:36 +00:00
Andrey Zvonov
c3abf7f462 propagate session_timezone to result_details when query fails 2024-05-06 14:55:34 +00:00
Yarik Briukhovetskyi
2ede89392c
Merge branch 'ClickHouse:master' into truncate_all_tables_from 2024-05-06 16:20:24 +02:00
Nikolai Kochetov
9d55bc82d6
Revert "Revert "Do not remove server constants from GROUP BY key for secondary query."" 2024-05-06 16:19:57 +02:00
Andrey Zvonov
942bd6af61
Explain updating result_details.timezone 2024-05-06 16:15:32 +02:00
Raúl Marín
8cdaa1a32a Make grouping never return low cardinality 2024-05-06 14:36:04 +02:00
Andrey Zvonov
731d05491c simplify estimation of number of objects in bucket 2024-05-06 12:08:02 +00:00
kssenii
d24d1e8979 Update log message 2024-05-06 13:52:59 +02:00
kssenii
a51786532b Remove copy 2024-05-06 13:21:11 +02:00
Nikita Taranov
a5ec7e84c7
Merge pull request #62904 from liuneng1994/feature/adaptive_merged_block_size
Reduce external sorting memory usage on large table and speed up sorting
2024-05-06 11:20:47 +00:00
vdimir
4b1af861d8
Merge pull request #63346 from ClickHouse/vdimir/fix_write_buffer_file_segment_dtor
Fix finalize WriteBufferToFileSegment and StatusFile
2024-05-06 10:57:19 +00:00
Vitaly Baranov
4c0c4d1485
Merge pull request #63209 from ClickHouse/pufit/fix-sql-security-none-from-load
Correct load for SQL security defaults during startup
2024-05-06 10:52:44 +00:00
vdimir
1016d2e0d3
Merge pull request #62995 from ClickHouse/vdimir/array_join_alias_resolve_fix
Analyzer: prefer column name to alias from array join
2024-05-06 10:33:10 +00:00
Igor Nikonov
e986619ce3
Merge pull request #61935 from ClickHouse/pr-receive-timeout-on-handshake
Parallel replicas: table check failover
2024-05-06 10:30:59 +00:00
Кирилл Гарбар
cb4f78d9d8 Allow to create MaterializedMySQL database without connection 2024-05-06 13:04:28 +03:00
Yohann Jardin
ab7d457c51 Update ErrorCodes for functions using NUMBER_OF_ARGUMENTS_DOESNT_MATCH 2024-05-06 11:35:48 +02:00
kssenii
49bbee8d9c Review fixes 2024-05-06 11:23:53 +02:00
Antonio Andelic
10907ec4ee Fix data race in reportBrokenPart 2024-05-06 11:05:16 +02:00
unashi
d6690f8384 [feature] Raw as a synonym for TSVRaw 2024-05-06 15:12:16 +08:00
liuneng1994
1cfda11521 Merge branch 'refs/heads/master' into feature/adaptive_merged_block_size
# Conflicts:
#	src/Core/SettingsChangesHistory.h
2024-05-06 10:48:56 +08:00
李扬
c0ddd3df0b
Merge branch 'ClickHouse:master' into complex_map_key 2024-05-06 10:23:18 +08:00
Alexey Milovidov
46bd25128c
Merge branch 'master' into clang-18-ci 2024-05-06 02:51:58 +02:00
Maxim Alexeev
ec15298b82 First working prototype 2024-05-06 01:34:03 +03:00
Alexey Milovidov
c7cfc5e33a
Merge pull request #63081 from ClickHouse/tacit
Allow using clickhouse-local with a positional argument
2024-05-05 23:53:13 +02:00
Alexey Milovidov
d38cf75351
Merge pull request #63234 from kitaisreal/join-filter-push-down-filled-join-fix
JOIN filter push down filter join fix
2024-05-05 21:03:48 +00:00
Alexey Milovidov
e05a2c2000
Merge pull request #63381 from ClickHouse/fancy-quotes
Fancy quotes
2024-05-05 20:55:55 +00:00
Alexey Milovidov
9d1f38f00e
Merge pull request #60459 from p1rattttt/cross_join_compression
Added possibility to compress in CROSS JOIN
2024-05-05 21:57:19 +02:00
Alexey Milovidov
8aedecf100
Merge pull request #63200 from litlig/parts_column_ttl
Add column ttl info to system info
2024-05-05 17:13:50 +00:00
Alexey Milovidov
0c71d081c4
Merge pull request #60199 from Blargian/59557_form_input_format
Form Input Format
2024-05-05 17:10:57 +00:00
Alexander Gololobov
259a6b3cad
Merge pull request #63330 from ClickHouse/fix_remote_data_path_permission_deined
Skip unaccessible table dirs in system.remote_data_paths
2024-05-05 07:30:21 +00:00
Shaun Struwig
3316df88aa
Merge branch 'ClickHouse:master' into 59557_form_input_format 2024-05-05 05:30:40 +02:00
Shaun Struwig
a16af57a04
Merge branch 'ClickHouse:master' into 59020_computeWidth_skip_ANSI 2024-05-05 05:29:43 +02:00
Alexey Milovidov
1bcf035bbd Zero means unlimited; apply the thresholds by logical or; better documentation 2024-05-05 04:59:12 +02:00
Alexey Milovidov
7aa1b1fb3f Merge branch 'master' into cross_join_compression 2024-05-05 04:52:19 +02:00
Alexey Milovidov
f576711361 Finish implementation 2024-05-05 04:23:58 +02:00
Alexey Milovidov
33ace84174 Merge branch 'master' into fancy-quotes 2024-05-05 03:59:26 +02:00
Alexey Milovidov
77c0ebd3ee Merge branch 'master' into tacit 2024-05-05 00:20:41 +02:00
Alexey Milovidov
7ac5821a23
Merge pull request #63074 from ClickHouse/local-less-directories
Less directories in clickhouse-local
2024-05-05 00:19:31 +02:00
Andrey Zvonov
010d158d87 set result timezone after query execution 2024-05-04 21:48:04 +00:00
Alexey Milovidov
d8c48bf0c4
Merge branch 'master' into cross_join_compression 2024-05-04 23:24:26 +02:00
Xiaofei Hu
2045c7f040 rename 2024-05-04 14:13:18 -07:00
Maxim Alexeev
32c2b08cf6 Fixed settings 2024-05-04 19:53:33 +03:00
Maxim Alexeev
d8972cae0f changed settings 2024-05-04 11:41:27 +03:00
Alexey Milovidov
bbf9e5b390
Merge pull request #63324 from canhld94/revert-63316-revert-59163-rocksdb_bypass_memtable
Revert "Revert "Introduce bulk loading to StorageEmbeddedRocksDB""
2024-05-04 01:55:39 +00:00
Volodya
300f353cd1 if width == max_width need padding 2024-05-03 23:14:54 +00:00
Volodya
081e6f7af1 code style 2024-05-03 22:33:25 +00:00
Volodya
7857d01869 refactoring 2024-05-03 22:15:18 +00:00
pufit
c63cc7eb0c better 2024-05-03 16:50:49 -04:00
pufit
02e83e380d Merge branch 'master' into pufit/fix-sql-security-none-from-load 2024-05-03 16:46:41 -04:00
Maxim Alexeev
bc81b084d7 changed settings 2024-05-03 23:15:16 +03:00
Michael Kolupaev
6188338710 May 2024-05-03 20:02:42 +00:00
Michael Kolupaev
1af8066cda Fix test 2024-05-03 20:00:14 +00:00
Michael Kolupaev
031ea22e24 Enable custom parquet encoder by default, attempt 2 2024-05-03 20:00:14 +00:00
Yarik Briukhovetskyi
15c3da9e3e
Merge branch 'ClickHouse:master' into truncate_all_tables_from 2024-05-03 19:35:59 +02:00
alesapin
9e670fe67c Fix logical error during SELECT query after ALTER in rare case 2024-05-03 18:38:09 +02:00
Kseniia Sumarokova
feed11efcd
Removed commented code 2024-05-03 16:40:29 +02:00
pufit
8732855d27 additional todo 2024-05-03 10:24:57 -04:00