Commit Graph

4349 Commits

Author SHA1 Message Date
chertus
479a0a9c8e fix case with several same keys in join 2019-08-01 22:39:39 +03:00
chertus
4072214b5d fix UB in join keys order 2019-08-01 20:27:51 +03:00
chertus
10edd76fe4 fix join_use_nulls results for key columns 2019-07-31 23:19:52 +03:00
chertus
f402ae5092 Merge branch 'master' into joins 2019-07-31 14:40:19 +03:00
alexey-milovidov
94454e514d
Merge pull request #6211 from 4ertus2/asof
Support ASOF JOIN ON syntax
2019-07-31 06:00:22 +03:00
alexey-milovidov
10ab19b2e4
Merge pull request #6231 from yandex/bad-server-shutdown
Fixed bad server shutdown
2019-07-31 05:53:11 +03:00
alexey-milovidov
7fd6204114
Merge pull request #6197 from yandex/thread_local_rng
Less number of "clock_gettime" calls; fixed ABI compatibility between debug/release in Allocator.
2019-07-31 04:36:30 +03:00
Alexey Milovidov
b6275010f2 Fixed error with server shutdown 2019-07-31 02:12:04 +03:00
alexey-milovidov
cb37c79c41
Merge pull request #6201 from yandex/speed-up-dladdr
Introspection functions + better stack traces.
2019-07-31 00:49:16 +03:00
chertus
504d548d79 AnalyzedJoin refactoring 2019-07-30 21:39:37 +03:00
chertus
24fd416084 remove unused ExpressionAnalyzer settings 2019-07-30 14:41:11 +03:00
Alexey Milovidov
b5b80fb342 Merge branch 'master' into thread_local_rng 2019-07-30 03:19:48 +03:00
Alexey Milovidov
372c4d89b2 Enabled line numbers in stack traces 2019-07-30 01:26:44 +03:00
chertus
7b4ddd268e support ASOF JOIN ON syntax 2019-07-29 17:58:36 +03:00
alexey-milovidov
3e9dd7ed42
Merge pull request #6196 from zlobober/patch-2
Fix build under gcc-8.2
2019-07-29 02:21:46 +03:00
Max Akhmedov
5e9ea2a905
Remove spaces from empty line 2019-07-28 20:46:48 +03:00
alexey-milovidov
129e88ee26
Merge pull request #6189 from CurtizJ/order-by-efficient
Fix reading in order of sorting key and refactoring.
2019-07-28 19:43:49 +03:00
Alexey Milovidov
856cc1b9c5 Added thread_local_rng 2019-07-28 18:30:38 +03:00
Max Akhmedov
f632a0b241
Fix build under gcc-8.2 2019-07-28 18:12:07 +03:00
CurtizJ
b4991b38bf Merge remote-tracking branch 'upstream/master' into order-by-efficient 2019-07-28 04:26:43 +03:00
CurtizJ
d69d68f065 rename setting 'optimize_pk_order' and some functions 2019-07-28 04:16:56 +03:00
Yuriy
383fa25c51 resolved conflict 2019-07-28 02:00:15 +03:00
alexey-milovidov
12a15316fd
Merge pull request #6181 from 4ertus2/joins
Fix crop column names in GLOBAL JOIN ON
2019-07-28 00:31:29 +03:00
CurtizJ
08d5ebb54d Merge remote-tracking branch 'upstream/master' into order-by-efficient 2019-07-27 10:38:10 +03:00
CurtizJ
60289cd764 fix optimizeSortingWithPK 2019-07-27 03:15:22 +03:00
CurtizJ
cb85721cba handle ExpressionAnalyzer exceptions, while trying to optimize order by, in case of complicated queries 2019-07-27 03:02:04 +03:00
CurtizJ
b1d981ec3a better pipeline while reading in pk_order 2019-07-27 01:18:27 +03:00
chertus
9f9ba3a06f restore cropped names in JOIN ON section for distributed queries 2019-07-26 20:43:42 +03:00
alexey-milovidov
2442e65367
Merge pull request #6124 from yandex/merge-profiler
Fixes for query profiler.
2019-07-26 03:51:57 +03:00
alexey-milovidov
a3e4c1d39f
Merge pull request #6131 from 4ertus2/joins
Better JOIN ON keys extraction
2019-07-26 02:10:45 +03:00
Alexey Milovidov
0cce86db3f Merge remote-tracking branch 'origin/master' into merge-profiler 2019-07-26 00:41:24 +03:00
Alexey Milovidov
050db07e3d Merge branch 'master' into merge-profiler 2019-07-25 22:54:22 +03:00
chertus
554e4ab5b8 fix cross alliasing case with JOIN ON 2019-07-25 22:25:51 +03:00
Alexey Milovidov
93c7f6aedf Merge branch 'fix_ISSUE5695' of https://github.com/TCeason/ClickHouse into TCeason-fix_ISSUE5695 2019-07-25 19:09:18 +03:00
CurtizJ
b1cc019bd4 fix pipeline 2019-07-25 14:00:14 +03:00
chertus
06076e67a3 Merge branch 'master' into joins 2019-07-25 13:48:32 +03:00
CurtizJ
f5b93eb991 fix order by optimization 2019-07-25 13:45:01 +03:00
alexey-milovidov
a985897a07
Update PredicateExpressionsOptimizer.h 2019-07-25 04:05:16 +03:00
alexey-milovidov
3022c4a759
Update PredicateExpressionsOptimizer.cpp 2019-07-25 04:04:03 +03:00
Alexey Milovidov
4c57405770 Added information about revision to trace log 2019-07-24 23:12:32 +03:00
Alexey Milovidov
cfb2066198 Added information about thread number to trace log 2019-07-24 23:10:23 +03:00
chertus
b3123df58e use source and joined columns to detect JOIN ON right and left keys 2019-07-24 18:37:37 +03:00
CurtizJ
3d706ec20e support 'order by' optimiation with simple monotonic functions 2019-07-24 17:23:57 +03:00
Alexey Milovidov
a3f6b70433 Fixed warning from PVS-Studio 2019-07-23 23:07:33 +03:00
chertus
9da1b0089c visitor for JOIN ON keys extraction 2019-07-23 22:49:15 +03:00
Alexey Milovidov
1b00e99334 Fixed error with initialization of query profiler 2019-07-23 17:30:14 +03:00
chertus
9baf1bf196 Merge branch 'master' into ast 2019-07-23 13:49:18 +03:00
tai
b01f54ade1 ISSUE-5695: support push down predicate to final subquery 2019-07-23 18:22:07 +08:00
alexey-milovidov
e4ad0da6e3
Merge pull request #4247 from laplab/query-poor-mans-profiler
Poor man's profiler on query level [Work in progress]
2019-07-23 03:02:58 +03:00
alexey-milovidov
cd6c15b79f
Merge pull request #6057 from dimarub2000/master
CREATE TABLE AS table_function()
2019-07-23 02:50:08 +03:00