Dmitry Novik
0663f07e67
Rework expressions with window functions
2022-06-16 13:29:56 +00:00
Dmitry Novik
0c6ed20b42
Fix window expression evaluation
2022-06-13 23:11:53 +00:00
mergify[bot]
9e0d16f21d
Merge branch 'master' into window-function-expression
2022-06-10 15:31:53 +00:00
Dmitry Novik
58d79f8eed
Support expressions with window functions
2022-06-04 02:01:49 +00:00
Maksim Kita
d14193b3ad
Executable user defined functions extract parameters name and type from command value
2022-06-03 18:06:59 +02:00
Maksim Kita
6c5ec68a7c
Executable user defined functions support parameters
2022-06-03 18:05:37 +02:00
Dmitry Novik
b11749ca2c
Make GROUPING function skip constant folding
2022-05-31 16:45:29 +00:00
Dmitry Novik
16c6b60703
Introduce AggregationKeysInfo
2022-05-25 23:22:29 +00:00
Dmitry Novik
d4c66f4a48
Code cleanup & fix GROUPING() with TOTALS
2022-05-19 16:36:51 +00:00
Dmitry Novik
6356112a76
Refactor GROUPING function
2022-05-18 15:23:31 +00:00
Dmitry Novik
e5b395e054
Support ROLLUP and CUBE in GROUPING function
2022-05-16 17:33:38 +00:00
Dmitry Novik
6fc7dfea80
Support ordinary GROUP BY
2022-05-13 23:04:12 +00:00
Dmitry Novik
efb30bdf64
Correctly use __grouping_set_map column
2022-05-13 18:20:12 +00:00
Dmitry Novik
ae81268d4d
Try to compute helper column lazy
2022-05-13 14:55:50 +00:00
Dmitry Novik
c5b40a9c91
WIP on GROUPING function
2022-05-12 16:40:26 +00:00
Robert Schulze
118e94523c
Activate clang-tidy warning "readability-container-contains"
...
This check suggests replacing <Container>.count() by
<Container>.contains() which is more speaking and in case of
multimaps/multisets also faster.
2022-04-18 23:53:11 +02:00
Alexey Milovidov
a0fe29e243
Remove Arcadia
2022-04-15 23:59:49 +02:00
Amos Bird
243de091bb
Validate some thoughts over making sets
2022-03-21 10:58:44 +08:00
Maksim Kita
ed74a464bd
Fixed tests
2022-03-16 11:21:18 +00:00
Maksim Kita
b1a956c5f1
clang-tidy check performance-move-const-arg fix
2022-03-02 18:15:27 +00:00
Maksim Kita
1f5837359e
clang-tidy check performance-noexcept-move-constructor fix
2022-03-02 18:15:27 +00:00
Alexey Milovidov
3787bf72c2
Fix potential exponential growth of untuple function
2022-01-07 09:15:10 +03:00
qieqieplus
b6aa781c9b
add dot separator
2021-11-15 14:47:34 +08:00
qieqieplus
c65b384672
use func alias for untuple names
2021-11-02 11:11:48 +08:00
Nikolai Kochetov
a790d391c0
Merge branch 'master' into rewrite-pushing-to-views
2021-09-20 19:43:15 +03:00
Maksim Kita
93ecbf3ae4
Added tests
2021-09-17 18:42:59 +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
f569a3e3f7
Merge branch 'master' into rewrite-pushing-to-views
2021-09-09 20:30:23 +03:00
Nikolai Kochetov
999a4fe831
Fix other tests.
2021-09-08 21:29:38 +03:00
Nikolai Kochetov
a46fe11e2c
Try fix test_mutations_with_merge_background_task
2021-08-18 13:30:02 +03:00
Anton Popov
699a3d9031
implement legacy_column_name_of_tuple_literal in less intrusive way
2021-08-03 21:03:24 +03:00
Nikolai Kochetov
0ae7195a8c
Merge branch 'master' into use-dag-in-key-condition
2021-07-14 12:02:18 +03:00
Alexey Milovidov
efbc308739
Remove harmful code and fix crash
2021-07-10 10:27:48 +03:00
Nikolai Kochetov
7963600e9d
Merge branch 'master' into use-dag-in-key-condition
2021-06-29 19:02:00 +03:00
Nikolai Kochetov
c22f856d36
Fix indexHint
2021-06-23 15:19:22 +03:00
Anton Popov
ea9b890618
Merge branch 'master' into add-compatibility-setting
2021-06-16 21:10:56 +03:00
Anton Popov
8bd7cbd925
add compatibility setting for name of columns
2021-06-16 21:10:07 +03:00
Ivan Lezhankin
06a0ab12bc
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2021-05-27 15:57:59 +03:00
alexey-milovidov
a25f1910cc
Merge pull request #24320 from ClickHouse/remove-auto-array
...
Remove AutoArray
2021-05-22 02:19:59 +03:00
mergify[bot]
970243850f
Merge branch 'master' into ast-table-identifier-2
2021-05-21 12:56:49 +00:00
Alexey Milovidov
ea30bb7abf
Improve implementation
2021-05-21 04:17:18 +03:00
Alexey Milovidov
1006a970f7
Remove AutoArray
2021-05-20 09:30:13 +03:00
Maksim Kita
c50909468f
Updated ExpressionActionSettings
2021-05-19 17:32:07 +03:00
Maksim Kita
150a88d647
ExpressionActions compile only necessary places
2021-05-19 11:43:16 +03:00
Maksim Kita
947f28d430
IFunction refactoring
2021-05-15 20:33:15 +03:00
Ivan Lezhankin
bd16dd22b9
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2021-05-14 15:40:33 +03:00
Alexey Milovidov
903c306e04
Fix some PVS-Studio warnings
2021-05-09 01:10:10 +03:00
Alexey Milovidov
3025f9e141
More fixes for PVS-Studio
2021-05-08 19:12:49 +03:00
Ivan Lezhankin
cdd825b18b
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2021-04-23 18:08:25 +03:00
Amos Bird
32c84f77c3
Resurrect indexHint function.
2021-04-20 19:27:23 +08:00
Alexey Milovidov
ec473a90d2
Fixed missing semicolon in exception message
2021-04-17 02:14:48 +03:00
Ivan
a73483751f
Merge branch 'master' into ast-table-identifier-2
2021-04-12 20:23:28 +03:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr ( #22297 )
...
* Replace all Context references with std::weak_ptr
* Fix shared context captured by value
* Fix build
* Fix Context with named sessions
* Fix copy context
* Fix gcc build
* Merge with master and fix build
* Fix gcc-9 build
2021-04-11 02:33:54 +03:00
Ivan Lezhankin
3da3250bfd
Merge branch 'master' into ast-table-identifier-2
2021-04-09 17:56:15 +03:00
Nikolai Kochetov
a5a8a70e6f
Remove commented code.
2021-03-11 20:03:39 +03:00
Nikolai Kochetov
4f133ae036
Merge branch 'master' into refactor-actions-dag
2021-03-10 12:40:55 +03:00
Nikolai Kochetov
9a39459888
Refactor ActionsDAG
2021-03-04 20:38:12 +03:00
Nikolai Kochetov
15921fbfcb
Remove index by name from ActionsDAG
2021-03-03 23:01:07 +03:00
vdimir
a378bd08aa
Perform implicit type conversion for JOIN ON keys
2021-02-19 14:28:40 +03:00
Alexander Kuzmenkov
703731c547
something works
2021-01-13 22:29:52 +03:00
Ivan Lezhankin
5e89145a42
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2020-12-30 13:04:17 +03:00
Alexander Kuzmenkov
2905f70cce
fix aliases in partition by/order by
2020-12-28 12:56:38 +03:00
Alexander Kuzmenkov
912995cbae
some provision for aggregate fns as window fn args
...
(doesn't work yet)
also a perf test w/LIMIT BY
2020-12-24 11:49:55 +03:00
Alexander Kuzmenkov
fc426807a8
formatting & fuzzer support
2020-12-18 03:21:23 +03:00
Alexander Kuzmenkov
fef24c81e3
some grammar
2020-12-17 00:44:05 +03:00
Ivan Lezhankin
2fe6195577
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2020-12-16 14:50:36 +03:00
Alexander Kuzmenkov
88e7bc5b60
Merge origin/master into tmp (using imerge)
2020-12-10 22:12:42 +03:00
Alexander Kuzmenkov
eb0c817bf2
expression analyzer part
2020-12-09 14:14:40 +03:00
Ivan
315ff4f0d9
ANTLR4 Grammar for ClickHouse and new parser ( #11298 )
2020-12-04 05:15:44 +03:00
Ivan Lezhankin
1002148886
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2020-11-22 22:34:36 +03:00
alexey-milovidov
915d96fee0
Merge pull request #16955 from nikitamikhaylov/fix-typos
...
Fix typos
2020-11-14 17:17:37 +03:00
Ivan Lezhankin
d69b6307b5
Fix GLOBAL IN evaluation
2020-11-13 17:13:27 +03:00
nikitamikhaylov
c0940f2ebd
done
2020-11-13 02:27:18 +03:00
Ivan Lezhankin
9250d5c4e9
Merge remote-tracking branch 'upstream/master' into ast-table-identifier-2
2020-11-12 16:25:46 +03:00
Nikolai Kochetov
58c4a7b890
Some renames.
2020-11-11 19:52:27 +03:00
Nikolai Kochetov
c6575c9032
Update ExpressionActions constructur
2020-11-10 19:27:55 +03:00
Nikolai Kochetov
1db8e77371
Add comments. Update ActionsDAG::Index
2020-11-10 17:54:59 +03:00
Nikolai Kochetov
9aeb757da4
Merge branch 'master' into actions-dag-f14
2020-11-06 15:04:20 +03:00
Nikolai Kochetov
d7de4509a3
Update ActionsVisitor.cpp
2020-11-03 19:07:27 +03:00
Nikolai Kochetov
6767a226fc
Merge branch 'master' into actions-dag-f14
2020-11-03 15:21:06 +03:00
Nikolai Kochetov
07a7c46b89
Refactor ExpressionActions [Part 3]
2020-11-03 14:28:28 +03:00
Nikolai Kochetov
ceb83602b8
Refactor
2020-11-02 15:07:01 +03:00
Nikolai Kochetov
2a0db5d627
Merge branch 'master' into nikitamikhaylov-totals-having
2020-11-02 14:36:18 +03:00
Alexey Milovidov
cd597bf494
Merge branch 'master' into better-rethrow
2020-10-26 22:29:49 +03:00
Ivan
15e3254a85
Merge branch 'master' into ast-table-identifier-2
2020-10-26 18:54:18 +03:00
Ivan Lezhankin
4083406f54
Introduce ASTTableIdentifier
2020-10-26 18:49:00 +03:00
Nikolai Kochetov
02bd35924e
Merge pull request #16242 from ClickHouse/another-one-untuple
...
Another one untuple implementation
2020-10-26 12:26:43 +03:00
Alexey Milovidov
d5e277f080
Better exceptions rethrow
2020-10-26 06:35:57 +03:00
Ivan
1d170f5745
ASTTableIdentifier Part #1 : improve internal representation of ASTIdentifier name ( #16149 )
...
* Use only |name_parts| as primary name source
* Restore legacy logic for table restoration
* Fix build
* Fix tests
* Add pytest server config
* Fix tests
* Fixes due to review
2020-10-24 21:46:10 +03:00
nikitamikhaylov
d908cddb49
done
2020-10-23 22:09:02 +03:00
Nikolai Kochetov
a2014378fe
Remove has_untuple flag
2020-10-23 19:57:22 +03:00
Nikolai Kochetov
5c791edd43
Remove ColumnNameCache
2020-10-23 19:56:11 +03:00
Nikolai Kochetov
0902bc96cf
Fix build
2020-10-22 14:01:26 +03:00
Nikolai Kochetov
48142df26c
Fix tests.
2020-10-22 11:25:24 +03:00
Nikolai Kochetov
4a250ef9c6
Fix tests.
2020-10-22 09:58:20 +03:00
Nikolai Kochetov
69ae6ace47
Add untuple.
2020-10-21 21:17:27 +03:00
Alexey Milovidov
5b482f4191
Cleanups
2020-10-10 19:31:10 +03:00
Anton Popov
cc451e41f5
fix assertion with transform_null_in
2020-10-07 18:36:34 +03:00
Nikolai Kochetov
404c199448
Merge pull request #15509 from markpapadakis/patch-6
...
Update ActionsVisitor.cpp
2020-10-02 18:07:46 +03:00