Commit Graph

124815 Commits

Author SHA1 Message Date
János Benjamin Antal
33eeb0737f Fix style errors 2023-09-14 10:23:26 +00: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
Andrey Zvonov
ff16ddbbb3
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix 2023-09-14 11:31:49 +03: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
lgbo-ustc
e8d217634e improve json sql functions by serilizing data into column direclty 2023-09-14 12:41:17 +08:00
bakam412
c5c3833a80 fix tests 2023-09-14 11:12:44 +08: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
János Benjamin Antal
462f4111de Turn PoC into real script without calling release.py 2023-09-13 23:33:04 +00:00
slvrtrn
44e1f6b53d Fix LowCardinality/Nullable columns issues 2023-09-13 23:40:31 +02:00
Yarik Briukhovetskyi
15409ff172
Merge branch 'ClickHouse:master' into arr_scalar_mult_div_modulo 2023-09-14 00:34:30 +03: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
HarryLeeIBM
45b06d275d Trigger Build 2023-09-13 13:20:51 -07:00
yariks5s
0fff859bf1 added impl of mult div and modulo 2023-09-13 18:35:07 +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
robot-clickhouse
94b6d9ed05 Automatic style fix 2023-09-13 17:16:17 +00:00
János Benjamin Antal
84e311321d Add basic logic to find releasable commits 2023-09-13 17:05:31 +00: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
Max Kainov
4cc013b918 fix formatting 2023-09-13 16:35:56 +00:00
Nikita Taranov
c54a171c6f impl 2023-09-13 17:55:59 +02:00
Salvatore Mesoraca
eb9018a427
Restart CI 2023-09-13 17:51:34 +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
Sema Checherinda
8a9b544a97
Merge branch 'master' into optimize_all_lonely_parts 2023-09-13 16:07:19 +02:00
avogar
1480c8ad30 Place setting into separate struct 2023-09-13 13:19:05 +00: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
Max Kainov
15094e58c9 Merge branch 'master' into parallelize_insert_from_infile_by_file 2023-09-13 12:17:08 +00:00
Kruglov Pavel
f265514ced
Remove output_format_markdown_escape_special_characters from settings changes history 2023-09-13 14:09:34 +02:00
HarryLeeIBM
735039673a Fix UInt256 and IPv4 random data generation on s390x 2023-09-13 04:55:02 -07: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
f552194166
Even more UB safety 2023-09-13 08:30:02 +00: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
bakam412
7f52704383 Fix local_multiquery_parameter and fix unit tests 2023-09-13 10:02:14 +08: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