Vitaly Baranov
be44743ebe
Don't throw in unexceptional cases: update().
2021-12-20 23:10:46 +03:00
Vitaly Baranov
ed94c640fa
Don't throw in unexceptional cases: remove().
2021-12-20 23:10:43 +03:00
Vitaly Baranov
551fcc55e8
Don't throw in unexceptional cases: insert().
2021-12-20 23:09:55 +03:00
Vitaly Baranov
8c4e689da3
Don't throw in unexceptional cases: read() & readName()
2021-12-20 21:26:35 +03:00
Vitaly Baranov
a87f0b483e
Replace function IAccessStorage::canInsert() with isReadOnly().
2021-12-20 21:26:35 +03:00
Vitaly Baranov
6721060649
Rename function IAccessStorage::login() -> IAccessStorage::authenticate().
...
Remove functions IAccessStorage::hasSubscriptionImpl() and IAccessStorage::existsImpl().
2021-12-20 21:26:27 +03:00
Vitaly Baranov
c01d0f95c3
Remove the function IAccessStorage::getIDOfLoggedUser() and move its functionality to login(AlwaysAllowCredentials).
2021-12-20 21:24:38 +03:00
alexey-milovidov
2e44c37462
Merge pull request #31604 from murfel/patch-1
...
Update developer-instruction.md: Added the missing --recursive flag
2021-11-21 20:08:59 +03:00
Natasha Murashkina
7eeffc233a
Update developer-instruction.md
...
Added the missing --recursive flag for cloning submodules.
The text says "specify the `--recursive` flag as in the example above" but the flag wasn't there in the example
2021-11-21 16:07:38 +03:00
tavplubix
14cff8cb91
Merge pull request #31527 from ClickHouse/tavplubix-patch-5
...
Do not clean iptables rules in session-scope fixture
2021-11-21 15:05:58 +03:00
alexey-milovidov
faae69f631
Merge pull request #31534 from aiven/kmichel-fix-json-colum-name-encoding
...
Fix invalid JSON in column names
2021-11-21 11:34:33 +03:00
alexey-milovidov
6ef001fce5
Merge pull request #31556 from azat/fix-02010_lc_native
...
Fix 02010_lc_native flakiness (Query with id = 123456 is already running)
2021-11-21 11:33:35 +03:00
alexey-milovidov
4cdb40e3cd
Merge pull request #31565 from azat/fix-MySQLWire
...
Fix MySQLWire format (this will also fix performance tests)
2021-11-21 11:32:53 +03:00
Ilya Yatsishin
571502354d
Merge pull request #31540 from ClickHouse/push_data_to_ci_db
2021-11-21 09:53:31 +03:00
alexey-milovidov
83983cfb29
Merge pull request #31586 from ClickHouse/add-one-more-benchmark
...
Add one more hardware benchmark result
2021-11-21 02:47:30 +03:00
Alexey Milovidov
57ef950b61
Add one more hardware benchmark result
2021-11-21 01:24:28 +03:00
alexey-milovidov
796c76638a
Merge pull request #31574 from ClickHouse/fix-trash
...
Fix broken non-x86 builds
2021-11-21 01:16:44 +03:00
tavplubix
711b738dd1
Merge pull request #31542 from ClickHouse/mutations_remove_multimap
...
Remove strange multimap for mutations in StorageMergeTree
2021-11-20 20:41:49 +03:00
Vitaly Baranov
9a0d98fa6d
Merge pull request #31557 from vitlibar/better-exception-message-wrong-user-hash
...
Better exception message wrong user hash
2021-11-20 19:47:07 +03:00
tavplubix
526044af8a
Merge pull request #31564 from azat/fix-01114_database_atomic
...
Make 01114_database_atomic more stable in debug builds
2021-11-20 18:36:10 +03:00
Alexey Milovidov
e898c6608c
Fix broken non-x86 builds
2021-11-20 15:58:44 +03:00
Azat Khuzhin
6aa94ae032
Fix MySQLWire format (in case of multiple writes)
...
In case of multiple writes File() engine will set doNotWritePrefix(),
and this will avoid serializations initilization, move this to do this
always.
Fixes : #31004
2021-11-20 15:26:21 +03:00
Kevin Michel
edbeeaf6ec
Fix invalid JSON in column names
...
If the column name contains invalid UTF-8 sequences
and the output data types are all considered safe,
then the output will not be sanitized and the generated
JSON will be invalid.
A minimal reproduction case is :
`SELECT length('\x80') FORMAT JSONCompact`
where we auto-generate a non-UTF-8 column name with only
integer outputs, whereas :
`SELECT '\x80' FORMAT JSONCompact`
would be sanitized because the column type is String and
will trigger UTF-8 sanitization over the entire document.
2021-11-20 12:35:41 +01:00
Azat Khuzhin
71a691e9ab
Make 01114_database_atomic more stable in debug builds
...
By reducing number of clickhouse-client invocation, since it is pretty
heavy in debug builds.
2021-11-20 14:27:34 +03:00
Vladimir C
4498aecaf6
Merge pull request #31528 from vdimir/disable_partial_merge_join_left_table_buffer_bytes
2021-11-20 13:11:35 +03:00
Vitaly Baranov
57ac39f99e
Add more information to exceptions raised by UsersConfigAccessStorage.
2021-11-20 12:10:45 +03:00
Azat Khuzhin
fbaa6804c2
Fix 02010_lc_native flakiness (Query with id = 123456 is already running)
2021-11-20 10:25:12 +03:00
Azat Khuzhin
c70cc62b5f
Add more checks in 02010_lc_native
2021-11-20 10:25:10 +03:00
Alexey Milovidov
9ca5c960b7
Remove useless code
2021-11-20 10:06:28 +03:00
Alexey Milovidov
334535a4c4
Better exception message when users.xml cannot be loaded due to bad password hash
2021-11-20 10:06:20 +03:00
Vitaly Baranov
940b5edbd7
Merge pull request #31509 from vitlibar/split-row-policy-and-quota-headers
...
Split row policy and quota headers
2021-11-20 10:01:18 +03:00
Vitaly Baranov
0684b28377
Merge pull request #31337 from sunny19930321/fix-use-quota-bug
...
fix: quota limit was not reached, but the limit was exceeded
2021-11-20 09:52:24 +03:00
alexey-milovidov
233756bc56
Merge pull request #31555 from ClickHouse/add-benchmark-p15
...
Add benchmark from @felixoid
2021-11-20 07:37:49 +03:00
Alexey Milovidov
eb931ad767
Add benchmark from @felixoid
2021-11-20 06:49:01 +03:00
tavplubix
67753e5b83
Update StorageMergeTree.cpp
2021-11-19 20:05:45 +03:00
Alexander Tokmakov
8d7413b0d6
remove strange multimap from mutations
2021-11-19 19:54:43 +03:00
Ivan Blinkov
8b6bcfdc0a
[website] update hero button ( #31508 )
2021-11-19 19:17:12 +03:00
Kruglov Pavel
4856b50c23
Merge pull request #31409 from excitoon-favorites/s3envsegfaults
...
Resolve `nullptr` in STS credentials provider for S3
2021-11-19 18:45:38 +03:00
alesapin
9179c10d14
Fix style
2021-11-19 18:42:56 +03:00
alesapin
466df39bd4
Followup
2021-11-19 18:24:39 +03:00
alesapin
27aec2487b
Merge pull request #31536 from pkit/improve_ci
...
remove hardcoded CI values
2021-11-19 18:15:21 +03:00
alesapin
d69c9f951e
Fix
2021-11-19 18:09:18 +03:00
alesapin
f62a34e808
Fix typo
2021-11-19 17:56:54 +03:00
alesapin
308cc722f3
Push tests results to CI database
2021-11-19 17:47:04 +03:00
Constantine Peresypkin
315e793e6c
remove hardcoded CI values
2021-11-19 14:58:26 +02:00
tavplubix
f5c85129cf
Merge pull request #31219 from karnevil13/karnevil-DOCSUP-17584
...
DOCSUP-17584: Edit and translate to Russian (ALTER TABLE FETCH/ATTACH in Replicated databases)
2021-11-19 15:14:23 +03:00
Kseniia Sumarokova
0c0eaa9ad7
Merge pull request #31532 from gtors/patch-1
...
typo in PostgreSQL
2021-11-19 14:40:23 +03:00
Andrey Torsunov
7f25ac0598
typo in PostgreSQL
2021-11-19 14:37:10 +03:00
SuperDJY
dd2972b8c3
return fake create query when executing show create table
on system's tables. ( #31391 )
...
* clarify that cannot show create table of system's tables
* clarify that cannot show create table of system's tables in the document
* bypass test style-check for required `database=currentDatabase()` because `show create table` do not have condition
* rename supportsShowCreateTable to isSystemStorage
* build fake create query for show create table of system's tables
* fix tests for show create table on system's table:
1. only build fake create query when cannot get real query
2. only test rocksdb when it's enabled.
* fix test for show create table system.tables
* fix test for ASTCreateQuery set table and database
* change to LOGICAL_ERROR when cannot get in_memory metadata
Co-authored-by: tavplubix <tavplubix@gmail.com>
* implement common getCreateQueryFromStorage
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-11-19 13:25:55 +03:00
vdimir
2e0d3efba0
disable partial_merge_join_left_table_buffer_bytes
due to bug
2021-11-19 12:59:23 +03:00