Commit Graph

127152 Commits

Author SHA1 Message Date
Duc Canh Le
5923e1b116
Cache cast function in set during execution (#55712)
* Cache cast function in set during execution

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

* minor fix for performance test

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

* Update src/Interpreters/castColumn.cpp

Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>

* improvement

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

* fix use-after-free

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

---------

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>
2023-10-23 13:31:44 +02:00
flynn
6fa39c8aec Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-union-distinct 2023-10-23 11:05:16 +00:00
vdimir
8bb2378952
[remove before merging] Shuffle CHECK TABLE results 2023-10-23 10:56:06 +00:00
vdimir
3332f70275
upd 2023-10-23 10:56:06 +00:00
Kruglov Pavel
14c97fb426
Update docs/en/engines/table-engines/mergetree-family/mergetree.md 2023-10-23 12:48:05 +02:00
robot-ch-test-poll1
3d8875a342
Merge pull request #55926 from den-crane/patch-63
Doc. fix incorrect arrayFold example
2023-10-23 12:40:27 +02:00
robot-clickhouse-ci-1
792f1e9fb8
Merge pull request #55930 from rschu1ze/docs-homebrew
Docs: Point to formula in community tap for homebrew installation
2023-10-23 12:16:15 +02:00
vdimir
d254c4e4a0
Do no check ast in InterpreterCheckQuery to use max_threads 2023-10-23 10:13:26 +00:00
vdimir
8f0d7954ff
IStorage::checkDataNext returns optional 2023-10-23 10:12:30 +00:00
Denny Crane
835be79d4b
Update docs/en/sql-reference/functions/array-functions.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-10-23 07:06:41 -03:00
Robert Schulze
5cf3c95ea4
Update RPNBuilder.cpp 2023-10-23 11:49:52 +02:00
flynn
a3e5f24d4f Fix flaky test 2023-10-23 09:39:39 +00:00
vdimir
9d840c6532
Use single thread for check table with check_query_single_value_result=0 2023-10-23 09:36:41 +00:00
vdimir
e84fc76292
Deterministic result for CHECK TABLE in tests 2023-10-23 09:36:39 +00:00
vdimir
fe95c0d0e4
Improve CHECK TABLE system query
Resubmit PR #52745
2023-10-23 09:35:26 +00:00
Raúl Marín
4eb335eb4c
Merge pull request #55886 from Algunenano/parallel_replicas_rollup
Test parallel replicas with rollup
2023-10-23 11:23:34 +02:00
Robert Schulze
9a33d51719
Fix link 2023-10-23 09:14:09 +00:00
Robert Schulze
4368af3ba3
Docs: Point to formula in community tap for homebrew installation 2023-10-23 09:12:08 +00:00
Denny Crane
38a3655c5e add fibonacci to aspell 2023-10-23 10:09:06 +01:00
Maksim Kita
d363e062f1 Updated implementation 2023-10-23 12:00:29 +03:00
Maksim Kita
ba37880208 Context added TSA 2023-10-23 12:00:29 +03:00
Raúl Marín
fd4df9a38a
Merge pull request #55901 from ClickHouse/one-test-is-unstable-with-analyzer
A test `01019_alter_materialized_view_consistent` is unstable with Analyzer
2023-10-23 10:44:32 +02:00
Denny Crane
bd934575ea
Update array-functions.md 2023-10-23 05:29:42 -03:00
Denny Crane
8417b64530
Update array-functions.md 2023-10-23 05:27:26 -03:00
Joris Clement
c885314bfe
docs: state limitations of USING clause.
State that it is (currently) not possible to use `USING` with multiple joins. The exception thrown is `Multiple USING statements are not supported`. The relevant code section is d08ce13107/src/Interpreters/CrossToInnerJoinVisitor.cpp (L191-L192).
2023-10-23 09:41:24 +02:00
Jordi Villar
08ae38e130 Fix 02344_describe_cache test 2023-10-23 09:01:12 +02:00
Jordi Villar
839c05e3b8 Add load_metadata_threads to describe filesystem cache 2023-10-23 09:01:12 +02:00
taiyang-li
bb458c9fe1 Merge branch 'master' into ch_55858 2023-10-23 12:01:06 +08:00
jetgm
6fbc5277b6 improve query 2023-10-23 09:56:19 +08:00
Robert Schulze
80a048d5f8
Tempoarily revert string support in plus and minus operators 2023-10-22 20:31:22 +00:00
Robert Schulze
20316c34e9
Bump gRPC to v1.42.0 2023-10-22 20:25:43 +00:00
Robert Schulze
77e7f71e02
Add sanity check to RPNBuilderFunctionTreNode 2023-10-22 19:56:05 +00:00
Robert Schulze
3ee4bee580
Merge pull request #55914 from rschu1ze/grpc-1.39.1
Bump gRPC to v1.39.1
2023-10-22 20:24:03 +02:00
flynn
b42c633706 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-union-distinct 2023-10-22 16:00:12 +00:00
Robert Schulze
d450314d27
Fix include 2023-10-22 15:40:45 +00:00
Robert Schulze
b2bdb58c09
Bump gRPC to v1.39.1 2023-10-22 15:23:58 +00:00
Robert Schulze
16a7d885f3
Merge pull request #55840 from rschu1ze/bump-grpc-to-1.37.1
Bump gRPC to v1.37.1
2023-10-22 17:20:50 +02:00
Robert Schulze
e5dd4911b2
Merge remote-tracking branch 'rschu1ze/master' into bump-grpc-to-1.37.1 2023-10-22 11:45:45 +00:00
Robert Schulze
957a83dbcc
Fix tests 2023-10-22 11:42:39 +00:00
Robert Schulze
c2215cb5f0
Support string arguments 2023-10-22 09:28:45 +00:00
wxybear
53a49164d6 fix: StorageNull supports subcolumns 2023-10-22 16:24:01 +08:00
Srikanth Chekuri
3f9ffbb451 Add functional tests for create_table_empty_primary_key_by_default
1. 02902_empty_order_by_throws_error
   - setting disabled and no order by or primary key - expect error
   - setting disabled and primary key in the table definition - no error and expect order by as primary key
2. 02903_empty_order_by_with_setting_enabled
   - setting enabled and no order by or primary key - expect the order by as empty
   - setting enabled and per-column primary key - expect the order by as column order
   - setting enabled and primary key in table definition (not per-column or order by) - expect order as primary key
   - setting enabled and order by in table definition (no primary key) - expect same order by
2023-10-22 12:25:09 +05:30
Srikanth Chekuri
eb959a1e08 Revert "Add integration tests for create_table_empty_primary_key_by_default"
This reverts commit 754cfdc68c.
2023-10-22 11:22:33 +05:30
Srikanth Chekuri
754cfdc68c Add integration tests for create_table_empty_primary_key_by_default 2023-10-22 10:52:08 +05:30
Srikanth Chekuri
327386a348 Merge remote-tracking branch 'upstream/master' into issue-55023 2023-10-22 10:22:14 +05:30
Alexey Milovidov
660d3df372 Remove C++ templates, because they are stupid 2023-10-22 03:45:56 +02:00
Alexey Milovidov
5217d64551 Remove garbage 2023-10-22 01:53:50 +02:00
Alexey Milovidov
e169118354 Remove tests 2023-10-22 00:38:16 +02:00
Alexey Milovidov
1be4ff229b
Merge pull request #55895 from ClickHouse/fix-window-functions-with-sparse-columns
Fix window functions in case of sparse columns.
2023-10-22 00:02:34 +02:00
Alexey Milovidov
9e476eb56e A test 01019_alter_materialized_view_consistent is unstable with Analyzer 2023-10-21 23:58:56 +02:00