Commit Graph

101802 Commits

Author SHA1 Message Date
Han Fei
4eb97c77a0 introduce new settings "async_insert_max_query_number" 2022-11-24 16:31:16 +01:00
Han Fei
28564df6f1
Merge branch 'master' into hanfei/aysnc-insert 2022-11-24 09:12:43 +01:00
Azat Khuzhin
eea32a3beb
Make insertRangeFrom() more exception safe (#43338)
* Make ColumnArray::insertRangeFrom() more safe

This should avoid possible out of sync and LOGICAL_ERROR exception
'offsets_column has data inconsistent with nested_column.'

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Make ColumnString::insertRangeFrom() more exception safe

Otherwise it is possible for offsets and chars go out of sync and
eventually you will get LOGICAL_ERROR exception
'String offsets has data inconsistent with chars array'

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-23 23:41:14 +01:00
Alexander Tokmakov
f0fc71f09f
Merge pull request #43489 from azat/drop-fix
Avoid possible DROP hung due to attached web disk
2022-11-23 23:54:55 +03:00
Han Fei
d0f5fcdf09 update ut and refine logs 2022-11-23 21:07:59 +01:00
Dan Roscigno
b2b4e1017f
Merge pull request #43363 from CamiloSierraH/patch-6
ATTACH query ignores the SELECT query on MV
2022-11-23 11:35:15 -05:00
Dan Roscigno
31f346e2e5
Merge pull request #43330 from CamiloSierraH/patch-5
adding one link and note about disk usage for projections
2022-11-23 11:32:56 -05:00
Camilo Sierra
ca3f819401
Update docs/en/sql-reference/statements/create/view.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-11-23 16:53:21 +01:00
Dan Roscigno
0e0fef4f51
Merge branch 'master' into patch-6 2022-11-23 10:41:39 -05:00
Dan Roscigno
02a0d4f2e5
Update docs/en/sql-reference/statements/alter/projection.md 2022-11-23 10:39:10 -05:00
Sema Checherinda
6040e35949
Merge pull request #43504 from CheSema/create-parser-fuzzer-stack-overflow
check ast limits for create_parser_fuzzer
2022-11-23 15:15:17 +01:00
Alexey Milovidov
0076109654
Merge pull request #43535 from bit-ranger/master
Update kafka.md to correct link address
2022-11-23 14:50:07 +01:00
Alexey Milovidov
59cd6abf7d
Merge pull request #43538 from gingerwizard/diag_sec
bump lib for diag
2022-11-23 14:48:34 +01:00
Alexander Tokmakov
52de0423bf
Merge pull request #43571 from ClickHouse/revert-43404-part.log.uuid
Revert "Add table_uuid to system.parts"
2022-11-23 16:42:16 +03:00
Alexander Tokmakov
c0133199c8
Revert "Add table_uuid to system.parts" 2022-11-23 16:41:43 +03:00
Alexander Tokmakov
672b2a2325
Merge pull request #43401 from ClickHouse/revert_SingleValueDataString_followup
Fix mess with signed sizes in SingleValueDataString
2022-11-23 16:21:58 +03:00
Alexander Tokmakov
81abb2036e
Merge pull request #43514 from ClickHouse/add_test_singledatavalue
Add another test for SingleDataValueString
2022-11-23 15:05:08 +03:00
Alexander Gololobov
1dec7910c3
Merge pull request #43336 from azat/buffer/fix-rollback
Fix possible "No column to rollback" logical error during INSERT into Buffer
2022-11-23 13:00:32 +01:00
Alexander Tokmakov
72d1089745
Merge pull request #43550 from ClickHouse/tavplubix-patch-7
Disable broken 00176_bson_parallel_parsing
2022-11-23 14:58:32 +03:00
Alexander Tokmakov
a2c53a56c2
Update 00176_bson_parallel_parsing.sh 2022-11-23 14:57:13 +03:00
Igor Nikonov
6ef83f455c
Merge pull request #43410 from ClickHouse/igor/fix-distinct-limitby-limit
Fix: limit hint for DISTINCT ignores LIMIT BY
2022-11-23 12:43:15 +01:00
Han Fei
3125aca59d disable keeper fault injection 2022-11-23 12:37:00 +01:00
Alexander Tokmakov
a58e10298c
Merge pull request #43542 from ClickHouse/tavplubix-patch-7
Temporarily disable `test_hive_query`
2022-11-23 14:12:03 +03:00
Alexander Tokmakov
f44eb4e021
Update test.py 2022-11-23 14:10:49 +03:00
Nikolay Degterinsky
ad11b73218
Merge pull request #43540 from Nyantechnolog/patch-1
doc fix
2022-11-23 12:07:38 +01:00
Kseniia Sumarokova
c81257c7e2
Merge pull request #43442 from kssenii/fix-progress-from-stdin
Show read rows for reading from stdin in client
2022-11-23 11:23:16 +01:00
Maksim Kita
43a451d55e
Merge pull request #43321 from kitaisreal/analyzer-small-fixes
Analyzer small fixes
2022-11-23 13:19:32 +03:00
Sidorov Pavel
51dac6ac7a
doc fix 2022-11-23 12:33:25 +03:00
Dale McDiarmid
60f7a40c0b bump lib for diag 2022-11-23 09:25:58 +00:00
bit-ranger
c6946d96a1
Update kafka.md 2022-11-23 16:30:53 +09:00
Sema Checherinda
4820cfbb91 check ast limits for create_parser_fuzzer 2022-11-23 00:46:27 +01:00
Maksim Kita
db1b971643
Merge pull request #43451 from ClickHouse/explain-query-tree-run
Set run_passes to 1 by default
2022-11-23 01:30:49 +03:00
Alexey Milovidov
26d7b234b7
Merge pull request #43166 from azat/build/libcxx-only-for-cxx
Do not include libcxx library for C
2022-11-22 20:11:07 +01:00
Alexey Milovidov
25780be0c6
Merge pull request #42265 from taofengliu/group_by_all
Support GROUP BY ALL
2022-11-22 20:08:23 +01:00
Alexey Milovidov
8cb34913a1
Merge pull request #42461 from Enmk/ldap_fix_search_limit
fix LDAP in case of many roles on user
2022-11-22 20:05:14 +01:00
Alexey Milovidov
b6fd28cd85
Merge pull request #43409 from azat/local/fix-uaf
Fix possible heap-use-after-free in local if history file cannot be created
2022-11-22 19:27:08 +01:00
Alexey Milovidov
c23b8c69db
Merge pull request #42791 from azat/fix-pe-overflow
Fix incorrect UserTimeMicroseconds/SystemTimeMicroseconds accounting
2022-11-22 19:22:51 +01:00
Alexey Milovidov
75dbd6828a
Merge pull request #43082 from Algunenano/werror_base
Add global flags to base/ libraries
2022-11-22 19:18:44 +01:00
Alexey Milovidov
f42be5ffd3
Merge pull request #43275 from azat/build/sanitize-targets
Sanitize thirdparty libraries for public flags
2022-11-22 19:18:26 +01:00
Alexander Tokmakov
d52870fe90 add a test with weird strings 2022-11-22 18:57:47 +01:00
Alexey Milovidov
7dae1b08c6
Merge pull request #43448 from ClickHouse/modify-test
Modify test slightly
2022-11-22 18:31:00 +01:00
Alexey Milovidov
0165f56a5c
Merge pull request #43435 from ClickHouse/fix-flaky-test-3
Fix flaky test
2022-11-22 18:30:39 +01:00
Alexey Milovidov
c8b068b4ff
Merge pull request #43447 from ClickHouse/netlink-remove-noise
Remove noise from logs about NetLink in Docker
2022-11-22 18:29:43 +01:00
Alexey Milovidov
ae8391c5dc
Merge pull request #43436 from ClickHouse/fix-bc-check
Fix backward compatibility check
2022-11-22 18:08:59 +01:00
Alexander Gololobov
c636c323ea
Merge pull request #43400 from socketpair/sd_notify
Fix #8685 - added systemd sd_notify implementation
2022-11-22 18:07:50 +01:00
Han Fei
4bf20d500c fix tests 2022-11-22 17:27:01 +01:00
Kseniia Sumarokova
cef9e5108e
Merge pull request #43325 from kssenii/named-collections-access-fix
Restrict default access to show named collections
2022-11-22 16:51:17 +01:00
Kseniia Sumarokova
d9975c9d13
Update .reference 2022-11-22 16:50:10 +01:00
Alexander Tokmakov
fc15ae95a4
Merge branch 'master' into revert_SingleValueDataString_followup 2022-11-22 17:52:38 +03:00
Han Fei
32c7fbec55 use another dedup path for async inserts 2022-11-22 15:12:00 +01:00