Commit Graph

49418 Commits

Author SHA1 Message Date
Nikolay Degterinsky
57aa049fef Change table name to table UUID, fix test 2023-11-15 16:21:13 +00:00
Alexander Tokmakov
bf10989515
Fix unexpected parts handling (#56693)
* fix unexpected parts handling

* Automatic style fix

* fix

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-11-15 16:54:47 +01:00
slvrtrn
9e3ba55070 Fix incorrect nullable columns reporting in MySQL binary protocol 2023-11-15 16:53:38 +01:00
Mikhail Koviazin
604b10238b
SensitiveDataMasker: reduce the scope of mutex 2023-11-15 17:45:28 +02:00
zvonand
a8aa206cfd Update after review
expandSelector is now returning vector<string> directly
minor changes
2023-11-15 16:37:24 +01:00
Robert Schulze
eb08bba607 Update docs 2023-11-15 16:37:24 +01:00
zvonand
70aa6e2672 Added a shortcut for no-wildcard globs in HDFS 2023-11-15 16:37:24 +01:00
zvonand
3e47a54a94 Added a shortcut for no-wildcard globs in file storage 2023-11-15 16:37:24 +01:00
Antonio Andelic
c3f7c8792a
Merge pull request #56763 from ClickHouse/disable-compress-logs-default
Disable compressed logs by default in Keeper
2023-11-15 16:17:14 +01:00
Robert Schulze
7505ea23a6
Merge pull request #56704 from ClickHouse/fix-gcd-crash
Fix crash in GCD codec in case when zeros present in data
2023-11-15 16:16:40 +01:00
Antonio Andelic
5c4e58d27d Try fix No user 2023-11-15 15:14:46 +00:00
Alexey Milovidov
a089e61810 Fix crash in FPC codec 2023-11-15 15:55:56 +01:00
Konstantin Bogdanov
9edcdf41d5
Add exceptions during substitution processing if node already has a value 2023-11-15 15:45:46 +01:00
Konstantin Bogdanov
e3842ebc89
Remove substitution attrs from target node if source already has a value 2023-11-15 15:45:04 +01:00
Alexey Milovidov
1ea74cee3a Early disconnect if there is authentication failure with interserver secret 2023-11-15 15:04:07 +01:00
Nikolai Kochetov
62378b4219 Fixing style. 2023-11-15 13:56:51 +00:00
Nikolai Kochetov
6ef5c4cafe
Merge pull request #56522 from kitaisreal/analyzer-support-explain-estimate
Analyzer support EXPLAIN ESTIMATE
2023-11-15 13:17:31 +01:00
yariks5s
4e48df6bfc improved nulls 2023-11-15 12:15:21 +00:00
yariks5s
9376ac5603 added implementation for negative nulls 2023-11-15 11:42:52 +00:00
Vitaly Baranov
5ee3bed87f Improve logs after review. 2023-11-15 12:38:17 +01:00
Alexey Milovidov
be88873c3e
Merge pull request #56776 from mkmkme/mkmkme/fix-typo
fix typo in ClickHouseDictionarySource
2023-11-15 12:30:25 +01:00
Yarik Briukhovetskyi
12a8a38d35
Merge branch 'ClickHouse:master' into npy_data_caching 2023-11-15 12:15:41 +01:00
Vitaly Baranov
308654195c Add config setting "wait_dictionaries_load_at_startup". 2023-11-15 11:48:50 +01:00
Robert Schulze
b0f04caddc
Merge remote-tracking branch 'ClickHouse/master' into fix-gcd-crash 2023-11-15 09:59:52 +00:00
Mikhail Koviazin
aea43bdfad
fix typo in ClickHouseDictionarySource
hostnmae -> hostname
2023-11-15 10:06:00 +02:00
Alexey Milovidov
e72cf785ce
Merge pull request #56587 from ClickHouse/vdimir/analyzer_array_join_set_error
Analyzer: fix logical error with set in array join
2023-11-15 08:35:59 +01:00
Alexey Milovidov
94a2b08c33
Merge pull request #56708 from Avogar/fix-use-structure-from-table-with-analyzer
Fix use_structure_from_insertion_table_in_table_functions with new Analyzer
2023-11-15 08:33:00 +01:00
avogar
38f200d969 Fix Date text parsing in optimistic path
1
2023-11-14 18:58:00 +00:00
Maksim Kita
13518633a8 Fixed tests 2023-11-14 21:26:16 +03:00
Maksim Kita
dc73819a38 Updated implementation 2023-11-14 21:26:16 +03:00
Maksim Kita
5f009e99f6 Updated implementation 2023-11-14 21:26:16 +03:00
Maksim Kita
1562e24232 Fixed tests 2023-11-14 21:25:50 +03:00
Maksim Kita
d24eb8bebd Analyzer remove unused projection columns 2023-11-14 21:25:50 +03:00
Antonio Andelic
03c3e96859 Small test changes 2023-11-14 17:35:17 +00:00
yariks5s
80dffe5823 fixed null due to review 2023-11-14 15:55:46 +00:00
Nikolai Kochetov
1356dc2eaa Fixing style. 2023-11-14 14:55:21 +00:00
Sema Checherinda
b9cc1580e0
Merge pull request #56367 from canhld94/ch_table_reinit_new_disk
Adding new disk to storage configuration without restart
2023-11-14 15:54:22 +01:00
Antonio Andelic
41045cfe82 Merge branch 'master' into disable-compress-logs-default 2023-11-14 14:35:52 +00:00
Antonio Andelic
8a63e924a3
Merge pull request #56670 from ClickHouse/more-reliable-log-handling-keeper
More reliable log handling in Keeper
2023-11-14 14:39:29 +01:00
yariks5s
22a9f71393 fixed due to review 2023-11-14 13:15:14 +00:00
Nikolai Kochetov
3096edf3ef
Merge pull request #50857 from ClickHouse/fix-analyzer-mv-scalars
Fix analyzer - insertion from select with subquery referencing insertion table should process only insertion block.
2023-11-14 13:58:38 +01:00
Nikolai Kochetov
d5907e10de Fixing tests. 2023-11-14 12:51:25 +00:00
Konstantin Bogdanov
5bb4eb2383
Fix 2023-11-14 13:07:44 +01:00
Kseniia Sumarokova
905b75b853
Merge pull request #56541 from ClickHouse/cache-config-improvement
Cache configuration improvement
2023-11-14 13:03:34 +01:00
Mikhail Koviazin
dfdd1a761e
Move mutex from Context to SensitiveDataMasker 2023-11-14 14:03:28 +02:00
Mikhail Koviazin
9e1357dd7e
Update query_masking_rules when reloading the config
Fixes #56449
2023-11-14 14:03:28 +02:00
avogar
ae05f4f604 Fix use_structure_from_insertion_table_in_table_functions with new Analyzer 2023-11-14 11:45:10 +00:00
Kruglov Pavel
8e88bf1348 Revert "Revert "Add a setting max_execution_time_leaf to limit the execution time on shard for distributed query"" 2023-11-14 11:40:48 +00:00
Raúl Marín
e67edb5488
Merge pull request #56597 from Algunenano/readd_sleep_message
Add "FunctionSleep exception message fix" again
2023-11-14 12:30:12 +01:00
vdimir
11b8395fe7
Address review comments 2023-11-14 11:07:27 +00:00
Alexey Milovidov
ac9f01079a
Merge pull request #56722 from ClickHouse/remove-orphan-headers
Remove orphan header files
2023-11-14 12:03:10 +01:00
Robert Schulze
daa60acb19
Bug: #56673 2023-11-14 11:03:00 +00:00
Kseniia Sumarokova
0676c09d72
Merge branch 'master' into remove-unused-code 2023-11-14 11:59:53 +01:00
vdimir
3b73780bf6
Calculate sets from (array) joined actions 2023-11-14 10:35:43 +00:00
Robert Schulze
afb5c3e810
Some fixups (mostly for consistency)
- Made the exception texts consistent accross codecs
- Slightly less noisy comments in C++ code
- Remove unlikely() because it did not make a difference considering the
  total function costs
- Consolidated tests into existing test, delete leftover
  02869_gcd_codec_test_incorrect_type test (it was consolidated into
  02872_gcd_codec long time ago)
2023-11-14 10:29:20 +00:00
Nikita Mikhaylov
40df5b8a74
Update CompressionCodecGCD.cpp 2023-11-14 10:28:28 +00:00
Nikita Mikhaylov
a80f8082db
Update CompressionCodecGCD.cpp 2023-11-14 10:28:25 +00:00
Nikita Mikhaylov
71f4f7519b
Update CompressionCodecGCD.cpp 2023-11-14 10:28:21 +00:00
Nikita Mikhaylov
a7f8171d3e
Update CompressionCodecGCD.cpp 2023-11-14 10:28:15 +00:00
Nikita Mikhaylov
0ae79f6d18
Fix crash 2023-11-14 10:28:12 +00:00
Robert Schulze
2931bbfe62
Merge pull request #56665 from rschu1ze/refactor-ast-hash-calculation
Small refactoring of AST hash calculation (follow-up to #56545)
2023-11-14 11:24:30 +01:00
Antonio Andelic
2f505786e2 Merge branch 'more-reliable-log-handling-keeper' into disable-compress-logs-default 2023-11-14 09:46:19 +00:00
Antonio Andelic
1ab7e5693d Add unit test 2023-11-14 09:43:09 +00:00
Alexander Gololobov
80ca41f18d
Merge pull request #56420 from ClickHouse/system_replicas_with_many_tables
Optimizations for system.replicas with many tables
2023-11-14 10:23:48 +01:00
Antonio Andelic
3f5ccabba6 Don't append different log types in same file 2023-11-14 09:07:42 +00:00
Antonio Andelic
5849e06595 Fix 2023-11-14 09:07:17 +00:00
Antonio Andelic
8d27920987 Merge branch 'master' into more-reliable-log-handling-keeper 2023-11-14 08:38:07 +00:00
Alexey Milovidov
e32f6e5556
Merge branch 'master' into remove-orphan-headers 2023-11-14 09:23:19 +01:00
Alexey Milovidov
9bf62dd622 Remove orphan header files 2023-11-14 07:43:11 +01:00
Alexey Milovidov
cb74f52c5c Make autogenerated file as light as possible 2023-11-14 06:27:39 +01:00
Alexey Milovidov
32dd1b26b3 Make autogenerated file as light as possible 2023-11-14 06:26:05 +01:00
Alexey Milovidov
3ef14f6098 Merge branch 'master' of github.com:ClickHouse/ClickHouse into coverage 2023-11-14 06:08:32 +01:00
Alexey Milovidov
beb0f6c5c1
Merge pull request #56648 from jsc0218/TunePGConnParameter
Reset PG's conn timeout and try times to avoid endless wait for unavailable URLs
2023-11-14 06:06:40 +01:00
Alexey Milovidov
c48dc8219f
Merge pull request #56662 from ClickHouse/miscellaneous-changes-tidy
Miscellaneous
2023-11-14 06:05:56 +01:00
avogar
a09437c816 Fix possible 'uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument' in clickhouse-local 2023-11-13 22:23:38 +00:00
Robert Schulze
361a3ca11f
Merge pull request #56519 from rschu1ze/qc-ignore-nondeterministic-queries
Query cache: Allow to ignore non-deterministic queries
2023-11-13 21:32:44 +01:00
Alexander Tokmakov
0622379ec7
Revert "Add a setting max_execution_time_leaf to limit the execution time on shard for distributed query" 2023-11-13 21:11:07 +01:00
Nikolai Kochetov
4004248c13 Fix duplicate usage of table function input(). 2023-11-13 19:01:36 +00:00
Alexey Milovidov
f7f8f4cd23
Merge pull request #56105 from ClickHouse/taming-query-profiler
Taming query profiler
2023-11-13 19:29:24 +01:00
Alexey Milovidov
c81cc3f953
Merge pull request #56660 from ClickHouse/better-ccache-2
Better use of build cache
2023-11-13 19:28:33 +01:00
Alexander Gololobov
b49f50bf47 Set DB:Exception on unscheduled requests 2023-11-13 17:53:38 +01:00
Alexander Gololobov
6e861a6176 Handle query cancellation 2023-11-13 17:53:38 +01:00
Alexander Gololobov
1113b3041b Return exception from the job 2023-11-13 17:53:38 +01:00
Alexander Gololobov
c27913f09a Separate thread pools for request with and w/o zk 2023-11-13 17:53:38 +01:00
Alexander Gololobov
45f5d28299 Deduplicate concurrent requests in system.replicas 2023-11-13 17:53:38 +01:00
Nikolay Degterinsky
bf04f0f298
Merge pull request #56494 from evillique/fix-empty-named-collections
Fix empty NAMED COLLECTIONs
2023-11-13 17:49:17 +01:00
Nikolay Degterinsky
b8cba418e3
Merge pull request #56493 from evillique/fix-alter-column-alias
Fix ALTER COLUMN with ALIAS
2023-11-13 17:48:06 +01:00
Nikolay Degterinsky
02ce2a0e83
Merge pull request #56489 from evillique/fix-drop-ttl-dependency
Fix startup failure due to TTL dependency
2023-11-13 17:40:19 +01:00
Nikolay Degterinsky
ae6b4e62b1
Merge pull request #56401 from evillique/kerberos-kafka-segfault
Fix segfault during Kerberos initialization
2023-11-13 17:33:08 +01:00
Robert Schulze
d6df7d8403
Merge remote-tracking branch 'rschu1ze/master' into refactor-ast-hash-calculation 2023-11-13 15:54:21 +00:00
Alexey Milovidov
2ad98a58c9
Better caching of arrow build (#56657)
* Better caching of Arrow build
* Fix error
* Remove useless files
2023-11-13 16:51:01 +01:00
Kruglov Pavel
abf08839ec
Merge pull request #55976 from Avogar/fix-client-insert-in-background
Fix 'Cannot read from file:' while running client in a background
2023-11-13 15:16:49 +00:00
Kruglov Pavel
d5280df6d3
Merge pull request #56122 from bigo-sg/orc_tuple_field_prune
Allow tuple field pruning in ORC to speed up scaning
2023-11-13 14:46:43 +00:00
vdimir
5c8d0c25ee
Revert "Analyzer: fix logical error with set in array join"
This reverts commit fede5d8fcb.
2023-11-13 14:42:14 +00:00
Sema Checherinda
7f3a082c0e
Merge pull request #56456 from ucasfl/fix-mysql
Fix transfer query to MySQL compatible query
2023-11-13 15:25:58 +01:00
kssenii
876b2cd7bc Remove unused code 2023-11-13 15:10:57 +01:00
Antonio Andelic
d9fbab554f
remove useless include 2023-11-13 14:52:32 +01:00
Robert Schulze
b899270372
Remove default value for argument 'ignore_aliases' from IAST::updateTreeHash() 2023-11-13 13:18:35 +00:00
Antonio Andelic
e3c66f8a63 Merge branch 'master' into more-reliable-log-handling-keeper 2023-11-13 12:14:57 +00:00
Antonio Andelic
99d521becf More reliable log handling in Keeper 2023-11-13 12:09:13 +00:00