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
pufit
58fb5a9dc4
Fix issues
2024-05-03 10:23:45 -04:00
vdimir
1424e8a6de
Fix finalize WriteBufferToFileSegment and StatusFile to avoid exceptions in destructor
2024-05-03 14:19:39 +00:00
Nikita Taranov
6d544d9417
Merge pull request #63132 from nickitat/deprecate_errorprone_functions
...
Deprecate functions `neighbor`, `runningAccumulate`, `runningDifferenceStartingWithFirstValue`, `runningDifference`
2024-05-03 13:14:58 +00:00
Alexander Gololobov
49741b640d
Skip unaccessible table dirs
2024-05-03 13:37:40 +02:00
Antonio Andelic
314573b7a6
Add debug check
2024-05-03 12:41:01 +02:00
kssenii
8976116f44
Fix
2024-05-03 12:40:01 +02:00
Duc Canh Le
44b7ec46c0
fix data race
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-05-03 10:32:55 +00:00
Duc Canh Le
5d2feb41e7
Revert "Revert "Introduce bulk loading to StorageEmbeddedRocksDB""
2024-05-03 18:29:36 +08:00
Blargian
0507be3ac3
Review change
2024-05-03 12:23:56 +02:00
Blargian
effcc09476
Review changes
2024-05-03 12:20:20 +02:00
Antonio Andelic
4e6e234d24
Safer parent part access
2024-05-03 12:19:57 +02:00
Maksim Kita
97a411365d
JOIN filter push down filled join fix
2024-05-03 13:12:11 +03:00
alesapin
15954b5b5c
Merge pull request #63257 from jkartseva/fix-inf-loop-azure-list-objects
...
Fix infinite loop in AzureObjectStorage::listObjects
2024-05-03 09:39:00 +00:00
Nikita Taranov
761c4b5696
Merge pull request #63298 from nickitat/fix_merge_tree_deduplication_log_shutdown
...
Fix terminate because of unhandled exception in `MergeTreeDeduplicationLog::shutdown`
2024-05-03 09:18:07 +00:00
Nikita Taranov
7a4e94e27b
Merge pull request #63287 from nickitat/fix_cache_dict_upd_queue
...
Fix deadlock in `CacheDictionaryUpdateQueue` in case of exception in constructor
2024-05-03 09:13:47 +00:00
SmitaRKulkarni
4b4c83823f
Merge pull request #57881 from ClickHouse/add_azure_workload_identity_support_blob
...
Add support for Workload identity credentials in AzureBlobStorage
2024-05-03 09:13:24 +00:00
Alexey Milovidov
c9fd1df4fc
Revert "Introduce bulk loading to StorageEmbeddedRocksDB"
2024-05-03 05:27:03 +03:00
Julia Kartseva
dd7e88b37e
fix infinite loop in AzureObjectStorage::listObjects
...
While the exit condition is correct for `AzureIteratorAsync`,
listObject may never exit.
This is because BlobContainerClient::LstBlobs sets a page, thus
making a sequential HasPage() condition true.
This issue reproduces when passing an empty path.
Tested with the following integration test:
https://pastila.nl/?01691b54/9ceaf103c91ab9e38ea3541abfcd1ae6#hUtrrz5sFHcBSHCLS9AlVA==
(will be added when plain_rewritable is enabled for all disk types).
2024-05-03 01:56:23 +00:00
wangtao.2077
c4062de047
fix as comment
2024-05-03 03:52:17 +02:00
wangtao.2077
249afa7b29
fix boundRatio incorrect merge
2024-05-03 03:52:17 +02:00
Alexey Milovidov
a17618851e
Merge branch 'master' into total-rows-in-system-zeros-generate-random
2024-05-03 03:40:53 +02:00
Alexey Milovidov
aea3090074
Less directories
2024-05-03 03:24:03 +02:00
Alexey Milovidov
ecf524175a
Less directories
2024-05-03 03:20:11 +02:00
Alexey Milovidov
ed1bbd0bd0
Merge branch 'master' into local-less-directories
2024-05-03 02:35:44 +02:00
Alexey Milovidov
6f21c34b5f
Merge branch 'master' into tacit
2024-05-03 02:22:01 +02:00
pufit
426f5a0434
Use INVOKER as a default for old MV
2024-05-02 18:56:54 -04:00
Xiaofei Hu
e8a156a391
remove whitespace
2024-05-02 14:45:24 -07:00
p1rattttt
ddd8fd57dc
Merge branch 'ClickHouse:master' into cross_join_compression
2024-05-02 22:25:00 +03:00
Nikita Taranov
54cd5487bf
impl
2024-05-02 20:20:54 +01:00
Igor Nikonov
376c54c7f9
Merge remote-tracking branch 'origin/master' into pr-receive-timeout-on-handshake
2024-05-02 19:15:14 +00:00
Alexey Milovidov
2ca0251de4
Revert "Do not remove server constants from GROUP BY key for secondary query."
2024-05-02 21:09:53 +02:00
Alexander Gololobov
65a47801f1
Merge pull request #63274 from ClickHouse/fix_remote_data_path_fs_err
...
More checks for concurrently deleted files and dirs in system.remote_data_paths
2024-05-02 19:08:35 +00:00
p1rattttt
20194542dc
Merge branch 'ClickHouse:master' into cross_join_compression
2024-05-02 22:01:32 +03:00
Nikita Taranov
a7935021f7
impl
2024-05-02 19:45:39 +01:00
Raúl Marín
9896c3782b
Merge pull request #63131 from Algunenano/untuple_crash
...
Fix crash with untuple and unresolved lambda
2024-05-02 17:52:30 +00:00
Nikita Taranov
1e824293fb
Merge branch 'master' into deprecate_errorprone_functions
2024-05-02 19:41:48 +02:00
kssenii
e412d161a6
More logging
2024-05-02 19:26:02 +02:00
Raúl Marín
988153aad0
Merge pull request #63278 from Algunenano/fix_history
...
Fix SettingsChangesHistory.h for allow_experimental_join_condition
2024-05-02 17:19:08 +00:00
Robert Schulze
66810e17c4
Merge remote-tracking branch 'ClickHouse/master' into optimize_drop_tables
2024-05-02 16:01:38 +00:00
Raúl Marín
55e57421fb
Fix SettingsChangesHistory.h for allow_experimental_join_condition
2024-05-02 17:22:10 +02:00
Kseniia Sumarokova
33a0e8035f
Merge pull request #61250 from ClickHouse/less-contentaion-in-cache-part4
...
Less contention in cache, part 4
2024-05-02 15:18:16 +00:00
vdimir
a838fb778b
Merge pull request #59163 from canhld94/rocksdb_bypass_memtable
...
Introduce bulk loading to StorageEmbeddedRocksDB
2024-05-02 14:49:03 +00:00
Shaun Struwig
0bb62aaaa1
Merge branch 'ClickHouse:master' into 59020_computeWidth_skip_ANSI
2024-05-02 15:33:44 +02:00
pufit
be02a16599
better
2024-05-02 09:30:46 -04:00
Raúl Marín
e4c99ed1d5
Merge remote-tracking branch 'blessed/master' into untuple_crash
2024-05-02 15:24:57 +02:00
kssenii
f2c916cfe7
Add more logs
2024-05-02 15:21:31 +02:00
Smita Kulkarni
37c618289b
Merge branch 'master' into add_azure_workload_identity_support_blob
2024-05-02 14:58:56 +02:00
Alexander Gololobov
84bed102f1
More checks for concurrently deleted files and dirs
2024-05-02 14:39:59 +02:00
vdimir
6d31638a69
CROSS join ignore join_algorithm setting
2024-05-02 12:16:49 +00:00
Sema Checherinda
b821698463
Merge pull request #61108 from ClickHouse/chesema-no-such-key
...
distinct message for s3 error 'no key' for cases disk and storage
2024-05-02 11:16:11 +00:00
Kseniia Sumarokova
136262619f
Merge pull request #62964 from azat/client/external-tables-reuse-fix
...
Fix subsequent use of external tables in client
2024-05-02 11:10:16 +00:00
Sema Checherinda
083bcfc1ce
distinct message for s3 error 'no key' for cases disk and storage
2024-05-02 13:08:25 +02:00
kssenii
3f9ca1cbfe
Merge remote-tracking branch 'origin/master' into less-contentaion-in-cache-part4
2024-05-02 13:04:05 +02:00
Maksim Kita
a50c41c617
QueryAnalysisPass improve QUALIFY validation
2024-05-02 13:36:23 +03:00
Robert Schulze
8a7b0c057f
Merge pull request #62852 from pet74alex/UUIDv7
...
Add UUIDv7-generating functions
2024-05-02 06:57:12 +00:00
Alexey Milovidov
32a40ef433
Merge pull request #63159 from ClickHouse/vdimir/ineq_join_v2
...
Merging #60920
2024-05-01 23:06:16 +02:00
pufit
08d6fa03b6
fix comment
2024-05-01 16:00:55 -04:00
pufit
92dee331f1
fix
2024-05-01 15:54:41 -04:00
pufit
8f95ca23f6
Fix typo
2024-05-01 14:00:12 -04:00
Yarik Briukhovetskyi
e52508b912
Update ParserDropQuery.cpp
2024-05-01 19:03:28 +02:00
pufit
642e225fdb
Fix review
2024-05-01 12:36:48 -04:00
Yarik Briukhovetskyi
1c361d0daa
Update ParserQuery.cpp
2024-05-01 18:36:42 +02:00
Yarik Briukhovetskyi
2281945d72
remove whitespaces
2024-05-01 18:31:17 +02:00
Yarik Briukhovetskyi
637eb754a9
fix due to review
2024-05-01 18:16:37 +02:00
Yarik Briukhovetskyi
a40e8a15c5
remove 'DATABASE' keyword
2024-05-01 17:37:41 +02:00
yariks5s
f0fc9f23c4
init
2024-05-01 15:29:45 +00:00
Konstantin Bogdanov
fc5624e3b1
Merge pull request #63106 from korowa/include-from-yml
...
allow YAML sources in include_from
2024-05-01 12:49:19 +00:00
vdimir
7617155901
Merge branch 'master' into vdimir/ineq_join_v2
2024-05-01 11:53:43 +00:00
Volodya
fa7c8d59a2
without transfer at max column width
2024-05-01 11:47:59 +00:00
Anton Popov
6f484734c2
fix reading in general case
2024-05-01 11:34:59 +00:00
Nikita Taranov
77c5221a0e
Merge pull request #59405 from nickitat/dont_merge_just_created_aggr_projection_block
...
Don't merge just created aggregating projection blocks
2024-05-01 11:34:21 +00:00
Duc Canh Le
6a324ae67a
Merge branch 'master' into rocksdb_bypass_memtable
...
Try fix CI
2024-05-01 11:21:31 +00:00
Volodya
6c9143a61e
computeWidth and tests
2024-05-01 10:04:16 +00:00
Volodya
77317c0514
new tests
2024-05-01 10:04:16 +00:00
Volodya
156649a087
check cut_to_width first
2024-05-01 10:04:16 +00:00
Volodya Giro
b1c2ccecc4
fix
2024-05-01 10:04:16 +00:00
Volodya Giro
da0c6413b3
single value without cut
2024-05-01 10:04:16 +00:00
Volodya Giro
983b460c6b
… in the position where the value cannot appear
2024-05-01 10:04:15 +00:00
Volodya Giro
d8859e9316
code style and break_line
2024-05-01 10:04:15 +00:00
Volodya Giro
254fde8f3a
Code style 2.0
2024-05-01 10:04:15 +00:00
Volodya Giro
a8f1d689aa
Code style
2024-05-01 10:04:15 +00:00
Volodya Giro
2bcb3d975b
Better rendering of multiline strings in Pretty formats
2024-05-01 10:04:15 +00:00
kssenii
deb4706056
Review fixes
2024-05-01 11:19:51 +02:00
Duc Canh Le
c462d003af
update comments
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-05-01 02:11:02 +00:00
Duc Canh Le
6e235ad823
address reviews
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-05-01 02:06:44 +00:00
Duc Canh Le
90d6c165e3
Update src/Storages/RocksDB/EmbeddedRocksDBBulkSink.cpp
...
Co-authored-by: vdimir <vdimir@clickhouse.com>
2024-05-01 10:05:49 +08:00
Alexey Milovidov
d3a0d5c7b2
Merge pull request #63215 from ClickHouse/24.5-prepare
...
Update version after release
2024-05-01 03:54:20 +02:00
Alexey Milovidov
c6ab7bd995
Update autogenerated version to 24.5.1.1 and contributors
2024-05-01 03:52:34 +02:00
Anton Popov
424e3f12e2
Revert "Merge pull request #62577 from ClickHouse/revert-61551-better-marks-loading"
...
This reverts commit 17315e53b8
, reversing
changes made to ed35fddddd
.
2024-05-01 00:52:15 +00:00
pufit
c1e465b6fb
Correct load for SQL security defaults during startup
2024-04-30 17:00:05 -04:00
Blargian
685fb273e3
Escape ANSI sequences in UTF8::computeWidth, add a test
2024-04-30 22:39:39 +02:00
Robert Schulze
0a01a92bf8
Merge pull request #62884 from rschu1ze/inverted-to-fulltext
...
Rename "inverted index" to "full-text index"
2024-04-30 20:03:35 +00:00
Robert Schulze
f29574d043
Merge remote-tracking branch 'ClickHouse/master' into optimize_drop_tables
2024-04-30 19:25:22 +00:00
Alexey Petrunyaka
d2070e5de4
Update FunctionsCodingUUID.cpp
...
Fix for build error after fix merge error
2024-04-30 21:51:15 +03:00
Nikita Taranov
8a82e8ab8b
Merge branch 'master' into deprecate_errorprone_functions
2024-04-30 20:50:45 +02:00
Alexey Petrunyaka
668c83b1cb
Fix for memory sanitizer
2024-04-30 21:38:27 +03:00
Alexey Petrunyaka
dde34625f2
Revert "Remove UUIDv7ToDateTime due to memory sanitizer issues"
...
This reverts commit 0e8575fc07
.
2024-04-30 21:30:16 +03:00
Alexey Milovidov
6d4b31322d
Merge pull request #63157 from jrdi/revert-60598
...
Revert "Merge pull request #60598 from jrdi/week-default-mode"
2024-04-30 20:21:21 +02:00
Konstantin Bogdanov
273464c963
Merge pull request #63046 from ClickHouse/support-user-expiration
...
Check user expiration date before query execution
2024-04-30 17:42:58 +00:00
Nikita Taranov
801355bd91
Merge branch 'master' into deprecate_errorprone_functions
2024-04-30 19:28:46 +02:00
Xiaofei Hu
b66c53c82e
Add ttl info to system table
2024-04-30 10:00:11 -07:00
Robert Schulze
0e8575fc07
Remove UUIDv7ToDateTime due to memory sanitizer issues
2024-04-30 15:29:42 +00:00
Konstantin Bogdanov
fccb463222
Rename
2024-04-30 16:07:51 +02:00
pufit
677a76c8d8
Merge branch 'master' into pufit/fix-dump-ast-with-sql-security
2024-04-30 10:05:22 -04:00
Robert Schulze
c820bc31e5
Fix memory sanitizer report
2024-04-30 13:35:12 +00:00
Konstantin Bogdanov
185e715fc1
Update src/Interpreters/Session.h
...
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2024-04-30 14:54:34 +02:00
Konstantin Bogdanov
36014f739a
Rename
2024-04-30 14:52:43 +02:00
HowePa
8f93df354e
fix end symbol
2024-04-30 20:34:08 +08:00
Nikita Taranov
2263291fd8
fix tests 1
2024-04-30 13:28:29 +01:00
Raúl Marín
415a7be8db
Merge pull request #63119 from Algunenano/sanity_check_clamp
...
Make sanity check of settings worse
2024-04-30 12:20:38 +00:00
Raúl Marín
89fe970cd2
Merge pull request #62929 from Algunenano/optimize_rewrite_sum_if_to_count_if
...
Enable optimize_rewrite_sum_if_to_count_if by default
2024-04-30 12:07:24 +00:00
Raúl Marín
10fb28c6ea
Fix crash with untuple and unresolved lambda
2024-04-30 13:36:20 +02:00
Robert Schulze
5660769a4b
Cosmetics, pt. V
2024-04-30 10:57:54 +00:00
Alexey Petrunyaka
93df0644ce
Fixes for the binary tidy build
2024-04-30 12:10:12 +03:00
János Benjamin Antal
71589c25ba
Merge pull request #62498 from ClickHouse/prevent-renaming-important-columns
...
Fix validation of special MergeTree columns
2024-04-30 09:10:08 +00:00
vdimir
23525ea3d5
Merge branch 'master' into ineq_join_v2
2024-04-30 08:15:51 +00:00
Jordi Villar
8c3a9bc9c7
Revert "Merge pull request #60598 from jrdi/week-default-mode"
...
This reverts commit 61df8aa466
, reversing
changes made to c6d21aebb5
.
2024-04-30 09:23:25 +02:00
Alexey Milovidov
10f7125fa6
Revert "Enable custom parquet encoder by default"
2024-04-30 09:07:32 +03:00
Alexey Milovidov
a501887f15
Fancy quotes
2024-04-30 05:15:35 +02:00
Alexey Milovidov
817570c5e4
Merge branch 'master' into local-less-directories
2024-04-30 04:45:33 +02:00
Alexey Milovidov
6358212bf8
Merge pull request #62999 from Algunenano/03132_rewrite_aggregate_function_with_if_implicit_cast
...
Fix optimize_rewrite_aggregate_function_with_if implicit cast
2024-04-30 04:43:04 +02:00
Alexey Milovidov
fd3fe73b5b
Merge pull request #63047 from ClickHouse/do-not-remove-group-by-constants-for-secondary-query
...
Do not remove server constants from GROUP BY key for secondary query.
2024-04-30 04:42:06 +02:00
Alexey Milovidov
006de3f94d
Merge pull request #63097 from canhld94/fix_abs_in_index
...
Fix incorrect judgement of of monotonicity of function abs
2024-04-30 04:28:16 +02:00
Alexey Milovidov
d7d38b14e8
Fix tests
2024-04-30 04:21:44 +02:00
Alexey Milovidov
90d8e3cb97
Merge pull request #61116 from jkartseva/s3-plain-with-replace
...
S3-plain based disk supporting directory rename
2024-04-30 04:12:17 +02:00
pufit
2c0e880909
Format SQL security option only in CREATE VIEW
queries.
2024-04-29 20:50:48 -04:00
Alexey Milovidov
3a3b0cf6d9
Merge branch 'master' of github.com:ClickHouse/ClickHouse into tacit
2024-04-30 02:47:15 +02:00
Alexey Milovidov
34450ec87d
Merge branch 'master' into tacit
2024-04-30 02:46:57 +02:00
Xiaofei Hu
10073f9ae8
init
2024-04-29 17:40:05 -07:00
Alexey Milovidov
7b1c39acbc
Merge pull request #63079 from ClickHouse/better-highlighting-of-keywords
...
Better highlighting of keywords
2024-04-30 01:45:39 +02:00
Alexey Milovidov
8475fae0ba
Merge pull request #63101 from Slach/fix_mysql81
...
Fix mysql8.3 compatibilty for MaterializedMySQL
2024-04-30 01:35:07 +02:00
Alexey Milovidov
e35330669f
Merge pull request #62020 from HowePa/patch-1
...
fix npy big endianness
2024-04-30 02:04:39 +02:00
Alexey Milovidov
283020c652
Merge pull request #62088 from ClickHouse/parqustom
...
Enable custom parquet encoder by default
2024-04-30 02:02:37 +02:00
Alexey Milovidov
989a880230
Merge pull request #62404 from Avogar/trivial-insert-select-from-files
...
Improve trivial insert select from files, add separate max_parsing_threads setting
2024-04-30 01:57:56 +02:00
Alexey Milovidov
b5a33d523b
Merge pull request #63122 from ClickHouse/fix_mongo_ssl
...
Set server name for SSL handshake in MongoDB engine
2024-04-30 01:32:21 +02:00
Alexey Milovidov
cf431a5cf5
Merge pull request #63126 from ClickHouse/fix_mongo_wire_version_check
...
Use user specified db instead of "config" for MongoDB wire protocol version check
2024-04-30 01:31:58 +02:00
Alexey Milovidov
4346b4511c
Merge pull request #63024 from kitaisreal/jit-sort-description-crash-fix
...
JIT sort description crash fix
2024-04-30 01:27:11 +02:00
Alexey Milovidov
ba45bd2534
Merge pull request #63125 from kitaisreal/recursive-cte-data-race-fix
...
Recursive CTE data race fix
2024-04-30 01:26:29 +02:00
Alexey Petrunyaka
698578402e
Merge branch 'master' into UUIDv7
2024-04-30 00:44:50 +03:00
Alexander Tokmakov
37950a5f4e
Merge pull request #62738 from pamarcos/pamarcos/system-unload-primary-key
...
Add SYSTEM UNLOAD PRIMARY KEY
2024-04-29 21:18:01 +00:00
Alexey Petrunyaka
c8847d8f97
Fixes for spell-checker
2024-04-30 00:15:04 +03:00
Nikita Taranov
64ee0090cb
better
2024-04-29 22:00:56 +01:00
Nikita Taranov
f52870c8d2
impl
2024-04-29 21:34:23 +01:00
Julia Kartseva
dc95558962
method rename
2024-04-29 19:48:17 +00:00
Raúl Marín
5355decc73
Give the server a chance
2024-04-29 21:08:56 +02:00
Raúl Marín
16727097b2
Fix client crash
2024-04-29 20:55:53 +02:00
Raúl Marín
987558e18d
Improvements based on review
2024-04-29 20:46:37 +02:00
Raúl Marín
ff1c0023e8
Use TSA and mutex instead of object copy
2024-04-29 20:05:57 +02:00
Alexey Petrunyaka
29e70f5004
In-source and Russian .md UUIDv7 docs synced with English .md docs
2024-04-29 21:04:44 +03:00
Julia Kartseva
3c1207ed4d
remove path normalization
2024-04-29 18:01:21 +00:00
Julia Kartseva
508a42bc8f
use ordered map for path map
2024-04-29 18:01:21 +00:00
Julia Kartseva
24d5abba10
extract plain_rewritable metadata type
...
Make PlainRewritableObjectStorage generic;
Support config type
```
<s3_plain_rewritable>
<type>object_storage</type>
<object_storage_type>s3</object_storage_type>
<metadata_type>plain_rewritable</metadata_type>
<endpoint>https://s3.eu-west-1.amazonaws.com/clickhouse-eu-west-1.clickhouse.com/data/ </endpoint>
<use_environment_credentials>1</use_environment_credentials>
</s3_plain_rewritable>
```
2024-04-29 18:01:21 +00:00
Julia Kartseva
d1217af389
address feedback - pt.4
2024-04-29 18:01:21 +00:00
Julia Kartseva
802ee27b1b
address feedback - pt.3
...
non-functional changes
2024-04-29 18:01:21 +00:00
Julia Kartseva
4a7f28f6bd
address feedback - pt.2
2024-04-29 18:01:21 +00:00
Julia Kartseva
36a1cae910
address feedback - pt.1
2024-04-29 18:01:21 +00:00
Julia Kartseva
4f6a3e27b7
Update src/Disks/ObjectStorages/MetadataStorageFromPlainObjectStorageOperations.cpp
...
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2024-04-29 18:01:21 +00:00
Julia Kartseva
70d55aa618
Update src/Disks/ObjectStorages/CommonPathPrefixKeyGenerator.h
...
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2024-04-29 18:01:21 +00:00
Julia Kartseva
89f28f3c18
explicitly disallow ALTERs and mutations for plain
2024-04-29 18:01:21 +00:00
Julia Kartseva
01ee500b06
improvements, cleanups, comments
2024-04-29 18:01:21 +00:00
Julia Kartseva
a67a8299ce
Do not list prefix.path in listDirectory
2024-04-29 18:01:21 +00:00
Julia Kartseva
d1e5a09b18
better transaction rollback
2024-04-29 18:01:21 +00:00
Julia Kartseva
b4375131cb
concurrency control
2024-04-29 18:01:21 +00:00
Julia Kartseva
7916792baa
Do not create directory metadata recursively
2024-04-29 18:01:21 +00:00
Julia Kartseva
75147f3ac7
S3-plain based disk supporting directory rename
...
Fixes: https://github.com/ClickHouse/ClickHouse/issues/58347
2024-04-29 18:01:21 +00:00
Alexey Milovidov
cf9954035d
Extend syntax highlight to 10 KB
2024-04-29 19:53:50 +02:00
Alexander Gololobov
39001cce0e
Use user specified db instead of "config"
2024-04-29 18:05:37 +02:00
Maksim Kita
8d9541b8d7
JIT sort description crash fix
2024-04-29 18:59:56 +03:00
Nikita Taranov
8fd38f2abc
Merge pull request #62752 from ClickHouse/log_profile_events_send_timings
...
Log profile events send timings
2024-04-29 15:41:28 +00:00
Maksim Kita
d237133ec0
Recursive CTE data race fix
2024-04-29 18:29:18 +03:00
Duc Canh Le
05eab7b204
Fix style
2024-04-29 21:54:50 +08:00
Igor Nikonov
20884efdcc
Merge remote-tracking branch 'origin/master' into pr-receive-timeout-on-handshake
2024-04-29 13:36:13 +00:00
Alexander Gololobov
5b2f726a71
Set server name for SSL handshake
2024-04-29 15:24:48 +02:00
Antonio Andelic
fb375e7a74
Apply suggestions from code review
2024-04-29 14:59:31 +02:00
Raúl Marín
97774571f1
Merge remote-tracking branch 'blessed/master' into 03132_rewrite_aggregate_function_with_if_implicit_cast
2024-04-29 14:54:23 +02:00
Raúl Marín
30d10bf242
Style
2024-04-29 14:46:42 +02:00
Raúl Marín
97c781e365
Sanity check: Clamp values instead of throwing
2024-04-29 14:34:47 +02:00
Igor Nikonov
f22c27c76b
Merge pull request #62610 from ClickHouse/fix-msan-uuid-string-to-num
...
Fix: msan in UUIDStringToNum
2024-04-29 11:56:10 +00:00
kssenii
cd77bbb088
Fix build
2024-04-29 13:34:52 +02:00
Raúl Marín
3b0c4dc671
Update SettingsChangesHistory.h
2024-04-29 12:56:50 +02:00
Duc Canh Le
98d606298b
better way to deduplicate keys while creating sst files
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-04-29 10:53:50 +00:00
Duc Canh Le
084f917bf8
fix clang-tidy and better test
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-04-29 10:37:45 +00:00
vdimir
3a8ca9a68b
bind only full identifier
2024-04-29 10:01:08 +00:00
Slach
fff871ac63
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix_mysql81
2024-04-29 13:54:51 +04:00
Raúl Marín
379fea9a30
Merge pull request #62972 from ClickHouse/tavplubix-patch-10
...
Fix race in `executeJob` when updating exception message
2024-04-29 09:53:40 +00:00
Raúl Marín
8df67eb7ed
Merge branch 'master' into optimize_rewrite_sum_if_to_count_if
2024-04-29 11:51:09 +02:00
kssenii
f79bb23a1b
Merge remote-tracking branch 'origin/master' into make-rabbitmq-reject-broken-messages
2024-04-29 11:49:05 +02:00
Azat Khuzhin
119e000873
Fix subsequent use of external tables in client
...
Before this patch it fails on the second and all other invocations:
$ chc --external --file=/tmp/test-no-lf.tsv --name=t --structure='x String'
azat.local$ select * from t limit 1
┌─x───┐
1. │ foo │
└─────┘
azat.local$ select * from t limit 1
Exception on client:
Code: 27. DB::Exception: Cannot parse input: expected '\t' at end of stream.: (at row 1)
: Buffer has gone, cannot extract information about what has been parsed.: (in file/uri /tmp/test-no-lf.tsv): While executing TabSeparatedRowInputFormat. (CANNOT_PARSE_INPUT_ASSERTION_FAILED)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-29 11:43:29 +02:00
Azat Khuzhin
437621cbe5
Remove superfluous condition from ClientBase::sendExternalTables()
...
send_external_tables already checked by the callers.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-29 11:43:29 +02:00
Eduard Karacharov
979efcad49
allow YAML sources in include_from
2024-04-29 12:42:56 +03:00
alesapin
4701429db4
Merge pull request #62773 from hileef/fix/update/nested-columns-size-check
...
fix: update: nested materialized columns: size check fixes
2024-04-29 09:27:39 +00:00
Shaun Struwig
40f33b6236
Merge branch 'ClickHouse:master' into 59557_form_input_format
2024-04-29 10:25:47 +02:00
Slach
76293754db
log_bin_use_v1_row_events was removed in MySQL 8.3, fix https://github.com/ClickHouse/ClickHouse/issues/60479 , duplicate https://github.com/ClickHouse/ClickHouse/pull/62793 to make PR properly
2024-04-29 08:15:33 +04:00
Duc Canh Le
4b7abbce68
fix abs monotonicity
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-04-29 01:33:48 +00:00
Alexey Milovidov
c570316c87
Merge branch 'master' into analyzer-support-recursive-cte
2024-04-29 02:26:59 +02:00
Alexey Milovidov
eaf3b91ab6
Merge pull request #62907 from kitaisreal/query-plan-convert-outer-join-to-inner-join-optimization
...
QueryPlan convert OUTER JOIN to INNER JOIN optimization
2024-04-28 23:07:44 +00:00
Alexey Milovidov
2d7c8948de
Also highlight tables in string literals
2024-04-29 00:26:46 +02:00
Alexey Milovidov
f891da8db8
Merge remote-tracking branch 'origin/master' into better-highlighting-of-keywords
2024-04-29 00:26:34 +02:00
Alexey Milovidov
4e7f95babb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into tacit
2024-04-29 00:14:21 +02:00
p1rattttt
cde04df8af
Merge branch 'ClickHouse:master' into cross_join_compression
2024-04-28 23:10:43 +03:00