Commit Graph

8390 Commits

Author SHA1 Message Date
alesapin
fe7f21acf9
Merge pull request #31697 from ClickHouse/fix_31686
Fix parsing of domain data types
2021-11-25 11:31:41 +03:00
alesapin
072b4a3ba6
Merge pull request #31714 from Algunenano/02112_timezone
Make 02112_with_fill_interval independent of the server timezone
2021-11-25 11:30:29 +03:00
Vladimir C
e835671c88
Merge pull request #31624 from nicelulu/fix_sparkbar 2021-11-25 11:01:25 +03:00
alexey-milovidov
4082c6c4e5
Merge pull request #31713 from Algunenano/02050_clean_files
02050: Use CLICKHOUSE_TMP and delete files when finished
2021-11-25 05:02:34 +03:00
alexey-milovidov
02c270663b
Merge pull request #31720 from Algunenano/02010_lc_native_ids
02010_lc_native: Generate a new id for each query
2021-11-25 05:01:08 +03:00
alexey-milovidov
99a40d171d
Merge pull request #31721 from Algunenano/flaky_00623
00623_replicated_truncate_table_zookeeper_long: Wait for truncate in replicas
2021-11-25 05:00:53 +03:00
alexey-milovidov
423d497b27
Merge pull request #31742 from CurtizJ/fix-map
Fix usage of `Buffer` table engine with type `Map`
2021-11-25 04:56:37 +03:00
Anton Popov
37350e007c fix mutate of ColumnMap 2021-11-25 00:05:08 +03:00
tavplubix
bebee01b34
Merge pull request #31638 from ClickHouse/fix_rename_dictionary
Fix rename dictionary
2021-11-24 20:25:35 +03:00
Raúl Marín
b6c4683e68 00623_replicated_truncate_table_zookeeper_long: Wait for truncate in replicas 2021-11-24 17:40:46 +01:00
Raúl Marín
c65d904d37 02010_lc_native: Generate a new id for each query 2021-11-24 17:19:59 +01:00
Raúl Marín
a94140725a Make 02112_with_fill_interval independent of the server timezone 2021-11-24 16:59:58 +01:00
Raúl Marín
8b36d18186 02050: Use CLICKHOUSE_TMP and delete files when finished 2021-11-24 16:07:49 +01:00
Alexander Tokmakov
e5972e6f71 fix 2021-11-24 15:44:04 +03:00
alesapin
646cf38213
Merge pull request #28981 from JackyWoo/add_4_letter_words_commands
Add four letter commands to keeper
2021-11-24 13:32:36 +03:00
Alexander Tokmakov
9237b251d5 allow rename dict in Ordrinary, fix another issue 2021-11-23 20:53:45 +03:00
Kruglov Pavel
b63b47f0f0
Merge pull request #31265 from Avogar/fix-write-buffers
Fix and refactor WriteBiffer-s a little
2021-11-23 16:46:09 +03:00
alexey-milovidov
341f705419
Merge pull request #30599 from ClickHouse/zlib-ng-own-cmake
Use our own CMakeLists for `zlib-ng`, `cassandra`, `mariadb-connector-c` and `xz`, `re2`, `sentry`, `gsasl`, `arrow`, `protobuf`.
2021-11-23 13:33:29 +03:00
tavplubix
667dbef4a0
Merge branch 'master' into fix_rename_dictionary 2021-11-22 18:48:22 +03:00
Alexander Tokmakov
d56950a207 fix rename dictionary 2021-11-22 18:41:35 +03:00
alesapin
35de9e42d9
Merge branch 'master' into add_4_letter_words_commands 2021-11-22 18:02:02 +03:00
mergify[bot]
a9c1fd1647
Merge branch 'master' into fix-write-buffers 2021-11-22 13:59:31 +00:00
Anton Popov
43cfa4467b
Merge pull request #31476 from CurtizJ/merging-constraints
Merging #18787 (Constraints)
2021-11-22 15:57:59 +03:00
mergify[bot]
a7ba3e23a0
Merge branch 'master' into fix-write-buffers 2021-11-22 11:24:27 +00:00
Kruglov Pavel
814a36ba69
Merge pull request #31434 from Avogar/custom-with-names-and-types
Add formats CustomSeparatedWithNames/WithNamesAndTypes
2021-11-22 13:24:00 +03:00
zhangxiao871
5f10159a7d Fix sparkbars are not aligned. 2021-11-22 18:07:08 +08:00
Nikolai Kochetov
b814f54f50
Merge pull request #31474 from amosbird/projection-improve6
Allow partition column to be used for minmax_count projection
2021-11-22 13:01:57 +03:00
Anton Popov
afe8d3c424 refactor merged index conditions 2021-11-21 22:49:34 +03:00
Alexey Milovidov
d604cf5573 Remove the infamous "unbundled" build 2021-11-21 13:58:26 +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
Kruglov Pavel
d9c1a0c8ec
Merge branch 'master' into fix-write-buffers 2021-11-20 17:48:24 +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
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
Kruglov Pavel
eb1cc834dc
Merge branch 'master' into custom-with-names-and-types 2021-11-19 16:51:25 +03:00
alesapin
583c9a5720
Update shell_config.sh 2021-11-19 16:36:13 +03:00
alesapin
7b7df05e33
Update shell_config.sh 2021-11-19 13:49:04 +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
alesapin
3f8f08e816 Slightly better 2021-11-19 12:30:58 +03:00
Amos Bird
c47ec31617
fix 2021-11-19 11:51:05 +08:00
alexey-milovidov
12a471507e
Merge pull request #31169 from sundy-li/notlike-fix
ISSUES-30801: Remove not like function into RPNElement
2021-11-18 23:40:57 +03:00
alexey-milovidov
b30f9124c0
Merge pull request #31008 from kssenii/sql-json-fix-2
Improve usability of JSON_VALUE
2021-11-18 23:39:17 +03:00
Amos Bird
d1a14d76f1
fix 2021-11-19 02:29:35 +08:00
Amos Bird
c988a4e770
fix again 2021-11-18 23:09:17 +08:00
Anton Popov
69559a4fd9 fix convertion to CNF 2021-11-18 17:54:07 +03:00
kssenii
11ab1f1ae5 Fix 2021-11-18 08:46:31 +00:00