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
Nikolai Kochetov
56141a1e6b
Update ActionsVisitor.cpp
2020-10-02 12:13:26 +03:00
alesapin
0f92f60ab2
Update ActionsVisitor.cpp
2020-10-01 14:35:56 +03:00
Mark Papadakis
b642bd494d
Update ActionsVisitor.cpp
...
Refactoring: eliminated a local, throws if it matches the column name as opposed to iterating to the end of the container.
2020-10-01 12:03:19 +03:00
Nikolai Kochetov
a1aca04711
Fix build.
2020-09-30 15:32:37 +03:00
Nikolai Kochetov
782823de4d
Fix build.
2020-09-30 14:45:47 +03:00
Nikolai Kochetov
de56c02525
Merge branch 'master' into expression-dag
2020-09-29 12:18:29 +03:00
Nikolai Kochetov
53d4e5d195
Merge branch 'master' into expression-dag
2020-09-29 12:15:50 +03:00
Maxim Akhmedov
6914a86673
Put createBlockForSet declaration to header file.
2020-09-25 17:49:54 +03:00
Nikolai Kochetov
4c783f19ee
Use QueryPlan for SubqueryForSet.
2020-09-15 16:25:14 +03:00
Nikolai Kochetov
4aed515e19
Add ExpressionDAG [Part 5].
2020-09-13 16:51:31 +03:00
Nikolai Kochetov
c1469aff93
Add ExpressionDAG [Part 2].
2020-09-10 19:01:41 +03:00
Nikolai Kochetov
a5ed6409ad
Add ExpressionDAG [Part 1].
2020-09-10 10:30:03 +03:00
Nikolai Kochetov
c761970bc5
Merge branch 'master' into pipes-and-creating-sets
2020-09-04 11:38:35 +03:00
Nikolai Kochetov
b7e53208d1
Fix tests.
2020-09-04 11:36:47 +03:00
Azat Khuzhin
308e094d04
Fix arrayJoin() capturing in lambda
...
Fixes the following LOGICAL_ERROR:
$ clickhouse-client -q 'select arrayFilter((a) -> ((a, arrayJoin([[]])) IN (Null, [Null])), [])'
2020.08.16 00:32:01.967102 [ 1744189 ] {b40a5ebd-d710-4f03-bb18-57db67de1181} <Error> : Logical error: 'Lambda captured argument arrayJoin(array(array())) not found in required columns.'.
clickhouse-server: ../src/Common/Exception.cpp:45: DB::Exception::Exception(const string&, int): Assertion `false' failed.
Since there are multiple input columns for arrayJoin():
(gdb) p captured_names_
$6 = std::vector of length 3, capacity 4 = {"arrayJoin(array(array()))", "arrayJoin(array(array()))", "__set"}
While FunctionCaptureOverloadResolver cannot handle non-unique columns.
2020-08-25 21:06:21 +03:00
Nikolai Kochetov
8e631a98ea
Refactor ActionsChain.
2020-08-14 21:24:58 +03:00
Nikolai Kochetov
95bbda3667
Specify columns after ARRAY JOIN and JOIN.
...
Add ArrayJoinTransform and ArrayJoinStep.
2020-08-14 21:24:03 +03:00
Vitaly Baranov
3b9f5a827c
Fix getting settings specified in query.
2020-08-10 01:07:23 +03:00
Alexey Milovidov
af14418fc1
Fix assert in IN with tuple literals and functions
2020-08-02 02:24:54 +03:00
Alexey Milovidov
d17284e7bc
Whitespace
2020-08-02 02:06:08 +03:00
alexey-milovidov
22241017a0
Update ActionsVisitor.cpp
2020-07-31 14:39:09 +03:00
Anton Popov
a642a66934
fix IN with functions
2020-07-23 13:49:50 +03:00
Anton Popov
fc515728f4
fix performance with large tuples, which are interpreted as functions in IN section
2020-07-23 02:33:14 +03:00
Anton Popov
de7b0c2424
better exception for function 'in' with invalid number of arguments
2020-07-15 17:25:09 +03:00
Artem Zuikov
6cdeb060fb
Fix JOIN over LC and Nullable in key ( #11414 )
2020-06-04 13:07:22 +03:00
alexey-milovidov
3eea042d16
Merge pull request #11243 from ClickHouse/remove-experimental-use-processors-flag-4
...
Remove some code.
2020-05-30 21:05:14 +03:00
Alexander Tokmakov
c071e0a473
add context to DatabaseCatalog methods
2020-05-29 02:01:18 +03:00
Nikolai Kochetov
ea3f638b30
Try fix tests.
2020-05-28 17:11:36 +03:00
Azat Khuzhin
d93b9a57f6
Forward declaration for Context as much as possible.
...
Now after changing Context.h 488 modules will be recompiled instead of 582.
2020-05-21 01:53:18 +03:00
Vitaly Baranov
57bd7afc03
Fix passing dictionary's name to dictGet() with alias.
2020-05-19 21:17:29 +03:00
Amos Bird
ce3c53a00a
dictGet* with table name
2020-05-19 20:33:45 +03:00
Nikolai Kochetov
b556b7c76e
Fix notNullIn with NULL argument.
2020-05-14 17:21:38 +03:00
Alexey Milovidov
be22a4b94e
Checkpoint
2020-04-22 08:39:31 +03:00
Alexander Kuzmenkov
d15d6e1661
review fixes
2020-04-15 17:10:33 +03:00
Alexander Kuzmenkov
1d3fe23b3b
review fixes
2020-04-14 20:41:06 +03:00
Alexander Kuzmenkov
59e8230271
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-14 02:27:46 +03:00
philip.han
3149f75430
Replace a reference for Context with a copied bool value.
2020-04-09 17:27:55 +09:00
philip.han
53b5dade5e
Implement transform_null_in
2020-04-07 20:08:13 +09:00
Alexander Kuzmenkov
35783af25d
Merge remote-tracking branch 'origin/master' into HEAD
2020-04-07 03:34:39 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00