Commit Graph

1446 Commits

Author SHA1 Message Date
Alexey Milovidov
a10eddecef
Merge pull request #59697 from ClickHouse/check-stack-size-in-parser
Check stack size in Parser
2024-02-19 11:33:04 +01:00
Alexey Milovidov
df48106cd5
Merge pull request #60015 from azat/values-quote-escape
Fix INSERT into SQLite with single quote (by escaping single quotes with a quote instead of backslash)
2024-02-19 10:37:45 +01:00
Alexey Milovidov
6fd563df52 Miscellaneous 2024-02-19 02:58:51 +01:00
Azat Khuzhin
bbe38a3fe4 Add ability to escape quotes in Values format with single quote
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-15 12:47:29 +01:00
Alexey Milovidov
d3fdd97891 The code should not be complex 2024-02-15 06:04:45 +01:00
Vitaly Baranov
40ea04faf5 Add check that recursiveRemoveLowCardinality() doesn't change the size of a column. 2024-02-10 21:07:31 +01:00
Raúl Marín
f79a402e6d Add sanity checks for function return types 2024-01-30 14:10:20 +01:00
Kruglov Pavel
6858d2f4ca
Merge pull request #58047 from Avogar/variant-data-type
Implement Variant data type
2024-01-29 11:36:08 +01:00
Anton Popov
9d3b4e5308 lower memory usage 2024-01-27 16:40:11 +00:00
avogar
5833641fa5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-data-type 2024-01-26 16:54:02 +00:00
avogar
7f6784937d Fix 2024-01-25 23:59:24 +00:00
avogar
ff15ab12b8 Remove bad implementation of DataTypeVariant::createColumnConst, support use_variant_as_common_type setting in functions array/map 2024-01-25 21:06:50 +00:00
Robert Schulze
ebdad85c4f
Sort integer aliases 2024-01-23 06:11:47 +00:00
Robert Schulze
6f4c0925ab
Merge pull request #58954 from slvrtrn/mysql-add-signed-unsigned-aliases
MySQL compatibility: add SIGNED/UNSIGNED aliases for Int64/UInt64
2024-01-23 07:01:31 +01:00
Kruglov Pavel
20379d34d5
Merge branch 'master' into variant-data-type 2024-01-19 23:17:42 +01:00
avogar
0c85339ddb Fix style 2024-01-19 10:50:13 +00:00
avogar
7ae631de1e Remove wron check, remove duplicate tests 2024-01-19 10:23:40 +00:00
Alexey Milovidov
6792f72c6b Better error message about tuples 2024-01-19 06:26:11 +01:00
avogar
cfc8c60aa7 Fix build 2024-01-18 21:26:55 +00:00
avogar
3dcc2056a5 Fix conflicts 2024-01-18 20:39:36 +00:00
Kruglov Pavel
5444cde408
Merge branch 'master' into variant-data-type 2024-01-18 18:31:27 +01:00
avogar
f202d71371 Make alter with variant espansion as no-op, add tests for alters 2024-01-18 17:29:36 +00:00
slvrtrn
0ec385064c Add SIGNED/UNSIGNED aliases for Int64/UInt64 2024-01-18 17:28:47 +01:00
avogar
8ac04c6dd8 Address comments 2024-01-18 15:15:57 +00:00
Anton Popov
72b0fed4ef
Merge pull request #58729 from CurtizJ/nested-size0
Fix reading of offsets subcolumn (`size0`) from `Nested`
2024-01-17 17:16:27 +01:00
Anton Popov
b430f3094e fix nested size0 for storage Log 2024-01-15 17:26:44 +00:00
Anton Popov
eb6647d4e8 fix reading of offsets subcolumn from Nested 2024-01-11 21:55:22 +00:00
avogar
9e639df12e Add fixes, add new mode to getLeastSupertype and use it in if/multiIf 2024-01-11 18:44:05 +00:00
kssenii
fada92173b Support Point data type for MySQL 2024-01-11 19:19:08 +01:00
avogar
f05d89bc2b Apply review suggestions 2024-01-11 14:48:57 +00:00
Kruglov Pavel
1deaaf5466
Apply suggestions from code review
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-01-11 15:20:06 +01:00
Kruglov Pavel
633b4a5dcf
Apply suggestions from code review
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-01-09 19:23:34 +01:00
Kruglov Pavel
21e4b453df
Fix pretty type name 2024-01-08 22:02:40 +01:00
Kruglov Pavel
3de5b27c48
Fix conflicts 2024-01-08 16:50:17 +01:00
Kruglov Pavel
b947609b8e
Merge branch 'master' into variant-data-type 2024-01-08 15:04:51 +01:00
Alexey Milovidov
10ebe99fed
Merge branch 'master' into pretty-type-names-default 2024-01-06 22:00:51 +01:00
avogar
7e5ba62017 Allow to read Bool values into String in JSON input formats 2024-01-05 20:33:30 +00:00
Alexey Milovidov
43d7e07118 Merge branch 'pretty-type-names-default' of github.com:ClickHouse/ClickHouse into pretty-type-names-default 2024-01-04 00:39:52 +01:00
Alexey Milovidov
0a4a78f0f2 Merge branch 'master' into pretty-type-names-default 2024-01-04 00:31:47 +01:00
Kruglov Pavel
4d8cf71ba7
Merge branch 'master' into variant-data-type 2024-01-03 15:21:23 +01:00
Alexey Milovidov
74c3b0dff1
Update src/DataTypes/DataTypeTuple.cpp
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2024-01-03 15:55:27 +03:00
Alexey Milovidov
7c5e329cb7 Check what will happen if we only indent named tuples 2024-01-02 23:27:25 +01:00
Kruglov Pavel
c03e36e012
Merge branch 'master' into better-parsing-exceptions 2023-12-29 18:07:32 +01:00
Kruglov Pavel
fbd3f7cd59
Merge pull request #56132 from Avogar/flatten-only-true-nested
Flatten only true Nested type if flatten_nested=1, not all Array(Tuple)
2023-12-28 20:58:28 +01:00
avogar
8b4157141c Fix style 2023-12-27 20:36:10 +00:00
avogar
275fbe3e98 Support function to subcolumns optimization for Variant, better text priority for reading Bool 2023-12-27 20:04:14 +00:00
avogar
5497fa79ed Fix tests 2023-12-27 14:11:53 +00:00
Kruglov Pavel
54320ae19a
Fix typo 2023-12-23 18:27:44 +01:00
avogar
f594ab34f5 Fix special build 2023-12-23 12:56:11 +00:00
avogar
a5e0c45603 Fix possible PARAMETER_OUT_OF_BOUND error during subcolumns reading from wide part in MergeTree 2023-12-23 00:40:10 +00:00