Commit Graph

77522 Commits

Author SHA1 Message Date
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
Kruglov Pavel
d9c1a0c8ec
Merge branch 'master' into fix-write-buffers 2021-11-20 17:48:24 +03:00
Azat Khuzhin
dd7f780978 Fix Progress for short INSERT SELECT queries
Note, that we cannot send Progress for regular INSERT (w/ VALUES) w/o
breaking protocol compatibility, but it can be done by increasing
revision.
2021-11-20 16:41:35 +03:00
Azat Khuzhin
0b4d855c08 Reduce copy-paste in TCPHandler::processInsertQuery() 2021-11-20 16:41:35 +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
Dmitriy
6dd3bbbc2e Add the link
Добавил ссылку.
2021-11-20 15:17:48 +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
Alexey
122b42c36a Formatting updated. Spelling fix.
2 paragraphs reordered.
2021-11-20 08:44:36 +00: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
Alexey
ef6443f3f5 Translated paragraph about NULL from ru to en.
Copied corresponding example
2021-11-19 19:21:50 +00:00
Dmitriy
6c58e7ad7b Translate to Russian 2021-11-19 20:31:34 +03:00
tavplubix
67753e5b83
Update StorageMergeTree.cpp 2021-11-19 20:05:45 +03:00
sevirov
e40c7017b4
Update docs/en/interfaces/formats.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
2021-11-19 20:02:43 +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
Anton Popov
099c40d251 fix tests 2021-11-19 17:14:56 +03:00
Kruglov Pavel
fdd1f53d3a
Update CustomSeparatedRowOutputFormat.h 2021-11-19 16:52:48 +03:00
Kruglov Pavel
3070bf1e4d
Update CustomSeparatedRowOutputFormat.cpp 2021-11-19 16:52:31 +03:00
Kruglov Pavel
cded91b013
Update verbosePrintString.h 2021-11-19 16:51:49 +03:00
Kruglov Pavel
eb1cc834dc
Merge branch 'master' into custom-with-names-and-types 2021-11-19 16:51:25 +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
vdimir
f3d0e6d999
remove partial_merge_join_optimizations
this option is redundant because optimization is controlled by partial_merge_join_left_table_buffer_bytes
2021-11-19 12:58:46 +03:00
tavplubix
9114bc8b9a
Update conftest.py 2021-11-19 12:48:08 +03:00
alexey-milovidov
73ee28c364
Merge pull request #31507 from ClickHouse/add-gcp-benchmark
Add hardware benchmark from GCP
2021-11-19 10:01:23 +03:00
alexey-milovidov
2e6864f6ec
Merge pull request #31516 from depyronick/master
added clickhouse-client library
2021-11-19 07:44:44 +03:00
alexey-milovidov
915a701e8f
Merge pull request #31522 from achimbab/update_adopter
Update links in adopters.md
2021-11-19 07:43:10 +03:00