Alexander Tokmakov
894ec8e0d0
less exceptions with runtime format string
2023-08-14 21:45:59 +02:00
jinjunzh
056ca4f555
Add extensive testing cases for deflate qpl codec
2023-06-09 12:42:59 +00:00
AVMusorin
418a61a68c
Allow using Alias column type for KafkaEngine
...
```
create table kafka
(
a UInt32,
a_str String Alias toString(a)
) engine = Kafka;
create table data
(
a UInt32;
a_str String
) engine = MergeTree
order by tuple();
create materialized view data_mv to data
(
a UInt32,
a_str String
) as
select a, a_str from kafka;
```
Alias type works as expected in comparison with MATERIALIZED/EPHEMERAL
or column with default expression.
Ref: https://github.com/ClickHouse/ClickHouse/pull/47138
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2023-05-15 15:39:58 +02:00
Timur Solodovnikov
e58a63b451
addressing PR comments
2023-05-01 16:13:45 -07:00
Timur Solodovnikov
6566ed7863
removed loop & added tests
2023-05-01 13:51:46 -07:00
AVMusorin
0f2ae72141
prohibit DEFAULT/EPHEMERAL/ALIAS in KafkaEngine
2023-03-03 16:25:42 +01:00
Maksim Kita
a12aea45f6
Analyzer matcher resolve fix
2023-02-16 12:17:02 +01:00
Alexander Tokmakov
3f6594f4c6
forbid old ctor of Exception
2023-01-23 22:18:05 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
Alexander Tokmakov
72e8615bec
formatting of some exception messages
2023-01-17 20:03:56 +01:00
Yakov Olkhovskiy
9c24507276
dedicated flag for ephemeral default, make ephemeral accept expression instead of literal
2022-12-11 00:40:35 +00:00
Alexander Tokmakov
4175f8cde6
abort instead of __builtin_unreachable in debug builds
2022-10-07 21:49:08 +02:00
Anton Popov
9dda9658a8
Merge remote-tracking branch 'upstream/master' into HEAD
2022-09-02 12:48:27 +00:00
Kruglov Pavel
8bf78dbc95
Add comment
2022-06-21 14:32:12 +02:00
Anton Popov
1523c9c9e5
fix filling of empty Nested + small refactoring
2022-06-17 01:10:52 +00:00
avogar
a4f378f8c3
Fix ALTER column with column names with dots
2022-06-10 08:58:00 +00:00
avogar
3bad21cea7
Try fix tests
2022-05-20 17:48:24 +00:00
Kruglov Pavel
468954cc87
Remove redundant include
2022-05-19 12:52:33 +02:00
avogar
3c85e8b455
Fix tests
2022-05-18 12:36:13 +00:00
avogar
ce834b1086
Remove code duplication
2022-05-16 14:41:01 +00:00
avogar
2d4b4b9008
Fix inserting defaults for missing values in columnar formats
2022-05-16 14:19:44 +00:00
Azat Khuzhin
bf312c2a5b
Fix ALTER DROP COLUMN of nested column with compact parts
...
ALTER DROP COLUMN of nested column did not requires mutation before, and
so it leaves nested column as-is, and in case of compact parts
subsequent alter, that requires mutation, will trigger READ_COLUMN of
that nested column (because it exists in part), but it will fail because
there is no such column in the table already.
Here is example of such a failure on CI - [1].
[1]: https://s3.amazonaws.com/clickhouse-test-reports/35459/52099b23a1cb9a7ff036c5c60aa037c999b333ef/stateless_tests__thread__actions__[1/3].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 07:12:34 +03:00
Azat Khuzhin
73ddc25e1e
Require mutations for DROP COLUMN by root column name for nested columns
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-29 07:09:34 +03:00
Alexey Milovidov
4d6c030d23
Revert "clang-tidy report issues with Medium priority"
2022-04-04 23:41:42 +03:00
Antonio Andelic
d96b682a55
Refactor
2022-04-04 07:24:42 +00:00
taiyang-li
4547ed370a
add hints for column description
2022-04-04 07:24:42 +00:00
Maksim Kita
a1a4552740
Merge pull request #35184 from DevTeamBK/clang-tidy-issues
...
clang-tidy report issues with Medium priority
2022-03-29 13:19:54 +02:00
Rajkumar
3d3b6d1956
clang-tidy report issues with Medium priority
2022-03-10 07:23:49 -08:00
Anton Popov
df3b07fe7c
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-03 22:25:28 +00:00
Maksim Kita
b1a956c5f1
clang-tidy check performance-move-const-arg fix
2022-03-02 18:15:27 +00:00
Anton Popov
c1fdcf7a64
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-01 20:21:39 +03:00
Azat Khuzhin
644f9168fa
Ignore per-column TTL in CREATE TABLE AS if new table engine does not support it
...
Follow-up for: #6968
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-28 10:29:26 +03:00
Anton Popov
fcdebea925
Merge remote-tracking branch 'upstream/master' into HEAD
2022-02-25 13:41:30 +03:00
Maksim Kita
d6e88f56cd
Merge pull request #34623 from CurtizJ/minor-subcolumns-fix
...
Fix quadratic complexity while adding subcolumns
2022-02-16 12:38:00 +01:00
Anton Popov
e4fddaa03a
fix quadratic complexity while adding subcolumns
2022-02-16 02:42:50 +03:00
Anton Popov
a661eaf39f
better performance of getting storage snapshot
2022-02-16 02:17:22 +03:00
Yakov Olkhovskiy
579fe6c97a
major rework, transform added to the insert pipe
2022-02-13 17:42:59 +00:00
Yakov Olkhovskiy
4d5fb56c29
added EPHEMERAL default for column (preliminary)
2022-02-07 23:21:10 +00:00
Anton Popov
a20922b2d3
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-11-09 15:36:25 +03:00
Anton Popov
4017b1eb89
Update src/Storages/ColumnsDescription.cpp
...
Co-authored-by: Vladimir C <vdimir@clickhouse.com>
2021-09-24 14:08:33 +03:00
Anton Popov
8943389d03
normalize ASTs in ColumnsDescription
2021-09-22 18:55:20 +03:00
Anton Popov
2b58f39c10
dynamic columns: support missed columns in distributed
2021-07-23 19:34:23 +03:00
Anton Popov
a36c387e4e
fix iterating over list
2021-07-21 21:47:20 +03:00
Anton Popov
af65637ca2
fix subcolumns of object
2021-07-21 17:45:19 +03:00
Anton Popov
f99374cca6
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-07-20 18:20:21 +03:00
Anton Popov
9e3af27f40
better performance of getSampleBlockForColumns
2021-07-15 20:36:48 +03:00
Anton Popov
cfdf8fadcf
fix build
2021-07-15 18:31:21 +03:00
Anton Popov
5f71a6f5bb
improve performance of getting columns list
2021-07-15 16:29:01 +03:00
Anton Popov
072e65b728
Merge remote-tracking branch 'origin/sparse-serialization' into HEAD
2021-07-07 17:20:38 +03:00
Maksim Kita
352e1f27ff
Update using Map datatyle in system log tables before merge
2021-06-28 14:42:21 +03:00