Commit Graph

124724 Commits

Author SHA1 Message Date
Sergei Trifonov
12c71be9ca
Merge branch 'master' into async-loader-integration 2023-09-14 15:29:07 +02:00
Antonio Andelic
ae88bd3da5
Merge pull request #54572 from ClickHouse/fix-install-backup
Fix snapshot install in Keeper
2023-09-14 14:44:45 +02:00
Ilya Yatsishin
67e6725284
Merge pull request #54622 from ClickHouse/vdimir/cluster_discovery_doc
Add cluster discovery documentation
2023-09-14 14:00:07 +02:00
Kseniia Sumarokova
eeb2c5b223
Merge pull request #53220 from valbok/double-to-single
MaterializedMySQL: Introduce Character Set Introducers
2023-09-14 13:18:08 +02:00
vdimir
10bcc028df
Add cluster discovery documentation 2023-09-14 11:16:09 +00:00
Nikita Taranov
079b52fa93
[Resubmit] Remove mmap/mremap/munmap from Allocator.h (#52792)
* Revert "Revert "Remove `mmap/mremap/munmap` from Allocator.h" (#52589)"

This reverts commit 0a838dc6d1.

* pre-fault pages

* upd contrib to merge commit

* limit log rate

* Update Allocator.h

---------

Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-09-14 13:11:12 +02:00
Nikita Taranov
bdb52eefc4
Fix race in ColumnUnique.h (#54575) 2023-09-14 12:55:08 +02:00
serxa
f2900e92c3 fix spell check 2023-09-14 10:46:07 +00:00
Robert Schulze
a9ae813db0
Merge pull request #54115 from slvrtrn/simplified-prepared-statements-for-mysql
Implement the MySQL binary protocol implementation for initial support of Tableau Online
2023-09-14 12:27:11 +02:00
Antonio Andelic
6306180333
Merge pull request #53049 from ClickHouse/keeper-batch-flushes
Try batching multiple flush requests in Keeper
2023-09-14 11:39:33 +02:00
Antonio Andelic
86d3d16539 Merge branch 'master' into fix-install-backup 2023-09-14 07:07:15 +00:00
Val Doroshchuk
6cfbaf9f86 MaterializedMySQL: Introduce Character Set Introducers
If some string literals are used in DDL, they might have `Character Set Introducers`
https://dev.mysql.com/doc/refman/8.0/en/charset-introducer.html
f.e. _utf8mb4'1' which is not parsable by current ParserStringLiteral.

Since we use utf8 by default, suggesting to automatically convert the string literals to utf8
before executing the query and avoid any charset introducers there.
Conversion from utf8 to utf8 is not needed and skipped.

Also it might convert double quotes to single quotes if any
which might solve issues with COMMENT and empty string literals "" in DEFAULT expressions.

SELECT _latin1"abc"; -- might be also valid for MySQL
... DEFAULT "",
... COMMENT "abc"

Currently no DEFAULT expressions are supported, not parsable at all,
but using this MR it allows to parse the expressions together with double quotes as string literals.
2023-09-14 08:24:25 +02:00
Alexey Milovidov
b4f9d8a517
Merge pull request #54601 from nickitat/fix_col_decimal_serialization
Fix serialization of `ColumnDecimal`
2023-09-14 04:54:00 +03:00
Alexey Milovidov
9be779beca
Update 02875_fix_column_decimal_serialization.sql 2023-09-14 04:53:17 +03:00
Alexey Milovidov
d23daca082
Merge pull request #54616 from ClickHouse/revert-54547-keeper-non-interactive-confirm
Revert "Add stateless test for clickhouse keeper-client --no-confirmation"
2023-09-14 04:43:38 +03:00
Alexey Milovidov
02adae79e0
Revert "Add stateless test for clickhouse keeper-client --no-confirmation" 2023-09-14 04:43:23 +03:00
robot-clickhouse-ci-2
e111d4abd3
Merge pull request #54610 from CurtizJ/fix-after-refactoring
Fix reading of virtual columns in reverse order
2023-09-14 03:38:27 +02:00
slvrtrn
44e1f6b53d Fix LowCardinality/Nullable columns issues 2023-09-13 23:40:31 +02:00
Anton Popov
df2d1ed638 fix reading of virtual columns in reverse order 2023-09-13 21:09:49 +00:00
Alexey Milovidov
aaa7025b1a
Merge pull request #54603 from fionera/use-env
use env to find bash
2023-09-13 23:50:55 +03:00
serxa
fabd23339d fix style 2023-09-13 19:38:26 +00:00
serxa
2920f04fff do CREATE query async 2023-09-13 19:34:18 +00:00
serxa
93cf15dba2 add explanations for helper functions 2023-09-13 19:33:15 +00:00
Kruglov Pavel
27df9b008e
Merge pull request #54370 from arthurpassos/arrow_parquet_account_for_monotonically_increasing_offsets_across_batches
Account for monotonically increasing offsets across multiple batches on arrow-CH conversion
2023-09-13 19:58:48 +02:00
slvrtrn
c0961d9378 Merge remote-tracking branch 'origin' into simplified-prepared-statements-for-mysql 2023-09-13 19:33:11 +02:00
slvrtrn
007a75c0ac PR review 2023-09-13 19:33:05 +02:00
Nikolay Degterinsky
140a466a1e
Merge pull request #54400 from evillique/adddate-function
Add `addDate` function for compatibility with MySQL
2023-09-13 18:59:26 +02:00
Tim Windelschmidt
7979090333 use env to find bash 2023-09-13 18:57:11 +02:00
Nikita Taranov
c54a171c6f impl 2023-09-13 17:55:59 +02:00
Robert Schulze
59cded9d84
Merge pull request #54563 from rschu1ze/issue-54541
Fix AST fuzzer crash in MergeTreeIndex{FullText|Inverted}
2023-09-13 16:29:06 +02:00
Alexander Tokmakov
a365557d9e
Merge pull request #54550 from ClickHouse/fix_zero_copy_garbage
Fix zero copy garbage
2023-09-13 15:02:05 +02:00
serxa
28e65883aa rename settings 2023-09-13 12:22:46 +00:00
alesapin
e8055ba509
Merge pull request #54549 from ClickHouse/fix_redundant_checksums_doesnt_match_error
Fix rare case of CHECKSUM_DOESNT_MATCH error
2023-09-13 13:02:50 +02:00
Arthur Passos
10c368f40a attempt to make test faster 2023-09-13 07:25:55 -03:00
Antonio Andelic
1c18f6c21d Use log idx for applyUncommittedState 2023-09-13 10:13:02 +00:00
vdimir
77dd2a556a
Merge pull request #52870 from Avogar/fix-misleading-error
Fix misleading error message in OUTFILE with CapnProto/Protobuf
2023-09-13 11:30:04 +02:00
Robert Schulze
8c7a256632
Fix full text index fix 2023-09-13 07:57:48 +00:00
Robert Schulze
e69c1c2f9a
Fix inverted index fix 2023-09-13 07:56:35 +00:00
Alexey Milovidov
8d786cab33
Merge pull request #54566 from ClickHouse/revert-52645-optimize_uniq_to_count
Revert "Optimize uniq to count"
2023-09-13 09:14:24 +03:00
Alexey Milovidov
bd4aec0601
Revert "Optimize uniq to count" 2023-09-13 09:14:06 +03:00
Alexey Milovidov
f9af05f472
Merge pull request #54554 from rschu1ze/clang-format
clang-format: Disable namespace indentation and omit {} in if/for/while
2023-09-13 07:50:14 +03:00
pufit
2ddaa2f47f
Merge pull request #54547 from azat/keeper-non-interactive-confirm
Add a stateless test for keeper-client
2023-09-12 23:41:38 -04:00
pufit
7ea6f7bebc
Merge pull request #54551 from ClickHouse/pufit/keeper-client-tests-update-timeout
Increase default timeout in tests for keeper-client
2023-09-12 20:41:48 -04:00
robot-ch-test-poll4
c26c5a0726
Merge pull request #54555 from ClibMouse/z_ngram_fix
ngramDistance* queries fix for big endian platform
2023-09-13 02:35:26 +02:00
Nikolay Degterinsky
e648646598 Fixes 2023-09-12 23:11:58 +00:00
Robert Schulze
28068f11e1
Fix #54541 2023-09-12 21:23:23 +00:00
Arthur Passos
da8caeffd2 Merge branch 'master' into arrow_parquet_account_for_monotonically_increasing_offsets_across_batches 2023-09-12 17:50:36 -03:00
alesapin
18ab92eb4f Fix style 2023-09-12 21:57:46 +02:00
Suzy Wang
b90dd62409 ngramDistance* queries fix for big endian platform 2023-09-12 12:55:08 -07:00
alesapin
e17a824fec Fxi 2023-09-12 21:42:32 +02:00