Commit Graph

108630 Commits

Author SHA1 Message Date
Joanna Hulboj
8747e23dbb FIXUP: PR comments 2023-02-16 20:17:49 +00:00
Nikolai Kochetov
d4795ed34b
Update 02662_sorting_constants_and_distinct_crash.sql 2023-02-16 21:16:19 +01:00
Robert Schulze
b2fe7bf5c7
Merge pull request #46498 from ClickHouse/rs/docs-catboostevaluate
Document that catboostEvaluate() is not available in ClickHouse Cloud
2023-02-16 21:07:53 +01:00
Azat Khuzhin
5af2967f65 Revert code in TreeRewriter for proper column order for UNION
It is not required after #44920, which has a proper fix that does this
in ExpressionAnalyzer.

This reverts commit d98336ad83.
Reverts: #37887

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-16 20:46:39 +01:00
Azat Khuzhin
61f27c9dab Fix 01161_all_system_tables test flakiness
CI: https://s3.amazonaws.com/clickhouse-test-reports/45282/e8cdb5e1c52791fb7e96a71df9c6a7bca15b5a59/fast_test.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-16 20:45:47 +01:00
Robert Schulze
18cbc7b511
Docs: catboostEvaluate() is unavailable in Cloud 2023-02-16 19:19:25 +00:00
Alexey Milovidov
993a39e2a1
Merge pull request #46360 from genzgd/http_client_version
Allow to provide the protocol version by HTTP clients to tune the compatibility of the Native output format.
2023-02-16 22:17:04 +03:00
Alexey Milovidov
e66c05e008
Merge pull request #38750 from azat/revert-no-stress
Revert "Merge pull request #38212 from azat/no-stress"
2023-02-16 22:13:17 +03:00
Alexey Milovidov
2cd9fd5698
Update monitoring.md 2023-02-16 22:09:10 +03:00
Alexey Milovidov
4eda5d19b5
Merge pull request #46492 from myrrc/patch-2
Add --shallow-submodules version for developer instruction
2023-02-16 22:07:47 +03:00
Alexey Milovidov
43275a3d3d
Merge pull request #46491 from myrrc/patch-1
Add --shallow-submodules version
2023-02-16 22:07:11 +03:00
Arthur Passos
ba6b7b1610 fix test_alias_column 2023-02-16 16:01:25 -03:00
Maksim Kita
11965e59e2 Analyzer Planner disable by default 2023-02-16 19:46:24 +01:00
Alexander Gololobov
e0cc1b9ae4 Fix assertion when index argument is not passed 2023-02-16 19:29:26 +01:00
Alexander Gololobov
7b4219e23a Added documentation field 2023-02-16 19:26:10 +01:00
Alexander Gololobov
9b1e48c06e Some more corner cases 2023-02-16 19:24:56 +01:00
Sema Checherinda
73a506b996
Update src/Interpreters/TransactionLog.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-02-16 19:01:02 +01:00
Sema Checherinda
0511f5e635
Update src/Interpreters/TransactionLog.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-02-16 19:00:55 +01:00
Sema Checherinda
bc661442c3
Update src/Interpreters/TransactionLog.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-02-16 19:00:46 +01:00
Joanna Hulboj
5e32e20abb FIXUP: arrayPartialSort arg check and few tests 2023-02-16 17:59:12 +00:00
Joanna Hulboj
221e4942b2 FIXUP: check in FunctionArrayMapped refactor 2023-02-16 17:59:12 +00:00
Joanna Hulboj
0900fd6832 FIXUP: Add arrayPartialSort and arrayPartialReverseSort to fuzzer corpus 2023-02-16 17:59:12 +00:00
Joanna Hulboj
4ee665b158 FIXUP: Missing ErrorCodes 2023-02-16 17:59:12 +00:00
Joanna Hulboj
7bb7ea6913 Added arrayPartialSort and arraySort functions 2023-02-16 17:59:12 +00:00
Joanna Hulboj
23d173a53c Refactor FunctionArrayMapped to allow for a fixed number of extra positional arguments 2023-02-16 17:59:12 +00:00
Nikolai Kochetov
9cca571777 Fix constants in the result of MergingSortedAlgorithm. 2023-02-16 17:58:35 +00:00
kssenii
417052e4b2 Fix remaining tests 2023-02-16 18:56:19 +01:00
Mike Kot
f4600bc805
Add --shallow-submodules version for developer instruction
On modern git that can speed up clone time
2023-02-16 20:46:59 +03:00
Mike Kot
444f3aa2ac
Add --shallow-submodules version
For recent Git, this options changes checkout time drastically
2023-02-16 20:44:01 +03:00
robot-ch-test-poll1
300dfbbef6
Merge pull request #46460 from ClickHouse/group-by-use-nulls-docs
Add documentation for `group_by_use_nulls` setting
2023-02-16 18:41:34 +01:00
Mikhail f. Shiryaev
b349cda25c
Fix the downloading of the recent ccache archives 2023-02-16 18:26:06 +01:00
Robert Schulze
0ff404da9c
Merge pull request #46302 from JakeBamrah/master
Expand date formatters and add `DATE_FORMAT` function for better MySQL compatibility
2023-02-16 17:54:12 +01:00
Jus
df4abf4d87
add settings
add settings
2023-02-16 20:53:51 +04:00
Jus
7bedfee7ea
add info for Kafka engine
add info for Kafka engine
2023-02-16 20:53:40 +04:00
Azat Khuzhin
c1d1d95236 Update tests references after PREWHERE changes
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-16 17:21:53 +01:00
Azat Khuzhin
beff5ac795 Fix PREWHERE for Merge with different default types
In case of underlying table has an ALIAS for this column, while in Merge
table it is not marked as an alias, there will NOT_FOUND_COLUMN_IN_BLOCK
error.

