Commit Graph

39674 Commits

Author SHA1 Message Date
Anton Popov
e72472e71b
Merge branch 'master' into fix-race-storage-s3 2023-03-30 16:19:57 +02:00
Nikolai Kochetov
a8a28bdf3d Merge branch 'master' into rename-setting-stop_reading_on_first_cancel 2023-03-30 16:07:14 +02:00
Nikolai Kochetov
f870e6f7a9 Rename setting stop_reading_on_first_cancel to partial_result_on_first_cancel. 2023-03-30 14:00:44 +00:00
Yakov Olkhovskiy
79a8bf7375
Merge branch 'master' into imp-use-structure-from-insertion 2023-03-30 09:12:10 -04:00
Robert Schulze
8b2fc8a40a
parseDateTime[InJodaSyntax](): Require format argument
Function parseDateTime[InJodaSyntax]() previously accepted an
(undocumented) default format string. The problem was that
1. there is no "natural" default format
2. MySQL str_to_date() (= the motivation for
   parseDateTime[InJodaSyntax]()) also provides no default format.

--> get rid of the default format
2023-03-30 12:25:55 +00:00
Nikolai Kochetov
ad246d669e Disable AST optimizations for projection analysis. 2023-03-30 12:08:52 +00:00
Robert Schulze
2df32324af
MySQL compatibility: Make str_to_date alias case-insensitive
MySQL doesn't care about the case
2023-03-30 12:06:20 +00:00
Alexander Tokmakov
681d5b25bf
Merge pull request #48208 from ClickHouse/remove-unused-setting
Remove unused setting
2023-03-30 15:02:44 +03:00
Nikolai Kochetov
b3d77c0c30
Merge pull request #48177 from ClickHouse/deprecate-explain-query-tree-with-disabled-analyzer
Deprecate EXPLAIN QUERY TREE with disabled analyzer.
2023-03-30 13:56:40 +02:00
Alexey Milovidov
cb27416d8e
Merge pull request #48102 from ClickHouse/vdimir/25402_storage_merge_explain_graph_crash
Fix crash in explain graph with StorageMerge
2023-03-30 13:54:22 +03:00
Antonio Andelic
b22d3e9136 Remove wrong assert 2023-03-30 10:21:48 +00:00
Alexey Milovidov
103972497b Remove unused setting 2023-03-30 12:07:56 +02:00
taiyang-li
e3f4089f3b fix bugs 2023-03-30 18:00:38 +08:00
Ilya Yatsishin
baabc49f33
Update ParserKQLSort.cpp
Style
2023-03-30 11:01:51 +02:00
Robert Schulze
8354f6d489
Merge branch 'master' into rs/m 2023-03-30 10:56:21 +02:00
Robert Schulze
b0473098c6
Merge branch 'master' into qc-compression 2023-03-30 10:55:42 +02:00
Robert Schulze
47fd1ee06d
Merge pull request #48127 from ClickHouse/rs/sort-show
Sort output of SHOW <INFO> statements
2023-03-30 10:54:23 +02:00
Robert Schulze
d24d1b48df
Merge branch 'master' into varuint-v2 2023-03-30 10:24:58 +02:00
Antonio Andelic
a307e0d95d
Merge pull request #48168 from ClickHouse/logical-optimizer-ignore-nulls
Correctly handle NULL constants in logical optimizer for new analyzer
2023-03-30 10:24:25 +02:00
Alexey Milovidov
50bdea3c76 Fix bug in aggregate functions JIT 2023-03-30 09:57:17 +02:00
Nikolay Degterinsky
8c8c746451
Update FunctionsCodingULID.cpp 2023-03-30 09:04:36 +02:00
Nikolay Degterinsky
870ee4b4f5
Merge pull request #47813 from FrankChen021/query_id
Add `X-ClickHouse-Query-Id` to HTTP response when queries fail to execute
2023-03-30 09:00:03 +02:00
Antonio Andelic
9db58532f4
Clang-tidy fix 2023-03-30 08:41:14 +02:00
Alexey Milovidov
5ca488d70e
Update src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2023-03-30 09:14:52 +03:00
Dmitrii Kovalkov
c984526288 Move functions registration to .cpp 2023-03-30 06:24:18 +03:00
Dmitrii Kovalkov
c82b1d2b59 Move FunctionsJSON.cpp -> .h 2023-03-30 06:24:18 +03:00
taiyang-li
e43780326e wip support map args for map_from_arrays 2023-03-30 11:09:07 +08:00
Nikolay Degterinsky
1bc5489e04
Merge pull request #47895 from evillique/fix-isipv6-function
Fix isIPv6String function
2023-03-30 01:45:08 +02:00
Nikolay Degterinsky
5b53f5ddae
Merge branch 'master' into decode_ulid 2023-03-30 01:37:14 +02:00
Alexey Milovidov
a629fa3ed9
Merge pull request #48162 from ClickHouse/vdimir/remove_unused_from_gtest_transform_query
Remove unused mockSystemDatabase from gtest_transform_query_for_exter…
2023-03-30 01:29:42 +03:00
Alexey Milovidov
e982fb9f1c
Merge pull request #47880 from azat/threadpool-introspection
ThreadPool metrics introspection
2023-03-30 01:27:31 +03:00
Alexey Milovidov
c00a2fc851
Merge pull request #48184 from Avogar/fix-avro
Fix possible member call on null pointer in Avro format
2023-03-30 01:19:44 +03:00
Anton Popov
ed29c141fb fix race in StorageS3 2023-03-29 22:13:45 +00:00
Vitaly Baranov
42c2ccb7cc Support BACKUP ALL command. 2023-03-30 00:11:13 +02:00
Nikita Taranov
460a83feb6
Fix aggregation by partitions (#47634) 2023-03-29 23:59:39 +02:00
Alexey Milovidov
13761fe891
Merge pull request #48133 from ClickHouse/allow-to-skip-errors-of-enums
Allow skipping errors related to unknown enum values in row input formats
2023-03-29 23:20:05 +03:00
Alexander Gololobov
98b3617ce2
Merge pull request #48150 from DimasKovas/fix_stdlib_compatibility
Fix stdlib compatibility issues
2023-03-29 21:29:33 +02:00
avogar
db83dd4e52 Fix possible member call on null pointer in Avro format 2023-03-29 17:33:22 +00:00
Aleksei Filatov
0ac9dcd723 Add allow_distributed_ddl_queries option to the cluster config 2023-03-29 18:15:46 +03:00
Nikolai Kochetov
85795965c0 Deprecate EXPLAIN QUERY TREE with disabled analyzer. 2023-03-29 14:59:01 +00:00
Alexey Milovidov
cc345853e7
Merge pull request #47594 from ClickHouse/decimal256-various
Add specializations for Decimal256 in various places
2023-03-29 17:33:20 +03:00
Frank Chen
87d235e842
Some improvements about names of span logs (#47667) 2023-03-29 16:28:36 +02:00
Yakov Olkhovskiy
739c20abdd clang issue, test 2023-03-29 14:05:31 +00:00
Alexander Tokmakov
c5b6ed410d
Merge pull request #48130 from ClickHouse/support_undrop_table
Merging "Support undrop table"
2023-03-29 16:49:58 +03:00
Vitaly Baranov
481a7a76ac
Simplify backup coordination for file infos (#48095)
* Remove obsolete code for archive suffixes.

* Simplify backup coordination, stop using it for restoring.

* Build all file infos before writing to backup. Decrease number of znodes.

* Split long values before writing to ZooKeeper.

* Use separate mutexes for unrelated activities.

* Make test test_disallow_concurrency less flaky.

* Add comments and test for backup_keeper_value_max_size.
2023-03-29 15:19:40 +02:00
Robert Schulze
b324d0ed5e
Merge branch 'master' into qc-compression 2023-03-29 15:09:22 +02:00
Antonio Andelic
80f0251ff2 better 2023-03-29 12:54:57 +00:00
Antonio Andelic
611e7c6382 Ignore null constants in logical optimizer 2023-03-29 12:37:43 +00:00
Antonio Andelic
44e95aa65f Merge branch 'master' into nosign-keyword-for-s3 2023-03-29 11:10:03 +00:00
Antonio Andelic
7b1ad221b2 Address PR comments 2023-03-29 11:08:44 +00:00
robot-ch-test-poll
04d30a2afb
Merge pull request #48119 from Avogar/avro-more-types
Support more ClickHouse types in Avro format
2023-03-29 13:07:35 +02:00
vdimir
bdc8a47bcf
Remove unused mockSystemDatabase from gtest_transform_query_for_external_database 2023-03-29 11:02:50 +00:00
Azat Khuzhin
d7d9f0cb6b Fix overflow of VarUInt format in Progress packets
Otherwise query like this, can trigger sanity check:

    WITH x AS (SELECT [], number AS a FROM numbers(9223372036854775807)), y AS (SELECT arrayLastOrNull(x -> (x >= -inf), []), arrayLastOrNull(x -> (x >= NULL), [1]), number AS a FROM numbers(1.)) SELECT [1023], * FROM x WHERE a IN (SELECT a FROM y) ORDER BY arrayLastOrNull(x -> (x >= 1025), [1048577, 1048576]) DESC NULLS LAST, '0.0000000002' ASC NULLS LAST, a DESC NULLS FIRST

CI: https://s3.amazonaws.com/clickhouse-test-reports/0/a9bcd022d5f4a5be530595dbfae3ed177b5c1972/fuzzer_astfuzzermsan/report.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-29 12:42:45 +02:00
Robert Schulze
d0f4c63d27
Fix tests 2023-03-29 10:30:40 +00:00
Kseniia Sumarokova
9e8bbe4bfe
Merge pull request #47987 from kssenii/try-fix-rabbitmq-test
Try fix rabbitmq test
2023-03-29 12:20:05 +02:00
Vladimir C
570426141e
Merge branch 'master' into vdimir/direct-dict-async-read 2023-03-29 11:58:08 +02:00
vdimir
588fdcffdf
comment child_plans in ReadFromMerge 2023-03-29 09:42:32 +00:00
Dmitrii Kovalkov
71a6a02e88 fix stdlib compatibility issues 2023-03-29 12:20:27 +03:00
Azat Khuzhin
9457b1cc46 Use VAR_UINT_MAX for unknown_packet_in_send_data
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-29 11:02:33 +02:00
Azat Khuzhin
36f6408ada Add sanity checks for writing number in variable length format
And just to double check:

    # var_uint 9223372036854775807
    ffffffffffffffff7f
    ffffffffffffffff7f
    ffffffffffffffff7f
    x: 9223372036854775807, y: 9223372036854775807
    # var_uint 9223372036854775808
    808080808080808080
    808080808080808080
    808080808080808080
    x: 9223372036854775808, y: 0

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-29 11:02:33 +02:00
Azat Khuzhin
f38a7aeabe ThreadPool metrics introspection
There are lots of thread pools and simple local-vs-global is not enough
already, it is good to know which one in particular uses threads.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-29 10:46:59 +02:00
Robert Schulze
b4c8ef980c
Merge pull request #47838 from zvonand/zvonand-formatdecimal
Add toDecimalString function
2023-03-29 10:41:12 +02:00
save-my-heart
167757746f
Merge branch 'master' into throw_non_parametric_function 2023-03-29 16:15:11 +08:00
Antonio Andelic
50ed205aa0
Merge pull request #47303 from ClickHouse/avoid-merging-partition
Skip merged partitions for `min_age_to_force_merge_seconds` merges
2023-03-29 09:31:00 +02:00
robot-ch-test-poll1
decc4fbc98
Merge pull request #48132 from ClickHouse/fix-double-whitespace-2
Fix double whitespace in exception message
2023-03-29 08:06:31 +02:00
Sema Checherinda
1031e2001b fix build 2023-03-29 07:41:31 +02:00
Yakov Olkhovskiy
211fa2117c clang wants it 2023-03-29 03:50:21 +00:00
Alexander Tokmakov
cfe0fb6571 fix 2023-03-29 03:31:39 +02:00
Sergei Trifonov
1ff6519c25
Merge branch 'master' into segmentator-fix 2023-03-29 02:29:43 +02:00
serxa
81af0b6deb avoid counters updates if not initialized 2023-03-29 00:29:21 +00:00
Alexey Milovidov
f7c855965d
Merge pull request #48112 from ClibMouse/s390x_reinterpretAsFloat64
s390x reinterpret as float64
2023-03-29 02:09:43 +03:00
Alexey Milovidov
cfc4e40811 Allow skipping errors related to unknown enum values in row input formats 2023-03-29 00:31:53 +02:00
Alexey Milovidov
42335c5f1e Fix double whitespace in exception message 2023-03-29 00:15:20 +02:00
Alexander Tokmakov
53725bdea1 monor improvements 2023-03-28 23:47:45 +02:00
Robert Schulze
12559236ee
Another style fix 2023-03-28 21:01:59 +00:00
Robert Schulze
6f8a450805
Sort output of SHOW <INFO> statements
Sorting is strictly speaking not necessary, but
1. sorted output is more user-friendly,
2. SQL currently does not allow to sort the output of SHOW <INFO>
   otherwise, e.g. SELECT * FROM (SHOW <INFO> ...) ORDER BY is rejected.
3. SQL tests can take advantage of that.
2023-03-28 20:55:59 +00:00
Alexander Tokmakov
614f8b313e
Merge pull request #47856 from Algunenano/zk_inject_timeout
Allow injecting timeout errors on Keeper
2023-03-28 23:40:51 +03:00
Robert Schulze
622d1dfadd
Merge pull request #46252 from ClibMouse/feature/hastokencaseinsensitive-index-utilization
Implement tokenbf_v1 index utilization for hasTokenCaseInsensitive
2023-03-28 22:38:21 +02:00
Igor Nikonov
6733a85d25 Fixes 2023-03-28 20:26:21 +00:00
avogar
8740b201f1 Fix 2023-03-28 20:07:59 +00:00
Robert Schulze
6c84eabb79
Fix stylecheck 2023-03-28 20:07:26 +00:00
Robert Schulze
e743f840f0
Fix taipos 2023-03-28 20:05:17 +00:00
Alexander Tokmakov
a1076005c7 Merge branch 'master' into support_undrop_table 2023-03-28 22:03:31 +02:00
avogar
bc56c02858 Support more ClickHouse types in ORC/Arrow/Parquet formats 2023-03-28 20:02:42 +00:00
Yakov Olkhovskiy
9201e7d393
Merge pull request #47371 from HarryLeeIBM/hlee-s390x-hash-tuples
Fix hashing tuples for s390x
2023-03-28 15:19:37 -04:00
avogar
2321530bb0 Fix 2023-03-28 18:50:30 +00:00
Kruglov Pavel
3fb1a10a16
Fix style 2023-03-28 20:49:10 +02:00
avogar
a0fcf81abf Support more ClickHouse types in MsgPack format 2023-03-28 18:25:52 +00:00
Robert Schulze
202f52dc3a
Implement SHOW COLUMNS
Modeled after (*)

Fixes #46437

(*) https://dev.mysql.com/doc/refman/8.0/en/show-columns.html
2023-03-28 18:04:22 +00:00
avogar
04770cd444 Better 2023-03-28 17:58:29 +00:00
avogar
e7ff6e85c2 Support Enum output/input in BSONEachRow, allow all map key types and avoid extra calculations 2023-03-28 17:57:23 +00:00
avogar
06a6f5cf76 Support more ClickHouse types in Avro format 2023-03-28 17:36:20 +00:00
Anton Popov
1e79245b94 add tests 2023-03-28 17:20:05 +00:00
robot-ch-test-poll3
19c73afda4
Merge pull request #48098 from kssenii/materialized-pg-small-fix
materialized pg small fix
2023-03-28 19:13:10 +02:00
Kruglov Pavel
f3c594a160
Merge pull request #48057 from Avogar/fix-avro-records
Use uniq names for Records in Avro to avoid reusing its schema
2023-03-28 19:12:41 +02:00
Yakov Olkhovskiy
a03bf8568a implement use_structure_from_insertion_table_in_table_functions=auto 2023-03-28 17:03:35 +00:00
Anton Popov
6d05968a0f optimize function mapUpdate 2023-03-28 16:47:14 +00:00
natasha
e984e221ce get rid of std::stringstream 2023-03-28 17:21:55 +01:00
natasha
d7d008c44d fix typo in hilite_none 2023-03-28 17:21:55 +01:00
natasha
ba17db5365 fix ASTCreateQuery test 2023-03-28 17:21:55 +01:00
natasha
f36ad31751 add bug: second parenthesis ) not hilited in CREATE TABLE name AS (SELECT *) COMMENT 'hello' 2023-03-28 17:21:55 +01:00
natasha
5681f2c130 remove unused compare std::stringstream overload 2023-03-28 17:21:55 +01:00
natasha
df5824a2d2 contstruct string directly without std::stringstream in tests 2023-03-28 17:21:55 +01:00
natasha
a7614b844e rename const char * it into ptr 2023-03-28 17:21:54 +01:00
natasha
36ef622853 change compare signature to accept both args as String, for symmetry 2023-03-28 17:21:54 +01:00
natasha
e14675935a remove const& from std::string_view 2023-03-28 17:21:54 +01:00
natasha
a862973f14 amend comment on hilite equality 2023-03-28 17:21:54 +01:00
natasha
cf057013ed hilite view()'s parenthesis as function as well 2023-03-28 17:21:54 +01:00
natasha
a4dfba11c5 replace std::string with String 2023-03-28 17:21:54 +01:00
natasha
ddfc72a6ca use () for c-tor, not {} 2023-03-28 17:21:53 +01:00
natasha
134ec0f6b0 remove const& from std::string_view 2023-03-28 17:21:53 +01:00
natasha
95a8905be6 split ostr writes for readability 2023-03-28 17:21:53 +01:00
natasha
9e8ad944d6 fix symmetry 2023-03-28 17:21:53 +01:00
natasha
bf4a3a23fa compare string without hilites first, for easier debug 2023-03-28 17:21:53 +01:00
natasha
ed22d0f028 fix bugs (now tests pass) 2023-03-28 17:21:53 +01:00
natasha
da5285004d add failing tests 2023-03-28 17:21:53 +01:00
natasha
086fe077c9 cleanup 2023-03-28 17:21:53 +01:00
natasha
103bb9bf03 add a hilite-aware equality comparator and a sample test 2023-03-28 17:21:53 +01:00
save-my-heart
cea631a4c2 throw exception while non-parametric functions having parameters 2023-03-28 23:24:07 +08:00
Sema Checherinda
b774310dc9 keep query id for logging when optimize query 2023-03-28 16:44:47 +02:00
Suzy Wang
29d640aa48 s390x reinterpret as float64 2023-03-28 07:11:21 -07:00
Igor Nikonov
259df04415 Merge remote-tracking branch 'origin/master' into decimal256-various 2023-03-28 13:36:53 +00:00
Sema Checherinda
10f1030a14
Merge pull request #47147 from aletik256/fix_JSON_searchField
fix_JSON_searchField
2023-03-28 14:45:09 +02:00
zvonand
79f06ddfef style fix 2023-03-28 13:58:37 +02:00
Kruglov Pavel
292539b90e
Merge pull request #47981 from kssenii/better-delegate-disks-handle-mutual-path
Fix case when (optional) path is not added to encrypted disk configuration
2023-03-28 13:52:50 +02:00
zvonand
edc80fbd94 updated docs + fix linker isssue 2023-03-28 13:25:18 +02:00
Raúl Marín
bffde5e476 Merge remote-tracking branch 'blessed/master' into unnecessary_alter_checks 2023-03-28 13:17:36 +02:00
vdimir
7a85974c35
Fix crash in explain graph with StorageMerge 2023-03-28 11:04:07 +00:00
Vladimir C
d32c285d17
Merge branch 'master' into vdimir/direct-dict-async-read 2023-03-28 12:41:20 +02:00
kssenii
943a4f75f8 Catch all exceptions to avoid replication stuck 2023-03-28 12:00:56 +02:00
Alexey Milovidov
1c3b692bdb
Merge pull request #47958 from arthurpassos/add_unit_test_assert_chunked_array_with_no_chunks_does_not_abort
Add unit test to assert arrow lib does not abort on fatal logs
2023-03-28 12:56:18 +03:00
kssenii
57226fcb25 Review fixes 2023-03-28 11:43:15 +02:00
Antonio Andelic
6f1e50598a fix test 2023-03-28 09:32:23 +00:00
Kseniia Sumarokova
62c6aea45b
Merge pull request #47975 from MikhailBurdukov/mburdukov_ignore_inacc_tables
Skip materialized view checking if source table does not exist
2023-03-28 11:29:11 +02:00
SmitaRKulkarni
98999c2afb
Merge pull request #48065 from ClickHouse/Support_parameterized_view_with_cte
Support for cte in parameterized views
2023-03-28 11:18:16 +02:00
zvonand
09181a9b58 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-formatdecimal 2023-03-28 11:01:00 +02:00
zvonand
406e654b00 removed unnecessary imports 2023-03-28 10:56:04 +02:00
Robert Schulze
91f3edd923
Merge pull request #47967 from jrdi/fix-wide-integer-m1
Fix compilation on MacOS
2023-03-28 10:53:29 +02:00
Robert Schulze
37effb4fa2
Merge remote-tracking branch 'origin/master' into rs/m 2023-03-28 08:51:12 +00:00
Vladimir C
5fa519d043
Merge pull request #48047 from ClickHouse/vdimir/max_number_of_mutatuins_for_replica 2023-03-28 10:50:35 +02:00
Robert Schulze
30444376b0
Follow-up to #47838 2023-03-28 08:47:15 +00:00
zvonand
c64e9bd233 fix style 2023-03-28 10:31:52 +02:00
Antonio Andelic
1605afe647 Fix test 2023-03-28 08:12:21 +00:00
Robert Schulze
7cf494acc2
Merge pull request #48000 from ClickHouse/rs/parsedatetimeorzero
MySQL dialect compat: Add str_to_date
2023-03-28 10:04:56 +02:00
Antonio Andelic
0b5fd2140a Merge branch 'master' into cnf-new-analyzer 2023-03-28 07:57:12 +00:00
Antonio Andelic
30e4ee705a Better 2023-03-28 07:54:23 +00:00
Antonio Andelic
ac8dd527dc Address PR comments 2023-03-28 07:49:34 +00:00
Antonio Andelic
a3b6d43212
Merge branch 'master' into avoid-merging-partition 2023-03-28 09:40:36 +02:00
Antonio Andelic
d2c1d16e29 Merge branch 'master' into custom-key-new-analyzer 2023-03-28 07:24:29 +00:00
Antonio Andelic
a0b6cd63bb fix build 2023-03-28 07:23:29 +00:00
Antonio Andelic
4aa8c5fe49 Merge branch 'master' into alternative-keeper-configs 2023-03-28 07:23:24 +00:00
Antonio Andelic
160aa186bb Add support for NOSIGN keyword and no_sign_request config 2023-03-28 07:05:35 +00:00
Jordi Villar
3946e66272 Comestic PR changes 2023-03-28 08:13:53 +02:00
Nikolay Degterinsky
71b498061b Fix a bug, review suggestions 2023-03-28 01:48:25 +00:00
Alexander Tokmakov
b5fe1ada0b more options for sync replica 2023-03-28 01:39:36 +02:00
xiedeyantu
62087c3f09 fix 2023-03-28 07:27:13 +08:00
Alexey Milovidov
5d0e34d2a7
Merge pull request #47953 from ClickHouse/Avogar-patch-2
Fix tsan error lock-order-inversion
2023-03-28 01:10:50 +03:00
zvonand
b6c598cace fixed big ints + added tests 2023-03-27 22:38:42 +02:00
Antonio Andelic
61b3500157
Merge pull request #47978 from ClickHouse/more-batching-keeper
Even more batching in Keeper
2023-03-27 21:47:29 +02:00
MikhailBurdukov
c296c2e299 Review changes 2023-03-27 18:34:12 +00:00
zvonand
dbd0ccdb64 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-formatdecimal 2023-03-27 20:21:09 +02:00
zvonand
b7bb09d362 upload 2023-03-27 20:19:52 +02:00
Raúl Marín
ff209db129
Merge branch 'master' into zk_inject_timeout 2023-03-27 19:46:10 +02:00
kssenii
f8b45a00ec Fix 2023-03-27 19:20:48 +02:00
kssenii
314ee12442 Fix checks 2023-03-27 19:20:11 +02:00
Igor Nikonov
c2c7895b82
Merge pull request #47770 from ClickHouse/stop_wait_for_quorum_retries_on_shutdown
Stop `wait for quorum` retries on shutdown
2023-03-27 18:27:14 +02:00
Jordi Villar
b64cb10d20 Rework AggregateFunctionQuantile.h fix 2023-03-27 18:16:07 +02:00
Jordi Villar
20fa73042d Fix AggregateFunctionQuantile.h compilation in macOS M1 2023-03-27 18:16:07 +02:00
xiedeyantu
9382c6ffdc better 2023-03-27 23:51:35 +08:00
Raúl Marín
d1a6c1991a Only check MV on ALTER when necessary 2023-03-27 17:45:15 +02:00
Vitaly Baranov
e43fc77a4e
Merge pull request #46989 from AVMusorin/update-system-backups-periodically
Dynamic update `system.backups`
2023-03-27 17:26:47 +02:00
Robert Schulze
3701fda6b1
Add str_to_date() alias for MySQL compat
Fixes #43755
2023-03-27 14:52:32 +00:00
avogar
61d41e8152 Use uniq names for Records in Avro to avoid reusing its schema 2023-03-27 14:41:36 +00:00
Smita Kulkarni
cb04c6301c Support for cte in parameterized views
Implementation:
* Updated to allow query parameters while evaluating scalar subqueries.
Testing:
* Added test case with cute for parameterized view.
2023-03-27 16:30:53 +02:00
Sema Checherinda
a6ab33a906 no use query, but storage context 2023-03-27 16:30:32 +02:00
xiedeyantu
5036d19af3 better 2023-03-27 22:16:37 +08:00
xiedeyantu
5a18e0d5a5 support undrop table 2023-03-27 22:16:36 +08:00
Robert Schulze
eafae6fdba
Cosmetics 2023-03-27 14:01:26 +00:00
Robert Schulze
3db38dbb5a
Replace mySQL date formatter M behavior from minutes to month name 2023-03-27 14:00:51 +00:00
Robert Schulze
22da93e239
Cosmetics 2023-03-27 14:00:44 +00:00
Antonio Andelic
28182e9489
Fix typo 2023-03-27 15:51:42 +02:00
Alexey Milovidov
f809f1b812
Merge pull request #48019 from ClickHouse/rs/parsedatetime-ub
parseDateTime(): Fix UB (signed integer overflow)
2023-03-27 16:42:31 +03:00
Antonio Andelic
fa8ea85f3d Make custom key work with new analyzer 2023-03-27 13:39:33 +00:00
Han Fei
e3afa5090f
Merge pull request #47218 from hanfei1991/hanfei/optimize-regexp-tree-1
Refine OptimizeRegularExpression Function and RegexpTreeDict
2023-03-27 15:23:01 +02:00
avogar
64db4c478b Use one map 2023-03-27 13:19:45 +00:00
Raúl Marín
714b54b322 Reimplement enable_fault_injections_during_startup 2023-03-27 15:06:46 +02:00
Arthur Passos
cfd10dafe4 only link arrow lib if it exists, same for ut 2023-03-27 09:22:07 -03:00
Kseniia Sumarokova
bc2b6257f2
Merge pull request #48015 from solomatovs/fix-replica-identity-columns-postgres-materialized
fix MaterializedPostgreSQL query to get attributes (replica-identity)
2023-03-27 14:12:06 +02:00
Alexander Tokmakov
00cf1efbc1
Merge pull request #48048 from ClickHouse/rename_system_dropped_tables
Rename `system.marked_dropped_tables` to `dropped_tables`
2023-03-27 15:09:22 +03:00
vdimir
08fa1846b1
Add merge tree setting max_number_of_mutations_for_replica 2023-03-27 11:56:48 +00:00
Nikita Mikhaylov
2773e5c352
Fix test 02050_client_profile_events (#47951) 2023-03-27 13:50:09 +02:00
Nikolay Degterinsky
227425968f
Merge branch 'master' into query_id 2023-03-27 13:41:42 +02:00
Alexander Tokmakov
b01f08ccb8 rename marked_dropped_tables to dropped_tables 2023-03-27 13:23:56 +02:00
Antonio Andelic
5b0d94415c Merge branch 'master' into custom-key-new-analyzer 2023-03-27 10:04:09 +00:00
Antonio Andelic
86b40a1b79 address PR review 2023-03-27 10:03:40 +00:00
vdimir
f6de216041
PullingAsyncPipelineExecutor for Direct dictionary with ClickHouse source 2023-03-27 09:52:26 +00:00
Sema Checherinda
26e76bb68c
Merge branch 'master' into fix_JSON_searchField 2023-03-27 10:47:57 +02:00
Sema Checherinda
db55fa864a fix build 2023-03-27 10:47:34 +02:00
Antonio Andelic
93f5920e02
Merge branch 'master' into alternative-keeper-configs 2023-03-27 10:00:21 +02:00
Antonio Andelic
e4a78a982f Merge branch 'master' into cnf-new-analyzer 2023-03-27 07:43:21 +00:00
Antonio Andelic
79e22d13fb small fix 2023-03-27 07:41:31 +00:00
Antonio Andelic
f355bc5342 Merge branch 'master' into more-batching-keeper 2023-03-27 07:28:17 +00:00
Alexey Milovidov
e284f55674
Merge pull request #47702 from ClickHouse/polygons-crash-45355
Fix crash in polygonsSymDifferenceCartesian
2023-03-27 00:39:46 +03:00
Alexey Milovidov
b6892f53fc
Merge pull request #47724 from ClickHouse/rs/qc-better-cfg-name
Rename cfg parameter query_cache.size to query_cache.max_size
2023-03-27 00:36:24 +03:00
Alexey Milovidov
b69916b3d4
Merge pull request #47801 from nickitat/fix_final
Fix excessive reading in `FINAL`
2023-03-27 00:33:59 +03:00
Alexey Milovidov
0f99df0f94
Merge pull request #47852 from ucasfl/fuzz
AST fuzzer support fuzzing SELECT query to EXPLAIN query randomly
2023-03-27 00:30:09 +03:00
Robert Schulze
f9d473a94d
parseDateTime(): Fix UB (signed integer overflow) 2023-03-26 20:02:38 +00:00
Smita Kulkarni
eabcefe452 Fixed issue with reserving vector size 2023-03-26 14:52:08 +02:00
SmitaRKulkarni
f0b724497f
Merge branch 'master' into 47200_Fix_for_index_file_cidx_is_unexpectedly_long 2023-03-26 14:02:56 +02:00
Sergei Solomatov
b143a1a3eb fix query 2023-03-26 11:20:53 +00:00
exmy
680ab4fae3 Fix incorrect code indentation 2023-03-26 17:14:01 +08:00
Smita Kulkarni
decdf0c507 Updated to delete added keys if there is an exception during update of metadata cache 2023-03-26 10:35:44 +02:00
robot-ch-test-poll3
b18c051943
Merge pull request #47970 from ClickHouse/rs/fix-catboost
Fix "Field value too long" in catboostEvaluate()
2023-03-26 04:16:42 +02:00
Robert Schulze
2c8916a005
Fix clang-tidy 2023-03-25 18:05:09 +00:00
Nikolai Kochetov
327674f56d
Merge pull request #46537 from ClickHouse/aggregate-projections-analysis-query-plan
Projections analysis from query plan
2023-03-25 13:23:30 +01:00
robot-clickhouse-ci-2
9f5f97669d
Merge pull request #47989 from ClickHouse/evillique-patch-2
Better type check in arrayElement function
2023-03-25 08:46:01 +01:00
Yakov Olkhovskiy
07502600f7 clang wants it :\ 2023-03-25 05:15:10 +00:00
Nikolay Degterinsky
7ee842848a
Merge pull request #47052 from ClickHouse/evillique-patch-1
Disable path check in SQLite storage for clickhouse-local
2023-03-24 23:38:18 +01:00
Nikolay Degterinsky
585b7b9345
Better type check in arrayElement function 2023-03-24 23:36:45 +01:00
Nikolay Degterinsky
3218dce174
Merge pull request #46659 from ClibMouse/tiny-improvements
Make tiny improvements
2023-03-24 23:27:25 +01:00
Yakov Olkhovskiy
a4e2d09001 without schema inference from actual data 2023-03-24 21:58:23 +00:00
Alexander Gololobov
3eb2a1cc5b
Merge pull request #47973 from socketpair/exitcode
Fix #36971: Watchdog: exit with non-zero code if child process exits
2023-03-24 22:26:44 +01:00
Alexander Gololobov
a1e4f70c18
Merge branch 'master' into keeper_batch_bytes_size_limit 2023-03-24 22:08:05 +01:00
Antonio Andelic
6c3765c8b6 Small fix 2023-03-24 20:40:45 +00:00
Yakov Olkhovskiy
1108a299a6
Merge branch 'master' into imp-use-structure-from-insertion 2023-03-24 16:36:12 -04:00
Antonio Andelic
e38aa298f4 Merge branch 'master' into more-batching-keeper 2023-03-24 19:44:29 +00:00
avogar
d00587202d Make better 2023-03-24 19:25:07 +00:00
Sema Checherinda
aeb8766ad5 adjust after rebase 2023-03-24 19:53:16 +01:00
Sema Checherinda
da3e744405 set context from the master thread 2023-03-24 19:53:16 +01:00
Sema Checherinda
0fcf7c0363 std::optional instead shared_ptr 2023-03-24 19:53:16 +01:00
Sema Checherinda
6a6d45e6e7 set up performance_counters for thread group 2023-03-24 19:53:16 +01:00
Sema Checherinda
da4f2bd923 do not attach empty thread group 2023-03-24 19:53:16 +01:00
Sema Checherinda
bc107c70fa merge and mutation make thread group for setting memory trackers right 2023-03-24 19:53:16 +01:00
Dmitry Novik
0638f31a09
Merge pull request #47727 from ClickHouse/const-aggregation-key-fix
Fix aggregation with constant key in planner
2023-03-24 19:47:20 +01:00
Nikolai Kochetov
82f7c60e38
Merge pull request #47726 from k-morozov/feature/add_SourceStep_optimize
Add optimization for MemoryStorageStep
2023-03-24 17:56:10 +01:00
Maksim Kita
5cb2d30563
Merge pull request #47316 from ClickHouse/vdimir/transform_external_query_analyzer
Support transformQueryForExternalDatabase for analyzer
2023-03-24 17:53:00 +01:00
Vitaly Baranov
1badc3cba0
Move information about current hosts and list of all hosts to BackupCoordination (#47971)
to simplify the code and help implementing other features.

Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-03-24 17:38:19 +01:00
Raúl Marín
bf7b0c5cfe Different approach to inject timeouts 2023-03-24 17:12:14 +01:00
Sema Checherinda
1e462e02ed add ut 2023-03-24 17:00:04 +01:00
kssenii
16ebfcc3f8 Better delegate disks handle mutual path 2023-03-24 16:21:19 +01:00
avogar
ee0fd39f2a Fix data-race 2023-03-24 15:20:19 +00:00
Sergei Trifonov
a05aa5c1c6
Merge branch 'master' into segmentator-fix 2023-03-24 16:19:57 +01:00
Nikita Taranov
42cafb4872 clearer 2023-03-24 16:04:48 +01:00
serxa
28ca2de86d fix 2023-03-24 14:58:50 +00:00
Arthur Passos
ef4f860b62 namespace fix 2023-03-24 11:51:22 -03:00
Antonio Andelic
f353561204 Avoid breaking batches with read requests 2023-03-24 14:37:40 +00:00
Anton Popov
fd567e03a5
Merge pull request #47796 from CurtizJ/fix-zlib-mmap
Fix reading from storage `File` compressed files with `zlib` and `gzip` compression
2023-03-24 15:36:21 +01:00
Nikolai Kochetov
a2182f2659
Merge pull request #47874 from amosbird/correct_exact_rows_before_limit
Correct `exact_rows_before_limit` in some scenarios
2023-03-24 15:09:42 +01:00
Alexander Gololobov
afe3af230f Limit keeper request batching by size in bytes 2023-03-24 14:41:09 +01:00
Yakov Olkhovskiy
83ca006fcb same fix for analyzer 2023-03-24 13:16:54 +00:00
Коренберг Марк
6df169dce3 Fix #36971: Watchdog: exit with non-zero code if child process exits 2023-03-24 16:04:09 +03:00
Robert Schulze
0712627c05
Query cache: Fix config naming ambiguity
Add 'max_' prefix to 'size' setting to make it more clear that the cache
consumes no space if not used.
2023-03-24 12:52:09 +00:00
Kruglov Pavel
97592cfdfd
Merge branch 'master' into Avogar-patch-2 2023-03-24 13:44:28 +01:00
zvonand
3f2afd6f6e fix 2023-03-24 13:35:09 +01:00
MikhailBurdukov
cc92eacb3e Merged several tests into one and rm unnecessary func 2023-03-24 11:51:09 +00:00
Robert Schulze
3628d11405
Fix "Field value too long" in catboostEvaluate()
Fixes #47616
2023-03-24 11:02:55 +00:00
Nikolai Kochetov
46e50b17e4 Fixing test 2023-03-24 10:35:47 +00:00
Nikolai Kochetov
8917e1ad57 Fixing test 2023-03-24 09:40:12 +00:00
Antonio Andelic
52541e5e23
Merge pull request #47885 from ClickHouse/more-s3-events
Add more S3 write profile events
2023-03-24 09:48:34 +01:00
MikhailBurdukov
68118388e6 Rename opt key, added test and refactored code. 2023-03-24 08:23:22 +00:00
Alexander Tokmakov
4c9b63ccc0
Merge pull request #47916 from ClickHouse/fix_logical_error_in_distributed
Fix logical error in DistributedSink
2023-03-24 04:43:45 +03:00
Alexander Tokmakov
cd7d1fb990
Revert "Revert "Revert "Backup_Restore_concurrency_check_node""" 2023-03-24 04:35:50 +03:00
Alexander Tokmakov
4dde73c3eb
Merge pull request #47917 from ClickHouse/fix_terminate_in_check_thread
Fix terminate in parts check thread
2023-03-24 04:22:00 +03:00
Alexander Tokmakov
ef57253518
Merge pull request #47950 from ClickHouse/fix_http_warning
Set content-length for empty POST requests
2023-03-24 04:19:04 +03:00
pufit
a9089da350 Remove debug comment 2023-03-23 20:36:33 -04:00
Yakov Olkhovskiy
3e50ccdb45 fixed bug with names mapping, better structure propagation 2023-03-24 00:27:04 +00:00
pufit
fd1d8d5c55 Third attempt to fix crash. 2023-03-23 19:00:20 -04:00
Robert Schulze
bd02627869
Update docs for parseDateTime() (follow-up to #46815) 2023-03-23 21:28:03 +00:00
Robert Schulze
e84764f4e1
Merge pull request #46815 from bigo-sg/to_timestamp
Add new function parseDateTime/parseDateTimeInJodaSyntax
2023-03-23 22:20:18 +01:00
Nikolai Kochetov
81bef1cb4b Fixing build. 2023-03-23 21:18:30 +00:00
Nikolai Kochetov
a4771812cb Fixing build. 2023-03-23 20:46:42 +00:00
Arthur Passos
d13aa3c029 missing change 2023-03-23 17:42:55 -03:00
Arthur Passos
2491128b08 Add unit test to assert arrow lib does not abort on fatal logs 2023-03-23 17:40:04 -03:00
Nikolai Kochetov
73e98de46d Merge branch 'master' into aggregate-projections-analysis-query-plan 2023-03-23 21:28:36 +01:00
ltrk2
f46970671d Implement tokenbf_v1 index utilization for hasTokenCaseInsensitive 2023-03-23 12:24:13 -07:00
Maksim Kita
24b9e5103f
Merge pull request #47748 from ClickHouse/revert-47721-revert-47622-analyzer-planner-fixes-before-enable-by-default
Revert "Revert "Analyzer planner fixes before enable by default""
2023-03-23 22:20:34 +03:00
Kruglov Pavel
9003b7d789
Fix tsan error lock-order-inversion 2023-03-23 20:14:32 +01:00
Nikolai Kochetov
ed4a5b2be8 Fix test. Pre-build index for query dag in projection. 2023-03-23 18:39:41 +00:00
Nikolai Kochetov
e9bb7efef6 Fix fuzzed test. 2023-03-23 18:27:30 +00:00
Antonio Andelic
3ae09c6ce8
Merge branch 'master' into more-s3-events 2023-03-23 18:23:53 +01:00
Alexander Tokmakov
9bf4f0108e set content-length for empty POST requests 2023-03-23 18:02:31 +01:00
Nikolai Kochetov
0f01725d8b
Merge pull request #45689 from alexX512/master
Add an option to show the partial result on query cancellation
2023-03-23 17:34:15 +01:00
vdimir
c2a3679959
Add buildSelectQueryInfo to Planner/Utils, use in unit tests 2023-03-23 15:53:22 +00:00
Anton Popov
49079ee85c fix build 2023-03-23 15:31:36 +00:00
Antonio Andelic
d6cbc5d05b Fix tests 2023-03-23 15:01:51 +00:00
Nikolay Degterinsky
531068df16
Fix exception type in arrayElement (#47909) 2023-03-23 16:01:04 +01:00
ltrk2
3bf2411be1 Make tiny improvements 2023-03-23 10:59:07 -04:00
Azat Khuzhin
2b439f079e
Make backup_threads/restore_threads server settings (#47881)
Those settings can be applied only at start, so it is better to have
them in configuration file instead of user profile settings.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-23 15:44:15 +01:00
Alexander Tokmakov
5b263b9ffe fix 2023-03-23 15:36:17 +01:00
Nikita Taranov
4b635afe49
Set max_final_threads to number of cores by default (#47915) 2023-03-23 15:18:37 +01:00
Alexander Tokmakov
13cd72d2cb
Merge pull request #47903 from ClickHouse/tavplubix-patch-6
Hotfix for too verbose warnings in HTTP
2023-03-23 16:48:35 +03:00
Vitaly Baranov
f49cab91c0
Merge pull request #47002 from ilejn/orphaned_role
Tests for orphaned role fix
2023-03-23 14:09:34 +01:00
Vitaly Baranov
1d9bfca68d
Merge pull request #47919 from vitlibar/improve-replicated-used-defined-functions
Improve replicated user defined functions
2023-03-23 14:07:08 +01:00
Alexander Tokmakov
4599707e0b
Merge pull request #47901 from ClickHouse/fix_replicated_db_recovery
Fix for Replicated database recovery
2023-03-23 15:49:12 +03:00
Alexander Tokmakov
54314061ab fix logical error on cancellation 2023-03-23 13:13:16 +01:00
Maksim Kita
7da53bf7e8 Fixed tests 2023-03-23 12:34:23 +01:00
flynn
02c666d06d fix 2023-03-23 11:14:12 +00:00
Antonio Andelic
9ea8dc4e98 Merge branch 'master' into alternative-keeper-configs 2023-03-23 09:22:46 +00:00
Antonio Andelic
b57e82ded6 Add S3 write profile events 2023-03-23 09:05:41 +00:00
SmitaRKulkarni
04822a63e1
Merge pull request #47586 from ClickHouse/revert-47581-revert-47216-Backup_Restore_concurrency_check_node
Revert "Revert "Backup_Restore_concurrency_check_node""
2023-03-23 10:02:00 +01:00
Antonio Andelic
a4d1cd514d Refactor 2023-03-23 08:58:56 +00:00
Amos Bird
a41ba1e6a7
Fix more cases 2023-03-23 14:52:33 +08:00
李扬
88d430a8f0
Merge branch 'master' into to_timestamp 2023-03-23 14:35:45 +08:00
flynn
b5e17cc2c0 fix 2023-03-23 06:24:58 +00:00
robot-clickhouse
1aeba53b92
Merge pull request #47908 from evillique/fix-grant-query-formatting
Fix GRANT query formatting
2023-03-23 05:47:43 +01:00
taiyang-li
e07114a6e3 fix overflow issue of readNumberWithVariableLength 2023-03-23 12:13:51 +08:00
robot-ch-test-poll1
e57ad91940
Merge pull request #47902 from CheSema/fix_retry_exhaust
throw exception when all retries exhausted
2023-03-23 05:10:37 +01:00
flynn
e7afe0f60f fix 2023-03-23 04:08:36 +00:00
Vitaly Baranov
b0fb8fecee Make names in ZooKeeper consistent with non-replicated storage. 2023-03-23 02:50:18 +01:00
Vitaly Baranov
14cae25bd3 Allow start without ZooKeeper. 2023-03-23 02:47:50 +01:00
zvonand
b9bbda3a6f add test + fix 2023-03-23 01:42:00 +01:00
robot-ch-test-poll3
a31c0d8eee
Merge pull request #47883 from ClickHouse/drop-column-with-projections
Fix DROP COLUMN with ReplicatedMergeTree containing projections
2023-03-22 23:55:16 +01:00
Alexander Tokmakov
e3c798bae5 fix terminate in parts check thread 2023-03-22 23:46:15 +01:00
pufit
f69c432f5f Second attempt to fix crash. 2023-03-22 18:23:11 -04:00
Alexander Tokmakov
89c43bec3e
Update HTTPServerRequest.cpp 2023-03-22 23:56:42 +03:00
MikhailBurdukov
62c8eeb25c Ignoring inaccessible tables for attaching to the materilized view 2023-03-22 20:13:30 +00:00
Nikolay Degterinsky
577130a9f6 Fix GRANT query formatting 2023-03-22 19:17:47 +00:00
Alexander Tokmakov
ef647d602b
Update HTTPServerRequest.cpp 2023-03-22 21:43:23 +03:00
Nikolai Kochetov
8139d7d4b3 Fix match for constants with same values but different types. 2023-03-22 18:24:20 +00:00
Sema Checherinda
e514723256 throw exception when all retries exhausted 2023-03-22 19:11:47 +01:00
Alexander Tokmakov
b70216f9f1 fix for Replicated database recovery 2023-03-22 18:12:42 +01:00
vdimir
426f4ec233
Better transformQueryForExternalDatabase for analyzer 2023-03-22 16:58:34 +00:00
Antonio Andelic
b0aab0d8ca
Merge pull request #47860 from ClickHouse/fix-datetime-lc
Fix DateTime monotonicity check for LowCardinality
2023-03-22 17:56:07 +01:00
Han Fei
02de4ad6df address comments 2023-03-22 17:50:19 +01:00
Han Fei
575c4263a3 address comments 2023-03-22 17:47:25 +01:00
Maksim Kita
f45dac99c2 Revert "Revert "Analyzer planner fixes before enable by default"" 2023-03-22 17:19:32 +01:00
Nikolai Kochetov
04a1e41233 Review fixes. 2023-03-22 16:01:28 +00:00
Kseniia Sumarokova
48bba254ad
Merge pull request #47854 from azat/psql-fix-empty-query
Improve empty query detection for PostgreSQL (for pgx golang driver)
2023-03-22 16:45:50 +01:00
Nikolai Kochetov
d7d3722b76 Revert analyzer till later. 2023-03-22 15:41:54 +00:00
Amos Bird
02c5d1f364
Correct exact_rows_before_limit in all senarios 2023-03-22 23:26:31 +08:00
serxa
4321569fc4 Merge branch 'segmentator-fix' of github.com:ClickHouse/ClickHouse into segmentator-fix 2023-03-22 13:51:23 +00:00
serxa
f3c12b8543 fix per-thread perf counters update 2023-03-22 13:51:07 +00:00
Nikolay Degterinsky
c28b97881c Fix isIPv6String function 2023-03-22 13:42:35 +00:00
Vitaly Baranov
e70577a46e
Merge pull request #47861 from azat/restore-correct-pool
Use restore_threads (not backup_threads) for RESTORE ASYNC
2023-03-22 14:14:23 +01:00
Vitaly Baranov
7515af0be1
Merge pull request #47657 from vitlibar/improve-thread_pool
Improve ThreadPool
2023-03-22 13:31:01 +01:00
Antonio Andelic
65b99ec6a7 Merge branch 'master' into alternative-keeper-configs 2023-03-22 12:22:57 +00:00
Nikita Mikhaylov
301e26b23d
Parallel replicas. Part 2.5 (#47858) 2023-03-22 13:05:38 +01:00
Antonio Andelic
b832840cf3 Recalculate always projections on mutations in ReplicatedMergeTree 2023-03-22 11:21:23 +00:00
Frank Chen
532590773a Fix typo check 2023-03-22 17:46:09 +08:00
Robert Schulze
784b34f5d8
Merge pull request #47869 from ClickHouse/rs/bug-47530
Add REGEXP operator
2023-03-22 10:31:25 +01:00
taiyang-li
db6efaa339 fix failed uts 2023-03-22 16:53:47 +08:00
taiyang-li
94175b79a7 Merge branch 'master' into to_timestamp 2023-03-22 16:46:44 +08:00
taiyang-li
d850c5a526 change as request 2023-03-22 16:45:46 +08:00
Frank Chen
c1927d8f3e Fix check style 2023-03-22 16:39:14 +08:00
Maksim Kita
4dc5a629c3
Merge pull request #47758 from ClickHouse/vdimir/comparsion_tuple_elimination_ast
Add ComparisonTupleEliminationVisitor
2023-03-22 11:22:25 +03:00
Maksim Kita
40b077c22b
Merge pull request #47506 from CurtizJ/get-subcolumn
Better support of identifiers from compound expressions in analyzer
2023-03-22 11:19:25 +03:00
SmitaRKulkarni
464b166e91
Merge pull request #47725 from ClickHouse/46741_Parameterized_view_support_subquery
Support for subquery in parameterized views
2023-03-22 09:05:26 +01:00
flynn
dba352274c fix 2023-03-22 08:05:00 +00:00
vdimir
6919db3d46 Fix test_mysql_protocol 2023-03-22 08:59:04 +01:00
vdimir
a5cca40cf0 Pass ConvertToASTOptions by constref 2023-03-22 08:59:04 +01:00