ClickHouse/dbms/src/Parsers
Nicolae Vartolomei fd42d1ee87 ALTER <materialized view name> MODIFY QUERY <select_query>
Trying to resurrect https://github.com/ClickHouse/ClickHouse/pull/7533.
I'd like to get this PR in if we have an agreement on syntax and general
direction, after that I'll rebase actual alter functionality from above mentioned PR.
2020-01-30 14:12:49 +00:00
..
tests More GCC warnings 2019-12-16 23:19:50 +02:00
ASTAlterQuery.cpp ALTER <materialized view name> MODIFY QUERY <select_query> 2020-01-30 14:12:49 +00:00
ASTAlterQuery.h ALTER <materialized view name> MODIFY QUERY <select_query> 2020-01-30 14:12:49 +00:00
ASTAssignment.h fix AST debug print with underline symbol 2018-12-07 15:34:40 +03:00
ASTAsterisk.cpp Get rid of useless std::move to get NRVO 2018-08-27 22:15:48 +08:00
ASTAsterisk.h JoinToSubqueryTransform with short names 2019-02-20 15:12:36 +03:00
ASTCheckQuery.h Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTColumnDeclaration.cpp Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTColumnDeclaration.h Merging 2019-06-16 19:47:47 +03:00
ASTColumnsMatcher.cpp Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTColumnsMatcher.h Rename files 2019-07-21 20:03:58 +03:00
ASTConstraintDeclaration.cpp Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTConstraintDeclaration.h Minor review fixes 2019-05-25 17:07:45 +03:00
ASTCreateQuery.cpp Add ability to create external dictionaries ON CLUSTER 2019-12-12 13:27:02 +03:00
ASTCreateQuery.h ALTER <materialized view name> MODIFY QUERY <select_query> 2020-01-30 14:12:49 +00:00
ASTCreateQuotaQuery.cpp Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ASTCreateQuotaQuery.h Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ASTCreateRowPolicyQuery.cpp Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ASTCreateRowPolicyQuery.h Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ASTDictionary.cpp Attach detach and introspection queries for dictionaries 2019-10-11 16:21:52 +03:00
ASTDictionary.h Refactoring and comments 2019-10-08 16:26:15 +03:00
ASTDictionaryAttributeDeclaration.cpp Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTDictionaryAttributeDeclaration.h Additional test 2019-10-07 19:46:35 +03:00
ASTDropAccessEntityQuery.cpp Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ASTDropAccessEntityQuery.h Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ASTDropQuery.cpp Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTDropQuery.h Parser for drop dictionary query 2019-10-08 14:10:29 +03:00
ASTEnumElement.h Fix includes 2018-12-19 20:57:51 +03:00
ASTExplainQuery.h Fixed wrong method ASTExplainQuery::formatImpl 2019-06-17 01:00:29 +03:00
ASTExpressionList.cpp First working version of parser 2019-10-07 19:23:16 +03:00
ASTExpressionList.h First working version of parser 2019-10-07 19:23:16 +03:00
ASTFunction.cpp Fixed formatting of complex expressions 2019-06-17 01:51:09 +03:00
ASTFunction.h fix AST debug print with underline symbol 2018-12-07 15:34:40 +03:00
ASTFunctionWithKeyValueArguments.cpp Add recursive parsing of pairs 2019-10-08 12:47:17 +03:00
ASTFunctionWithKeyValueArguments.h Refactoring and comments 2019-10-08 16:26:15 +03:00
ASTIdentifier.cpp throw on ambiguous qualified column 2019-10-18 00:08:28 +03:00
ASTIdentifier.h Addition to prev. revision 2019-08-08 23:26:42 +03:00
ASTIndexDeclaration.h Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTInsertQuery.cpp More GCC warnings 2019-12-16 23:19:50 +02:00
ASTInsertQuery.h Don't push to MVs when inserting into Kafka table (#7265) 2019-10-22 13:31:28 +03:00
ASTKillQueryQuery.cpp use enum for KILL query type [#CLICKHOUSE-3912] 2019-02-05 21:09:16 +03:00
ASTKillQueryQuery.h use enum for KILL query type [#CLICKHOUSE-3912] 2019-02-05 21:09:16 +03:00
ASTLiteral.cpp speedup calculation of ASTLiteral hash a bit #4058 2019-01-23 16:20:03 +03:00
ASTLiteral.h Check types of numeric literals 2019-09-02 17:33:10 +03:00
ASTNameTypePair.h Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTOptimizeQuery.cpp Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTOptimizeQuery.h fix AST debug print with underline symbol 2018-12-07 15:34:40 +03:00
ASTOrderByElement.cpp Fix for fix 2019-11-08 19:54:13 +03:00
ASTOrderByElement.h bug fixes 2019-04-23 04:48:51 +03:00
ASTPartition.cpp fix AST debug print with underline symbol 2018-12-07 15:34:40 +03:00
ASTPartition.h StringRef -> String (race cond) 2019-06-25 16:10:09 +03:00
ASTQualifiedAsterisk.cpp
ASTQualifiedAsterisk.h JoinToSubqueryTransform with short names 2019-02-20 15:12:36 +03:00
ASTQueryParameter.cpp Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTQueryParameter.h Fixes for #5331 2019-06-14 20:15:30 +03:00
ASTQueryWithOnCluster.cpp Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTQueryWithOnCluster.h Added some warnings from clang's -Weverything 2019-01-04 15:10:00 +03:00
ASTQueryWithOutput.cpp Revert wrong replacements of dynamic_cast. 2019-03-12 15:41:57 +03:00
ASTQueryWithOutput.h Fixed -Wshadow-field #4005 2019-01-24 22:37:32 +03:00
ASTQueryWithTableAndOutput.cpp Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTQueryWithTableAndOutput.h minor improvements 2019-12-27 22:30:22 +03:00
ASTRenameQuery.h Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTRoleList.cpp Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ASTRoleList.h Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ASTSampleRatio.cpp
ASTSampleRatio.h fix AST debug print with underline symbol 2018-12-07 15:34:40 +03:00
ASTSelectQuery.cpp fix 'There's no column' error for materialized and alias columns 2019-12-13 21:46:55 +03:00
ASTSelectQuery.h ISSUES-7784 disabled predicate optimize for WITH FILL expression 2019-11-15 22:10:36 +08:00
ASTSelectWithUnionQuery.cpp Fix a minor typo on formatting UNION ALL AST 2019-12-03 16:58:00 +08:00
ASTSelectWithUnionQuery.h fix AST debug print with underline symbol 2018-12-07 15:34:40 +03:00
ASTSetQuery.h Refactoring of Settings based on new template class SettingsCollection. 2019-04-26 19:11:05 +03:00
ASTShowCreateAccessEntityQuery.cpp Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ASTShowCreateAccessEntityQuery.h Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ASTShowProcesslistQuery.h
ASTShowQuotasQuery.cpp Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ASTShowQuotasQuery.h Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ASTShowRowPoliciesQuery.cpp Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ASTShowRowPoliciesQuery.h Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ASTShowTablesQuery.cpp Merge branch 'master' into dictionaries_ddl_interpreter 2019-10-14 11:49:18 +03:00
ASTShowTablesQuery.h Attach detach and introspection queries for dictionaries 2019-10-11 16:21:52 +03:00
ASTSubquery.cpp Attempt to fix CLICKHOUSE-3888 bug 2018-09-10 06:59:48 +03:00
ASTSubquery.h fix AST debug print with underline symbol 2018-12-07 15:34:40 +03:00
ASTSystemQuery.cpp cosmetic 2019-12-23 07:22:51 +01:00
ASTSystemQuery.h refactor target_table to table for better hemogny 2019-12-19 10:27:12 +01:00
ASTTablesInSelectQuery.cpp semi & anti join 2019-12-02 21:08:04 +03:00
ASTTablesInSelectQuery.h semi & anti join 2019-12-02 21:08:04 +03:00
ASTTTLElement.cpp Placed move TTL rules to a vector. 2019-12-11 13:24:20 +03:00
ASTTTLElement.h Renamed TTLDestinationType to PartDestinationType. 2019-12-11 13:24:20 +03:00
ASTUseQuery.h Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTWatchQuery.h Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
ASTWithAlias.cpp Fixed error in query formatting 2019-06-30 15:49:06 +03:00
ASTWithAlias.h Revert "Revert "Merge branch 'master' into CLICKHOUSE-3893"" 2018-09-05 12:47:57 +03:00
CMakeLists.txt Cmake: dont use LINK_MODE (but use BUILD_SHARED_LIBS) (#5091) 2019-04-24 12:06:28 +03:00
CommonParsers.cpp Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2] 2018-11-25 03:08:50 +03:00
CommonParsers.h Move IntervalKind-related functions to a separate file. 2019-12-05 21:03:57 +03:00
DumpASTNode.h Implement the debug query "ANALYZE" 2019-02-26 13:17:25 +03:00
ExpressionElementParsers.cpp fixes 2019-12-27 15:18:49 +03:00
ExpressionElementParsers.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ExpressionListParsers.cpp Parser for extended TTL expressions. 2019-12-11 13:24:20 +03:00
ExpressionListParsers.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
formatAST.cpp write metadata znode in StorageReplicatedMergeTree::alter() [#CLICKHOUSE-3859] 2018-11-13 16:13:34 +03:00
formatAST.h write metadata znode in StorageReplicatedMergeTree::alter() [#CLICKHOUSE-3859] 2018-11-13 16:13:34 +03:00
IAST_fwd.h Namespace comments are unneeded according to the code style. 2019-06-13 13:37:13 +03:00
IAST.cpp Better log messages about disks 2019-09-24 03:45:40 +03:00
IAST.h refactor InterpreterCreateQuery::createTable(...) 2019-12-20 15:51:51 +03:00
IdentifierQuotingStyle.h ISSUES-5697 fix insert and select query with mysql style identifier 2019-06-21 13:51:27 +08:00
iostream_debug_helpers.cpp Fix DUMP debug. 2019-10-28 19:39:51 +08:00
iostream_debug_helpers.h Fix DUMP debug. 2019-10-28 19:39:51 +08:00
IParser.h Initial commit to fix IParser::Pos.max_depth issue 2020-01-14 13:11:01 +02:00
IParserBase.cpp Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
IParserBase.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
Lexer.cpp fix style and add tests 2019-05-25 16:43:52 +03:00
Lexer.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
parseDatabaseAndTableName.cpp Fixed unpleasant code #6401 2019-08-08 23:02:30 +03:00
parseDatabaseAndTableName.h
parseIdentifierOrStringLiteral.cpp Fixed unpleasant code #6401 2019-08-08 23:02:30 +03:00
parseIdentifierOrStringLiteral.h
parseIntervalKind.cpp Move IntervalKind-related functions to a separate file. 2019-12-05 21:03:57 +03:00
parseIntervalKind.h Move IntervalKind-related functions to a separate file. 2019-12-05 21:03:57 +03:00
parseQuery.cpp Initial commit to fix IParser::Pos.max_depth issue 2020-01-14 13:11:01 +02:00
parseQuery.h Initial commit to fix IParser::Pos.max_depth issue 2020-01-14 13:11:01 +02:00
ParserAlterQuery.cpp ALTER <materialized view name> MODIFY QUERY <select_query> 2020-01-30 14:12:49 +00:00
ParserAlterQuery.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserCase.cpp CLICKHOUSE-3819 add CASE without ELSE 2018-08-22 18:17:40 +03:00
ParserCase.h move DumpASTNode to own file, style fixes [CLICKHOUSE-4001] 2018-10-09 17:32:11 +03:00
ParserCheckQuery.cpp Fixed unpleasant code #6401 2019-08-08 23:02:30 +03:00
ParserCheckQuery.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserCreateQuery.cpp fixes 2019-12-27 15:18:49 +03:00
ParserCreateQuery.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserCreateQuotaQuery.cpp Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ParserCreateQuotaQuery.h Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ParserCreateRowPolicyQuery.cpp Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ParserCreateRowPolicyQuery.h Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ParserDescribeTableQuery.cpp more refactoring: funcs to extract database_and_table from AST 2018-10-29 22:04:28 +03:00
ParserDescribeTableQuery.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserDictionary.cpp Refactor parser create query 2019-10-09 23:09:10 +03:00
ParserDictionary.h Refactor parser create query 2019-10-09 23:09:10 +03:00
ParserDictionaryAttributeDeclaration.cpp Refactoring and comments 2019-10-08 16:26:15 +03:00
ParserDictionaryAttributeDeclaration.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserDropAccessEntityQuery.cpp Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ParserDropAccessEntityQuery.h Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ParserDropQuery.cpp Parser for drop dictionary query 2019-10-08 14:10:29 +03:00
ParserDropQuery.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserInsertQuery.cpp distinguish table function with list of columns from an aggregate function with list of parameters 2019-11-18 19:49:23 +03:00
ParserInsertQuery.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
ParserKillQueryQuery.cpp use enum for KILL query type [#CLICKHOUSE-3912] 2019-02-05 21:09:16 +03:00
ParserKillQueryQuery.h
ParserOptimizeQuery.cpp Addition to prev. revision 2019-08-08 23:27:12 +03:00
ParserOptimizeQuery.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserPartition.cpp StringRef -> String (race cond) 2019-06-25 16:10:09 +03:00
ParserPartition.h
ParserQuery.cpp Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ParserQuery.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
ParserQueryWithOutput.cpp Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ParserQueryWithOutput.h Add support for settings 'format_schema' in an output query. 2019-01-23 22:23:37 +03:00
ParserRenameQuery.cpp Fixed unpleasant code #6401 2019-08-08 23:02:30 +03:00
ParserRenameQuery.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserRoleList.cpp Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ParserRoleList.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserSampleRatio.cpp Addition to prev. revision #3926 2018-12-27 03:02:11 +03:00
ParserSampleRatio.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserSelectQuery.cpp fix 2019-11-19 18:00:11 +03:00
ParserSelectQuery.h
ParserSelectWithUnionQuery.cpp Rename As<…> → as<…> 2019-03-11 16:22:51 +03:00
ParserSelectWithUnionQuery.h
ParserSetQuery.cpp Fixed unpleasant code #6401 2019-08-08 23:02:30 +03:00
ParserSetQuery.h
ParserShowCreateAccessEntityQuery.cpp Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ParserShowCreateAccessEntityQuery.h Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ParserShowProcesslistQuery.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserShowQuotasQuery.cpp Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ParserShowQuotasQuery.h Add DCL to manage quotas. 2019-12-05 21:03:57 +03:00
ParserShowRowPoliciesQuery.cpp Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ParserShowRowPoliciesQuery.h Add DCL to manage row policies. 2019-12-19 18:40:21 +03:00
ParserShowTablesQuery.cpp Attach detach and introspection queries for dictionaries 2019-10-11 16:21:52 +03:00
ParserShowTablesQuery.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserSystemQuery.cpp cosmetic 2019-12-23 07:22:51 +01:00
ParserSystemQuery.h
ParserTablePropertiesQuery.cpp Fixed segfault in EXISTS query 2019-12-13 23:24:03 +03:00
ParserTablePropertiesQuery.h Add show create dictionary 2019-10-08 15:34:04 +03:00
ParserTablesInSelectQuery.cpp semi & anti join 2019-12-02 21:08:04 +03:00
ParserTablesInSelectQuery.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserUnionQueryElement.cpp Rename As<…> → as<…> 2019-03-11 16:22:51 +03:00
ParserUnionQueryElement.h
ParserUseQuery.cpp Fixed unpleasant code #6401 2019-08-08 23:02:30 +03:00
ParserUseQuery.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
ParserWatchQuery.cpp Merged with master. 2019-08-12 13:19:13 +03:00
ParserWatchQuery.h Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
queryToString.cpp
queryToString.h
StringRange.h Revert "Revert "Merge branch 'master' into CLICKHOUSE-3893"" 2018-09-05 12:47:57 +03:00
TablePropertiesQueriesASTs.h Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
TokenIterator.cpp
TokenIterator.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00