alexey-milovidov
1d98441c34
Update ExpressionAnalyzer.cpp
2019-05-25 13:51:48 +03:00
Constantin S. Pan
cbc0f56af1
Mark all input columns in LIMIT BY as required output
...
The query analyzer only marks the actual arguments of LIMIT BY as required
output for the LimitBy step in the pipeline. This is fine, unless the query is
distributed, in which case the first stage might remove a column that is used
at the second stage (e.g. for ORDER BY) but is not part of the final select.
Prevent removal of any columns in LimitBy by marking all input columns as
required output.
2019-05-24 09:53:09 +01:00
chertus
187311add0
add decimal to decimal convertion in IN
2019-05-20 18:51:54 +03:00
Ivan Lezhankin
0821d62516
Merge ITableDeclaration into IStorage.
...
Also a couple of massive include-refactorings with better forwarding
2019-05-17 17:34:25 +03:00
chertus
b166791176
batched version of RowRefList
2019-05-14 17:40:43 +03:00
chertus
6200d20dc2
RowRefList refactoring
2019-05-14 17:39:03 +03:00
chertus
20e7de7cce
fix perf regression: do not add right join key to result if possible
2019-05-13 21:58:15 +03:00
alexey-milovidov
001e4bfe76
Merge pull request #5209 from PerformanceVision/rename_mv
...
Support rename operation for MaterializeView storage
2019-05-09 23:10:41 +03:00
alexey-milovidov
a1cb9a2d67
Merge pull request #5152 from janplus/bug-null-in
...
Fix null problem in FunctionIn
2019-05-09 19:22:41 +03:00
Guillaume Tassery
c8bf190f84
add unsafe function member for (add|remove)dependency for calling manually the context locking
2019-05-09 13:12:02 +07:00
chertus
4969ad2f98
correct comment & some renames
2019-05-08 13:53:45 +03:00
chertus
74feef7e53
Join.h refactoring: remove unneeded specialisations
2019-05-07 21:21:44 +03:00
吴健
84ee8cec93
Add function ignoreExceptNull to meet nullable functionIn's requirement for optimization of analyse.
2019-05-07 13:20:23 +08:00
zhang2014
359e4c33bd
try fix push require columns with join
2019-05-05 19:12:07 +08:00
Alexey Milovidov
a6ca9f266f
Removed huge chunk of bad code
2019-05-03 05:00:57 +03:00
Alexey Milovidov
270a31abb5
Rename method for consistency
2019-05-02 19:07:23 +03:00
alexey-milovidov
d4b4a9425b
Merge pull request #5154 from yandex/fix-low-cardinality-keys-in-set-index
...
LowCardinality keys in set index
2019-05-01 20:19:04 +03:00
Nikolai Kochetov
6a3966cd08
Update PreparedSets.h
2019-04-30 17:46:17 +03:00
Vitaly Baranov
19259ab5e3
Get rid of thread_local in SettingsConstraints.cpp
2019-04-30 17:09:10 +03:00
Nikolai Kochetov
6b2656b02c
Remove LowCardinality from types in PreparedSetKey. #5031
2019-04-30 13:34:12 +03:00
alexey-milovidov
0a34e05130
Merge pull request #5138 from CurtizJ/limit-by-offset
...
Added support of LIMIT n, m BY clause.
2019-04-30 00:17:29 +03:00
CurtizJ
7766f5c0c3
added offset for limit by
2019-04-29 16:12:39 +03:00
alexey-milovidov
0a88bcbb48
Merge pull request #5129 from kvinty/msd-radix-sort
...
[WIP] Add MSD radix sort
2019-04-29 04:50:27 +03:00
Evgenii Pravda
91ccf2ab20
Fixes
2019-04-27 20:52:43 +03:00
Vitaly Baranov
7801671225
Use shared_ptr to avoid copying SettingsConstraints
2019-04-27 01:09:16 +03:00
Vitaly Baranov
7e3c8d6022
Implement new constraints: "min" and "readonly".
2019-04-27 01:09:16 +03:00
Evgenii Pravda
568ef78803
Add MSD radix sort
2019-04-27 01:07:32 +03:00
Vitaly Baranov
77e7838c30
Implemented iterators in the SettingsCollection template class
2019-04-26 19:11:05 +03:00
Vitaly Baranov
d43e7a8960
Implement max
constraints for number settings.
2019-04-26 19:11:05 +03:00
Vitaly Baranov
8277e9d8f1
Refactoring of Settings based on new template class SettingsCollection.
...
Add new class SettingsConstraints.
2019-04-26 19:11:05 +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