Further more, when underlying tables has different default type for the
column, i.e. one has ALIAS and another has real column, then you will
also get NOT_FOUND_COLUMN_IN_BLOCK, because Merge engine should take
care of this.

Also this patch reworks how PREWHERE is handled for Merge table, and now
if you use PREWHERE on the column that has the same type and default
type (ALIAS, ...) then it will be possible, and only if the type
differs, it will be prohibited and throw ILLEGAL_PREWHERE error.

And last, but not least, also respect this restrictions for
optimize_move_to_prewhere.

v2: introduce IStorage::supportedPrewhereColumns()
v3: Remove excessive condition for PREWHERE in StorageMerge::read()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-16 17:21:53 +01:00
kssenii
75d62ee24a Remove support of feature which does not work reliably 2023-02-16 16:41:31 +01:00
Dmitry Novik
c95df21324 Review fixes 2023-02-16 15:38:25 +00:00
Kruglov Pavel
0ed6ddd7ab
Try fix flaky test test_parallel_distributed_insert_select_with_schema_inference 2023-02-16 16:28:47 +01:00
SmitaRKulkarni
f3f459fe34
Merge branch 'master' into 45185_Inner_join_with_where 2023-02-16 16:20:20 +01:00
Smita Kulkarni
6763a9d1ff Updated to not clear on_expression from table_join as its used by future analyze runs 2023-02-16 16:15:18 +01:00
Alexander Tokmakov
cc4932aa35 disable flaky test with cassandra dictionaries 2023-02-16 15:11:34 +01:00
Alexander Gololobov
a6061e022e Merge branch 'master' into split_prewhere_dag 2023-02-16 14:43:58 +01:00
flynn
eae73a1511 fix 2023-02-16 13:42:19 +00:00
Alexander Tokmakov
9feb448a5e fix a race condition 2023-02-16 14:41:18 +01:00
robot-clickhouse
a96d6af17e Automatic style fix 2023-02-16 13:37:40 +00:00
Vladimir C
3f424301cd
Merge pull request #45484 from azat/clickhouse-test-bin-fix 2023-02-16 14:31:11 +01:00
Azat Khuzhin
2dbcfdbe15 Allow to override host for client connection credentials
Introduce new `--connection` option, by default as a connection name
`--host` will be used.

And using --connection you also can specify --host and it will be
overwritten.

Follow-up for: #45715
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-16 14:26:24 +01:00
Alexander Tokmakov
86d177e0ee fix flaky test 2023-02-16 14:19:55 +01:00
Alexander Gololobov
d0f402fa5b
Merge pull request #46391 from ClickHouse/debug-docker
Easy debugging of clickhouse-server in Docker
2023-02-16 14:09:43 +01:00