chertus
668b220258
fix push down
2019-02-08 18:37:43 +03:00
chertus
6309377323
remove fix for JOIN ON columns in collectUsedColumns
2019-02-08 14:14:48 +03:00
chertus
9a8db441c3
some mote ExpressionAnalyzer refactoring
2019-02-06 17:48:05 +03:00
alexey-milovidov
fdfb60318c
Merge pull request #4193 from 4ertus2/ast
...
Refactoring: extract SubqueryForSet to own files
2019-02-02 15:28:31 +03:00
chertus
866c2b2e78
move required right keys calculation to Join.cpp
2019-01-30 18:51:39 +03:00
chertus
d6450bc488
Refactoring: extract SubqueryForSet to own files
2019-01-30 15:01:00 +03:00
Alexey Zatelepin
f3b4292fc6
add data types to the prepared_sets key for literals #4058
2019-01-23 14:20:01 +03:00
Alexey Zatelepin
5154814bf9
try to get rid of IAST::range #4058
2019-01-23 14:19:22 +03:00
chertus
8bb35ac987
minor changes
2019-01-16 21:38:19 +03:00
chertus
dbb88e8cb4
helpers for ASTIdentifier (hide semantic and casts)
2019-01-14 21:15:04 +03:00
chertus
0084785898
fix build
2019-01-11 00:05:01 +03:00
alexey-milovidov
644e9fc31f
Merge pull request #3930 from 4ertus2/ast
...
rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996
2018-12-27 18:36:22 +03:00
alexey-milovidov
67dbfd8e81
Update ExpressionAnalyzer.cpp
2018-12-26 23:33:29 +03:00
chertus
0812f79421
remove unused code
2018-12-26 21:56:21 +03:00
chertus
6ea13516f0
rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996
2018-12-26 17:43:25 +03:00
chertus
cbf3c34cf3
minor improvement in ExpressionAnalyzer + array join
2018-12-19 16:13:51 +03:00
alexey-milovidov
7af621f6f7
Merge pull request #3728 from amosbird/join
...
Versatile StorageJoin
2018-12-10 23:16:53 +03:00
chertus
9236e94e1b
ExecuteScalarSubqueriesVisitor via InDepthNodeVisitor
2018-12-10 16:02:45 +03:00
chertus
2afe664d67
RequiredSourceColumnsVisitor via InDepthNodeVisitor
2018-12-07 19:28:20 +03:00
chertus
31c629bf55
GlobalSubqueriesMatcher via InDepthNodeVisitor
2018-12-07 18:36:54 +03:00
chertus
abffefc830
ExternalTablesVisitor via InDepthNodeVisitor
2018-12-07 18:14:50 +03:00
chertus
75af882cf3
fix AST debug print with underline symbol
2018-12-07 15:34:40 +03:00
Amos Bird
65b654a1b6
Versatile StorageJoin
...
This commit does the following:
1. StorageJoin with simple keys now supports reading
2. StorageJoin can be created with Join settings applied. Syntax is
similar to MergeTree and Kafka
3. Left Any StorageJoin with one simple key can be used as a
dictionary-like structure by function joinGet.
Examples are listed in the related test file.
2018-12-02 16:49:39 +08:00
Alexey Zatelepin
d3d9242462
Merge branch 'master' into alter-order-by
...
Conflicts:
dbms/src/Parsers/ASTAlterQuery.h
dbms/src/Parsers/ParserAlterQuery.cpp
dbms/src/Storages/AlterCommands.cpp
dbms/src/Storages/AlterCommands.h
2018-11-26 16:01:48 +03:00
Alexey Milovidov
5a0feee45e
Removed "conditional computations" feature, because it is not ready #2272
2018-11-26 04:39:04 +03:00
Alexey Milovidov
c77930fe30
Whitespaces [#CLICKHOUSE-2]
2018-11-26 03:56:50 +03:00
Alexey Milovidov
6f48ebbb06
Better exception message in case of "unknown identifier" [#CLICKHOUSE-4142]
2018-11-21 23:35:55 +03:00
Alexey Zatelepin
29b34365e6
Merge branch 'master' into alter-order-by
...
Conflicts:
dbms/src/Interpreters/ExpressionAnalyzer.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp
2018-11-13 16:27:19 +03:00
Alexey Zatelepin
7167bfd7b3
fix prewhere with FINAL for VersionedCollapsingMergeTree [#CLICKHOUSE-3859]
2018-11-13 16:15:12 +03:00
Nikolai Kochetov
28be6d6443
Review fixes.
2018-11-09 20:23:48 +03:00
Nikolai Kochetov
1e9aeba603
Split ExpressionAnalyzer and SyntaxAnalyzer.
2018-11-09 18:01:18 +03:00
Nikolai Kochetov
726ae0cb9a
Split ExpressionAnalyzer and SyntaxAnalyzer.
2018-11-08 19:47:12 +03:00
Nikolai Kochetov
29fe5ea5b6
Review fixes.
2018-11-08 14:17:31 +03:00
Nikolai Kochetov
90120493bf
Syntax analyzer (in progress).
2018-11-08 12:06:11 +03:00
Nikolai Kochetov
a5a36d0078
Syntax analyzer (in progress).
2018-11-08 12:01:41 +03:00
Nikolai Kochetov
6ebfd2c42f
Syntax analyzer (in progress).
2018-11-08 12:01:12 +03:00
Nikolai Kochetov
748b0f7077
SyntaxAnalyzer (in progress).
2018-11-07 15:44:05 +03:00
Nikolai Kochetov
bcd6e03257
SyntaxAnalyzer (in progress).
2018-11-06 21:13:35 +03:00
Artem Zuikov
eb535c4b9b
Merge pull request #3500 from 4ertus2/joins
...
refactoring: one place for db and table extraction from AST
2018-11-01 14:59:56 +03:00
alesapin
63c6647be4
Better comment
2018-11-01 14:23:23 +03:00
alesapin
abcc692dbf
CLICKHOUSE-4096: Fix nested unaliased joins segfault
2018-11-01 14:23:23 +03:00
chertus
d8674a264a
ExpressionAnalyzer fix columns deduplication
2018-10-31 15:58:12 +03:00
chertus
4ff0391ca6
DatabaseAndTableWithAlias - the only place for db & table expraction from AST
2018-10-30 19:31:21 +03:00
chertus
d2518fdb3f
more refactoring: funcs to extract database_and_table from AST
2018-10-29 22:04:28 +03:00
chertus
95c618b163
ExpressionAnalyzer: remove duplicated code
2018-10-26 18:13:02 +03:00
chertus
a62fae8332
Merge branch 'master' into joins
2018-10-22 11:25:43 +03:00
chertus
5aedca40c2
fix asan
2018-10-18 22:27:28 +03:00
chertus
a32e06d298
more ExpressionAnalyzer refactoring [CLICKHOUSE-3996]
2018-10-18 18:03:14 +03:00
chertus
5d3f03a6d2
minor refactoring (function naming)
2018-10-17 14:06:46 +03:00
chertus
40f1805bf4
fix gcc build
2018-10-17 13:59:05 +03:00