Nikolai Kochetov
85795965c0
Deprecate EXPLAIN QUERY TREE with disabled analyzer.
2023-03-29 14:59:01 +00:00
flynn
530c9ae490
revert
2023-03-11 15:43:19 +00:00
Alexey Milovidov
a5c8f23f69
Remove a feature
2023-03-10 23:33:56 +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
Maksim Kita
80f6a45376
Merge pull request #44641 from ClickHouse/vdimir/view_explain_2
...
Function viewExplain accept SELECT and settings
2023-01-16 13:39:53 +03:00
vdimir
bdb9222736
Support EXPLAIN SYNTAX oneline = 1
2023-01-13 12:18:58 +00:00
Maksim Kita
44f4184e11
Merge pull request #44540 from kitaisreal/analyzer-support-distributed
...
Analyzer support distributed queries processing
2023-01-13 14:45:36 +03:00
Maksim Kita
47f4159909
Analyzer support distributed queries processing
2023-01-12 12:07:58 +01:00
Smita Kulkarni
953e1068b5
Merge branch 'master' into 40907_Parameterized_views_as_table_functions
2022-11-28 19:10:32 +01:00
Dmitry Novik
239119c499
Set run_passes to 1 by default
2022-11-21 15:05:52 +00:00
Smita Kulkarni
4dec8337f0
Merge branch 'master' into 40907_Parameterized_views_as_table_functions
2022-11-11 19:04:35 +01:00
Nikolai Kochetov
79facdb4f2
Make query plan optimisation respect query settings in EXPLAIN
2022-11-04 15:44:31 +00:00
Smita Kulkarni
9aa06e48f6
Merge branch 'master' into 40907_Parameterized_views_as_table_functions
2022-10-31 15:46:52 +01:00
Maksim Kita
e6bfff3de2
Analyzer change setting into allow_experimental_analyzer
2022-10-25 12:35:25 +02:00
Maksim Kita
d083200d65
Fixed code review issues
2022-10-24 10:22:38 +02:00
Maksim Kita
a0d9251f3a
Added ASOF join support
2022-10-24 10:22:21 +02:00
Maksim Kita
890d9678b9
Fixed tests
2022-10-24 10:22:20 +02:00
Maksim Kita
03864790ad
Added DISTINCT support
2022-10-24 10:22:19 +02:00
Maksim Kita
44ada63a97
Added Planner
2022-10-24 10:22:19 +02:00
Maksim Kita
40cb904a3d
Added support for JOIN, ARRAY JOIN
2022-10-24 10:22:19 +02:00
Maksim Kita
603c4febc3
Update explain query tree representation
2022-10-24 10:22:18 +02:00
Maksim Kita
75885ce2e1
Added Analyzer
2022-10-24 10:22:18 +02:00
Smita Kulkarni
e4ac3d0e18
Added FunctionParameterValuesVisitor, renamed bool to is_create_parameterized_view, added checks for parameterized view and support & test to propagate query parameters - 40907 Parameterized views as table functions
2022-10-19 18:30:03 +02:00
Igor Nikonov
726639484a
Revert "Query plan optimization setting: read in window order"
2022-09-09 22:15:38 +02:00
Igor Nikonov
e74bb00e90
Fix: EXPLAIN PLAN - make settings in SETTING clause effective
2022-09-07 19:11:25 +00:00
Igor Nikonov
ea10fd65b8
Sorting properties in EXPLAIN PLAN
...
~ change formatting for sorting
~ rename sortmode option -> sorting
2022-08-15 15:14:59 +00:00
Igor Nikonov
a70c47f780
EXPLAIN PLAN sortmode options
...
+ ActionsDAG fixes
2022-08-04 22:02:53 +00:00
Igor Nikonov
37af968548
Rename option rewrite -> optimize
2022-07-19 12:40:50 +00:00
Igor Nikonov
810926c7fc
Rename setting after_rewrite
-> rewrite
2022-07-06 17:29:30 +00:00
Igor Nikonov
f1bec4ef21
EXPLAIN AST option after_rewrite
2022-07-06 14:21:59 +00:00
Nikolai Kochetov
9756b759c6
Move some resources
2022-05-23 13:46:57 +00:00
Nikolai Kochetov
56feef01e7
Move some resources
2022-05-20 19:49:31 +00:00
mergify[bot]
ba22cb76bb
Merge branch 'master' into master2
2022-04-13 11:51:43 +00:00
helifu
1196dc3dbd
Don't materialize external tables if it's explain statement
...
The explain statement of GLOBAL JOIN two distributed tables can speed up 100x:
explain plan select ... from t1_dist global join t2_dist on ...
explain pipeline select ... from t1_dist global join t2_dist on ...
2022-04-08 09:00:55 +08:00
Alexander Tokmakov
1f571b7734
Merge branch 'master' into mvcc_prototype
2022-03-15 14:45:06 +01:00
taiyang-li
ee8fc2730e
remote comment
2022-03-10 18:29:52 +08:00
taiyang-li
382417d893
fix bug
2022-03-10 18:29:00 +08:00
taiyang-li
2cd469f113
support print ast in dot format
2022-03-10 18:04:35 +08:00
Alexander Tokmakov
cbd3b45646
add EXPLAIN CURRENT TRANSACTION
2022-02-14 22:47:17 +03:00
Azat Khuzhin
aee034a597
Use explicit template instantiation for SystemLog
...
- Move some code into module part to avoid dependency from IStorage in SystemLog
- Remove extra headers from SystemLog.h
- Rewrite some code that was relying on headers that was included by SystemLog.h
v2: rebase
v3: squash move into module part with explicit template instantiation
(to make each commit self compilable after rebase)
2022-01-10 22:01:41 +03:00
Stig Bakken
6fbb9f5e87
Implement EXPLAIN TABLE OVERRIDE
for pre-validating overrides.
...
Example:
```sql
EXPLAIN TABLE OVERRIDE mysql('127.0.0.1:3306', 'db', 'table', 'user', 'pw')
PARTITION BY tuple(toYYYYMM(created), id % 8)
```
Validations done:
* check that storage overrides do not reference unknown or nullable columns
* check that default specifier is not modified for columns
2021-12-30 09:02:27 +01:00
Raúl Marín
7781fc12ed
Reduce dependencies on ASTSelectWithUnionQuery.h
...
521 -> 77 files requiring changes
2021-11-26 19:27:16 +01:00
Nikolai Kochetov
a08c98d760
Move some files.
2021-10-16 17:03:50 +03:00
Nikolai Kochetov
fd14faeae2
Remove DataStreams folder.
2021-10-15 23:18:20 +03:00
Nikolai Kochetov
e616732743
Small refactoring.
2021-09-15 22:35:48 +03:00
Nikolai Kochetov
b997214620
Rename QueryPipeline to QueryPipelineBuilder.
2021-09-14 20:48:18 +03:00
Nikolai Kochetov
0e267c50b4
Merge branch 'master' into rewrite-pushing-to-views
2021-09-14 16:13:54 +03:00
Mike Kot
c4385a2c40
Simplifying exception messages
2021-09-11 00:40:18 +02:00
Nikolai Kochetov
66a76ab70f
Rewrite PushingToViewsBlockOutputStream part 6
2021-09-03 20:29:36 +03:00
Peng Jian
8522589483
Collect the amount of parts, rows and marks during the build query pipeline
2021-07-13 22:50:47 +08:00