Evgenii Pravda
91ccf2ab20
Fixes
2019-04-27 20:52:43 +03:00
Evgenii Pravda
568ef78803
Add MSD radix sort
2019-04-27 01:07:32 +03:00
Alexey Milovidov
661c840fbe
Code cleanups after #4439
2019-04-25 04:16:26 +03:00
Alexey Milovidov
b52f1257a9
Removed useless include
2019-04-23 19:48:46 +03:00
Alexey Milovidov
58d7d1e451
Resolved some of PVS-Studio warnings
2019-04-22 19:07:09 +03:00
Ivan
118bea2be6
Enable predicate push-down optimization by default. ( #4846 )
...
* Enable predicate push-down optimization by default.
* Forbid push-downs for some JOIN cases.
* Fix existing tests
* Forbid optimization if a select query has ARRAY JOIN on any side.
2019-04-18 13:39:25 +03:00
Vitaly Baranov
345ae9aaa5
Merge pull request #5037 from vitlibar/fix-ubsan-errors
...
Fix ubsan errors
2019-04-17 23:39:01 +03:00
Vitaly Baranov
58a9105038
Fix ubsan error "outside the range of representable values" in convertFieldToType.cpp
2019-04-17 19:10:40 +03:00
alexey-milovidov
7b201a9491
Merge pull request #4986 from 4ertus2/ast
...
Partially fix distributed_product_mode=local columns access
2019-04-17 17:59:01 +03:00
Artem Zuikov
29c92372a2
Merge pull request #4993 from 4ertus2/asof
...
Radix sort for ASOF JOIN
2019-04-16 21:31:21 +03:00
alexey-milovidov
76b6d43a53
Merge pull request #5001 from 4ertus2/bugs
...
Fix select distinct with join
2019-04-16 20:08:15 +03:00
chertus
041f299979
Merge branch 'master' into bugs
2019-04-16 15:48:56 +03:00
chertus
a519e7f01a
Merge branch 'master' into asof
2019-04-16 15:48:28 +03:00
Vitaly Baranov
39c71075fa
Don't wait for the reloading when it's been doing in another thread.
2019-04-16 14:40:36 +03:00
Vitaly Baranov
6d96443440
Resolve correctly when dictionary depends on dictionary
2019-04-15 20:40:45 +03:00
chertus
7697b18b07
enable RadixSort for ASOF JOIN over UInt32
2019-04-15 17:09:39 +03:00
chertus
9c80466230
add comment
2019-04-15 14:22:51 +03:00
alesapin
8cd18c0723
Merge pull request #4991 from yandex/fix_ddl_on_relicated_table
...
Do not send queries received from DDLWorker to leader replica
2019-04-15 13:07:55 +03:00
Anton Popov
7f93f9ad2f
TTL for columns and tables ( #4212 )
...
Add TTL for columns and tables.
2019-04-15 12:30:45 +03:00
Danila Kutenin
b81e0f51f1
fix compilation in clickhouse
2019-04-14 13:37:25 +03:00
chertus
950f8a7042
fix distinct with join
2019-04-12 20:04:38 +03:00
chertus
4192deb5ad
radix sort for asof join
2019-04-12 15:48:00 +03:00
alesapin
f47e3292e1
Do not send queries to leader replica received from DDLWorker
2019-04-12 14:06:05 +03:00
chertus
4707200f83
partially fix distributed_product_mode=local
2019-04-11 22:29:28 +03:00
alexey-milovidov
d083976b88
Merge pull request #4952 from 4ertus2/ast
...
Rewrite ASTSelectQuery (consistent children)
2019-04-11 13:38:44 +03:00
alexey-milovidov
7e7b458eb9
Merge pull request #4938 from 4ertus2/joins
...
Fix unexpected error in case of JOIN + ARRAY JOIN
2019-04-11 13:35:31 +03:00
chertus
ee6c83a2f7
global join: fix wrong name qualification (save replaced table name as alias)
2019-04-10 20:41:19 +03:00
chertus
e53a50e01a
fix pushdown & build
2019-04-09 19:49:52 +03:00
chertus
9329410012
fix use after move
2019-04-09 17:59:06 +03:00
chertus
82dc1fb1db
rewrite ASTSelectQuery (consistent children)
2019-04-09 17:22:35 +03:00
chertus
58d24c0840
join + array join: fix unexpected error
2019-04-08 15:35:26 +03:00
Artem Zuikov
cbb0404d19
Merge pull request #4924 from Gladdy/martijn-asof-speedup
...
Significant speedup of ASOF join
2019-04-06 21:38:46 +03:00
alexey-milovidov
04a163b952
Merge pull request #4922 from yandex/fix-issue-4919
...
Fix types for aggregate functions with low cardinality arguments.
2019-04-06 18:07:25 +03:00
Alexey Milovidov
07334ebad4
Fixed race condition in DNSCacheUpdater
2019-04-06 04:09:15 +03:00
Alexey Milovidov
571bc7065a
Removed unused code related to MemoryTracker
2019-04-06 01:35:56 +03:00
Martijn Bakker
0848f53bed
move the sorted atomic bool first in the class
2019-04-05 21:22:57 +01:00
Martijn Bakker
442c001fd5
fix style
2019-04-05 19:05:24 +01:00
Martijn Bakker
f96a7e401e
remove the list lookup and prevent the global lock
2019-04-05 18:59:48 +01:00
Nikolai Kochetov
523c8e5ec1
Remove LowCardinality from aggregate function argument types. #4919
2019-04-05 19:52:31 +03:00
chertus
aae1e56214
fix typo
2019-04-05 15:57:08 +03:00
chertus
f50a0778fb
fix missing column error message
2019-04-05 15:50:14 +03:00
chertus
e578020bd3
safe tables order in select * with multiple joins
2019-04-04 15:14:10 +03:00
chertus
6b49900e1a
Asterisks for multiple joins CLICKHOUSE-4372
2019-04-03 19:06:05 +03:00
chertus
d5ffbd9b6d
fix multithreaded ASOF JOIN crash
2019-04-02 21:50:35 +03:00
chertus
04efcf2bdc
asof refactoring (searching for the crash reason)
2019-04-02 19:22:14 +03:00
chertus
886e6883e6
fix clang-7 build
2019-04-01 21:37:52 +03:00
chertus
9ed4ac7e82
get rid of macro in AsofRowRefs
2019-04-01 19:44:15 +03:00
Artem Zuikov
b6b9be7b8f
Merge pull request #4867 from Gladdy/martijn-asof-working-bt
...
Return the correct timestamp for the right-hand table of the ASOF join
2019-04-01 15:36:27 +03:00
Artem Zuikov
019c6ca591
Merge pull request #4794 from zhang2014/fix/crash_when_predicate
...
fix crash when predicate optimzer & join on
2019-04-01 15:09:50 +03:00
Martijn Bakker
d4ec3bbf70
fix style
2019-04-01 11:35:37 +01:00