Alexey Milovidov
9a0a21db94
Miscellaneous changes
2022-11-14 06:22:05 +01:00
Alexey Milovidov
bfea3deed9
Miscellaneous changes
2022-11-14 06:09:03 +01:00
李扬
bf88816da4
Merge branch 'master' into function_factorial
2022-11-14 10:30:41 +08:00
Alexey Milovidov
3c603c3d8c
Update columns.sql
2022-11-14 02:42:30 +03:00
Alexey Milovidov
4012b46a87
Adjustments for Mac OS
2022-11-13 23:11:00 +01:00
Alexey Milovidov
b9471e492a
Fix typo
2022-11-13 22:52:21 +01:00
FArthur-cmd
f6b334fb3a
add columns to information scheme
2022-11-13 12:03:46 +00:00
Alexey Milovidov
045fd06510
Clarifications
2022-11-13 04:30:43 +01:00
Alexey Milovidov
7aec54b95a
Clarifiactions
2022-11-13 04:19:32 +01:00
Alexey Milovidov
c06bff6615
More praise for heroes
2022-11-13 04:12:58 +01:00
Alexey Milovidov
90643aeba1
Clarifiactions
2022-11-13 04:10:20 +01:00
Alexey Milovidov
884603cc5b
Clarifiactions
2022-11-13 04:08:17 +01:00
Alexey Milovidov
3096534d6a
Clarifiactions
2022-11-13 04:07:29 +01:00
Alexey Milovidov
ba05b7dd2c
Add documentation for AsynchronousMetrics
2022-11-13 03:36:20 +01:00
Alexey Milovidov
5a0b7b2947
Add documentation for AsynchronousMetrics
2022-11-13 02:59:01 +01:00
Alexander Gololobov
661c5cd0ae
fixed type
2022-11-12 23:58:09 +01:00
Joanna Hulboj
42de468665
Fixed unexpected behaviour of Interval types with subquery and casting
2022-11-12 19:47:06 +00:00
Alexey Milovidov
6599016aec
Fix annoying messages in AsynchronousMetrics
2022-11-12 19:09:45 +01:00
Alexey Milovidov
c9d4598962
Fix annoying messages in AsynchronousMetrics
2022-11-12 19:09:37 +01:00
Alexey Milovidov
b8c877db29
Fix annoying messages in AsynchronousMetrics
2022-11-12 19:07:28 +01:00
Alexander Gololobov
4ad8e2974d
Simplify the logic by just adding ORDER BY list to SELECT
2022-11-12 12:58:53 +01:00
Yakov Olkhovskiy
60d116729c
adjustments for progress option
2022-11-12 02:55:26 +00:00
Alexander Gololobov
0e031f93e9
Properly fill ORDER BY ast to find all required columns during mutation
2022-11-12 00:17:28 +01:00
Maksim Kita
ebde28bc50
Merge pull request #43118 from kitaisreal/analyzer-aggregation-crash-fix
...
Analyzer aggregation crash fix
2022-11-12 01:15:22 +03:00
Igor Nikonov
ee5756b5b4
Merge pull request #43122 from ClickHouse/revert-43116-revert-42607-igor/insert_zk_retries_retry
...
Revert "Revert " Keeper retries during insert (clean)""
2022-11-11 18:22:38 +01:00
Nikolai Kochetov
505af344c4
Merge pull request #42612 from FArthur-cmd/UTC_timestamp
...
Add functions for PowerBI connect
2022-11-11 17:27:29 +01:00
xiedeyantu
5504f3af9b
fix skip_unavailable_shards does not work using s3Cluster table function
2022-11-12 00:03:36 +08:00
kssenii
616da1f695
Review fixed, style check fix
2022-11-11 16:50:02 +01:00
avogar
28c090f7a5
Fix decimal math overflow in parsing datetime with 'best effort' algorithm
2022-11-11 15:42:53 +00:00
avogar
5ec748c664
Fix function if in case of NULL and const Nullable arguments
2022-11-11 14:49:49 +00:00
serxa
ad377b357f
fix backup tests
2022-11-11 13:24:43 +00:00
avogar
b5f99db6ac
Merge branch 'improve-schema-inference-insert-select' of github.com:Avogar/ClickHouse into improve-schema-inference-insert-select
2022-11-11 12:50:47 +00:00
avogar
e83878493c
Update settings history
2022-11-11 12:50:17 +00:00
Amos Bird
444ab24792
Fix gtest
2022-11-11 20:12:14 +08:00
Alfonso Martinez
f24991fa56
Remove pushing a last 0 in FixedStrings
2022-11-11 13:02:30 +01:00
Raúl Marín
0c30325aa4
Went too far
2022-11-11 12:58:19 +01:00
Kruglov Pavel
4ecbcbf5e1
Merge branch 'master' into MaterializedMySQL_improvement_bug_fix
2022-11-11 12:54:02 +01:00
Kruglov Pavel
a42daf504c
Merge pull request #43086 from stigsb/savepoint-fix
...
Ignore SAVEPOINT queries in MaterializedMySQL
2022-11-11 12:53:05 +01:00
Raúl Marín
547cd71423
Address some sanitizer issues
2022-11-11 12:47:14 +01:00
Nikolai Kochetov
63d06c8b53
Merge pull request #42829 from ClickHouse/read-in-order-from-query-plan
...
Read-in-order over query plan
2022-11-11 12:15:20 +01:00
Raúl Marín
d4a0b76abf
Fix compilation
2022-11-11 12:08:43 +01:00
Robert Schulze
cbe4e2b8ce
Merge pull request #42673 from bigo-sg/enable_max_splits
...
Add optional max_tokens argument for function splitByRegexp
2022-11-11 11:11:26 +01:00
Alfonso Martinez
5d53ec9da8
Cleaned and replace some Strings by using chars directly
2022-11-11 11:07:05 +01:00
Raúl Marín
54db7c6520
Enforce checking read output
2022-11-11 10:56:18 +01:00
Maksim Kita
a7f0a2255f
Analyzer aggregation crash fix
2022-11-11 10:51:49 +01:00
Maksim Kita
4ce261dfd7
Analyzer improve JOIN with constants
2022-11-11 10:49:48 +01:00
Raúl Marín
41056bb990
Vuln WIP
2022-11-11 10:27:37 +01:00
zzsmdfj
3835373644
to add_oss_function_and_StorageOSS
2022-11-11 16:40:10 +08:00
flynn
d96d11899b
fix
2022-11-11 06:14:51 +00:00
Amos Bird
661c541e57
Fix Nullable keys in hyperrectangle.
2022-11-11 11:14:05 +08:00
zzsmdfj
b01eea5c10
Merge branch 'master' into MaterializedMySQL_improvement_bug_fix
2022-11-11 10:45:36 +08:00
zzsmdfj
1a00f8b148
Merge branch 'MaterializedMySQL_improvement_bug_fix' of github.com:zzsmdfj/ClickHouse into MaterializedMySQL_improvement_bug_fix
2022-11-11 10:44:47 +08:00
zzsmdfj
d4e270b522
to MaterializedMySQL_improvement_bug_fix-fix codestyle
2022-11-11 10:44:16 +08:00
flynn
eebc5349cc
add documentation
2022-11-11 02:42:18 +00:00
flynn
6f6a1f5d76
fix
2022-11-11 02:30:05 +00:00
Tiaonmmn
331c1cbeb7
Update CompressionCodecDeflateQpl.cpp
...
Modify the data type to resolve warning of clang-tidy "implicit conversion".
2022-11-11 10:00:59 +08:00
Nikolay Degterinsky
b0faecf75b
Merge remote-tracking branch 'upstream/master' into query_parameters_inserts
2022-11-10 22:33:01 +00:00
Stig Bakken
9020631826
Ignore SAVEPOINT queries in MaterializedMySQL
2022-11-10 23:27:21 +01:00
kssenii
63de577172
Better, add tests
2022-11-10 22:47:30 +01:00
Azat Khuzhin
953457de28
Remove POCO_CLICKHOUSE_PATCH
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-10 22:41:26 +01:00
Alexander Tokmakov
bb00a246f1
priority for DROP_RANGEs, assertion for others
2022-11-10 20:53:05 +01:00
kssenii
a5d06cd909
Better Impl
2022-11-10 19:59:52 +01:00
Maksim Kita
057cef469d
Fixed comments
2022-11-10 19:21:51 +01:00
Maksim Kita
9398b96dde
Fixed style check
2022-11-10 19:21:51 +01:00
Maksim Kita
8adc4c8163
Updated tests
2022-11-10 19:21:51 +01:00
Maksim Kita
7fb3f8f7c5
Updated tests
2022-11-10 19:21:51 +01:00
Maksim Kita
a6d2069c2b
Added compound types typo corrections
2022-11-10 19:21:51 +01:00
Maksim Kita
66683dd175
Added function typo corrections
2022-11-10 19:21:51 +01:00
Maksim Kita
c627251f9e
Added tests
2022-11-10 19:21:51 +01:00
Maksim Kita
e220906c9e
Analyzer added identifier typo corrections
2022-11-10 19:21:51 +01:00
Maksim Kita
80a13538ca
Merge pull request #43090 from ClickHouse/vdimir/window_frame_type_groups_assert
...
Throw not implemented for window frame type 'groups' in analyzer
2022-11-10 21:14:09 +03:00
Azat Khuzhin
ac27bc0193
Add trailing slash (/) in S3ObjectStorage::getDirectoryContents()
...
Otherwise it returns only the directory itself.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-10 18:08:41 +01:00
Azat Khuzhin
d3e0f16873
Remove common root path in MetadataStorageFromPlainObjectStorage::listDirectory()
...
This path should not leak into users/outside, since later it can be
passed to other APIs, i.e. exists() and so on.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-10 18:08:41 +01:00
Azat Khuzhin
9296bfb161
Handle list_object_keys_size for Azure
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-10 18:08:41 +01:00
Azat Khuzhin
2cbc61df18
Fix ATTACH FROM s3_plain for wide part
...
Previously because of incorrect
MetadataStorageFromPlainObjectStorage::exists(), that used
S3ObjectStorage::exists() before, which works only for existing keys,
not some intermediate path.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-10 18:08:41 +01:00
Azat Khuzhin
41884d3b88
Optimize MetadataStorageFromPlainObjectStorage::getFileSize()
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-10 18:08:41 +01:00
Azat Khuzhin
7b7ae175df
Add max_keys for IObjectStorage::findAllFiles()
...
v2: Fix google-default-arguments for IObjectStorage::findAllFiles()
v3: Update max_keys for S3 requests in S3ObjectStorage::findAllFiles() loop
v4: Clarify things about max_keys vs list_object_keys_size in S3ObjectStorage::findAllFiles()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-10 18:08:26 +01:00
Azat Khuzhin
434b9c14d8
Handle all entries for azure blob storage (not only first 5k)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-10 17:42:32 +01:00
Alexander Tokmakov
e415fc6e95
Revert "Optimize TTL merge, completely expired parts can be removed in time"
2022-11-10 19:38:55 +03:00
Alfonso Martinez
92028756f7
Merge remote-tracking branch 'upstream/master' into fix-slow-json-extract-with-low-cardinality
2022-11-10 17:22:58 +01:00
kssenii
a47aac3e2b
Better system table structure
2022-11-10 17:07:17 +01:00
kssenii
bed7ac9442
Support arbitrary structure collections
2022-11-10 17:05:24 +01:00
kssenii
c4f522b414
Support arbintrary structure collections
2022-11-10 16:32:15 +01:00
flynn
fc7311aab7
fix
2022-11-10 15:09:55 +00:00
taiyang-li
f58e960a7d
update as request
2022-11-10 21:07:44 +08:00
Vitaly Baranov
6bc8b544ce
Merge branch 'master' into correct-error-message-after-dropping-current-user
2022-11-10 13:36:52 +01:00
Vitaly Baranov
59d45bc4c2
Merge branch 'master' into fix-backup-of-lazy-db
2022-11-10 13:36:22 +01:00
Igor Nikonov
f8c907c463
Revert "Revert " Keeper retries during insert (clean)""
2022-11-10 13:14:04 +01:00
Nikolai Kochetov
77c0728e77
Fix aarch build.
2022-11-10 11:59:25 +00:00
Vitaly Baranov
c003c90341
Merge pull request #39819 from quickhouse/transparentrowpolicies
...
Added applied row-level policies to `system.query_log`
2022-11-10 12:47:50 +01:00
Alexander Tokmakov
fb8c527a2f
Revert " Keeper retries during insert (clean)"
2022-11-10 14:12:24 +03:00
Igor Nikonov
1b9be27fdb
Merge pull request #42607 from ClickHouse/igor/insert_zk_retries_retry
...
Keeper retries during insert (clean)
2022-11-10 12:01:00 +01:00
Maksim Kita
8c333817e8
Merge pull request #42689 from ClickHouse/vdimir/identifier-resolver-fuse-sum
...
Support optimize_syntax_fuse_functions for sum/count/avg via analyzer
2022-11-10 13:05:12 +03:00
vdimir
961befb1f5
Not implemented for window frame type 'groups' in analyzer
2022-11-10 09:50:45 +00:00
Maksim Kita
3378c7f1b2
Merge pull request #43088 from ClickHouse/fix-ub-type-punning
...
Fix ub type punning
2022-11-10 12:49:44 +03:00
Maksim Kita
ba8e7fde3f
Merge pull request #43048 from kitaisreal/analyzer-array-join-with-join-improvements
...
Analyzer improve ARRAY JOIN with JOIN
2022-11-10 12:42:16 +03:00
Maksim Kita
40b7775a29
Merge pull request #43089 from kitaisreal/analyzer-table-expressions-aliases-improvements
...
Analyzer improve aliases support for table expressions
2022-11-10 12:32:34 +03:00
flynn
2d08c03bf9
Merge branch 'master' into hudi-udtf
2022-11-10 17:04:17 +08:00
Antonio Andelic
1954ff385d
Merge pull request #43076 from canhld94/ch_canh_minor
...
Better logging for mark range filtering on projection parts
2022-11-10 09:33:12 +01:00
Alfonso Martinez
a1fd275209
Fixed duplicated includes
2022-11-10 09:13:52 +01:00
李扬
accbe607e3
Merge branch 'master' into function_factorial
2022-11-10 16:08:47 +08:00
taiyang-li
d76c271242
add missed file
2022-11-10 16:08:22 +08:00
Yakov Olkhovskiy
a5a1f5abf7
fix client.py - should use '--progress', return tests - they are working, fix help string
2022-11-10 07:33:54 +00:00
李扬
bcf5cad401
Merge branch 'master' into enable_max_splits
2022-11-10 10:47:47 +08:00
taiyang-li
628019d9d9
Merge branch 'enable_max_splits' of https://github.com/bigo-sg/ClickHouse into enable_max_splits
2022-11-10 10:47:10 +08:00
taiyang-li
c6449a1b23
fix bug
2022-11-10 10:46:51 +08:00
Vitaly Baranov
ae19af0015
Fix backup of Lazy databases.
2022-11-10 00:27:00 +01:00
Nikolai Kochetov
f2f5c170e4
Merge branch 'master' into read-in-order-from-query-plan
2022-11-09 22:36:36 +01:00
Vitaly Baranov
675507594a
Make error message after dropping current user more correct.
2022-11-09 21:01:05 +01:00
Nikolai Kochetov
3eb6c03b47
Disable clickhouse local and clickhouse client non-interactive progress by default.
2022-11-09 19:46:47 +00:00
Dmitry Novik
61baf3b441
Merge pull request #42999 from Algunenano/agg_memory_rails
...
Add some guard rails around aggregation memory management
2022-11-09 19:19:36 +01:00
Nikolai Kochetov
ff65ca42ad
Fix limit.
2022-11-09 18:12:01 +00:00
alesapin
9e1627fcdd
Merge pull request #43060 from ClickHouse/fix_projection_part
...
Fix projection part removal with zero-copy replication
2022-11-09 18:15:49 +01:00
Maksim Kita
5a8c62ee01
Analyzer improve aliases support for table expressions
2022-11-09 18:09:24 +01:00
Nikolai Kochetov
3c3771a8d7
Fix typo.
2022-11-09 16:17:36 +00:00
Nikolai Kochetov
997881c7f7
Review fixes.
2022-11-09 16:07:38 +00:00
serxa
7448d1bb5d
add docs
2022-11-09 14:58:41 +00:00
Yakov Olkhovskiy
a930ad25e1
fix ub type punning
2022-11-09 09:44:59 -05:00
Yakov Olkhovskiy
7f28a89273
fix ub type punning
2022-11-09 09:39:27 -05:00
vdimir
6ec2074d8a
Fix check for count
arguments number in FuseFunctionsPass
2022-11-09 14:25:43 +00:00
kssenii
e94e087187
Add generic named collections class and factory
2022-11-09 14:08:16 +01:00
Igor Nikonov
379113f8f1
Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry
2022-11-09 13:03:32 +00:00
Vitaly Baranov
e867f7fc11
Fix build.
2022-11-09 13:51:27 +01:00
vdimir
5f5fbcee0c
Style fixes for FuseFunctionsPass
2022-11-09 11:48:02 +00:00
vdimir
d6da9f53f2
quantiles function in FuseFunctionsPass
2022-11-09 11:47:59 +00:00
vdimir
f732c97cf6
fixes for FuseFunctionsPass
2022-11-09 11:47:46 +00:00
vdimir
5de29257e6
Restore 02244_issue_35598_fuse
2022-11-09 11:47:46 +00:00
vdimir
14e8daf078
revert removing fuse_sum_count ast optimization
2022-11-09 11:47:43 +00:00
vdimir
7daf5200f0
better code in FuseFunctionsPass.cpp
2022-11-09 11:47:17 +00:00
vdimir
97e7c505ad
Support optimize_syntax_fuse_functions for sum/count/avg via analyzer
2022-11-09 11:47:15 +00:00
Alexander Tokmakov
1c6a617207
Merge branch 'master' into fix_intersecting_parts2
2022-11-09 14:38:18 +03:00
Maksim Kita
768ada118b
Analyzer AST key condition crash fix
2022-11-09 11:41:39 +01:00
Vladimir C
82bf992099
Merge pull request #42869 from zhongyuankai/optimze_ttl_merge
2022-11-09 11:26:46 +01:00
flynn
592f6b31d9
fix and add test
2022-11-09 10:04:53 +00:00
flynn
1a8dd85a48
Update src/TableFunctions/TableFunctionDelta.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-11-09 17:11:20 +08:00
flynn
b7cb7ab6db
Update src/TableFunctions/TableFunctionDelta.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-11-09 17:11:11 +08:00
flynn
75d3907e79
Update src/TableFunctions/TableFunctionDelta.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-11-09 17:10:57 +08:00
flynn
9022baeab5
Merge branch 'master' into hudi-udtf
2022-11-09 16:24:35 +08:00
flynn
5eafe3fc46
fix comment
2022-11-09 08:03:32 +00:00
flynn
ee856fc458
Add table function hudi and deltaLake
2022-11-09 08:01:05 +00:00
李扬
9b2dd49b4a
Merge branch 'master' into enable_max_splits
2022-11-09 15:31:06 +08:00
SmitaRKulkarni
1c1432c11f
Merge pull request #42827 from ClickHouse/42452_Bug_fix_parent_node_corrupted
...
42452 Bug fix for parent node corrupted
2022-11-09 08:11:22 +01:00
Duc Canh Le
b9a3d090ed
use const string &
2022-11-09 13:07:24 +08:00
Nikolay Degterinsky
2720cddeec
Add support for interactive parameters in INSERT VALUES queries
2022-11-09 04:28:02 +00:00
Duc Canh Le
901e1e2fef
better logging for mark range filtering on projection parts
2022-11-09 12:01:51 +08:00
alesapin
761274d857
Fix wrong logic
2022-11-09 01:14:03 +01:00
Nikolay Degterinsky
2ae9a3581e
Merge pull request #42979 from evillique/fix-parser-3
...
Try to fix lambda parsing
2022-11-09 01:13:56 +01:00
Igor Nikonov
345304abe0
Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry
2022-11-08 20:26:50 +00:00
Nikolai Kochetov
5a3d4cd72e
Fix typos. Add comments.
2022-11-08 19:57:29 +00:00
Maksim Kita
e0f1fd93f3
Updated tests
2022-11-08 18:25:13 +01:00