Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interpreter: Remove delete query #4594

Merged
merged 5 commits into from
May 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 0 additions & 128 deletions dbms/src/Interpreters/InterpreterDeleteQuery.cpp

This file was deleted.

42 changes: 0 additions & 42 deletions dbms/src/Interpreters/InterpreterDeleteQuery.h

This file was deleted.

7 changes: 0 additions & 7 deletions dbms/src/Interpreters/InterpreterFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <Interpreters/InterpreterAlterQuery.h>
#include <Interpreters/InterpreterCreateQuery.h>
#include <Interpreters/InterpreterDBGInvokeQuery.h>
#include <Interpreters/InterpreterDeleteQuery.h>
#include <Interpreters/InterpreterDescribeQuery.h>
#include <Interpreters/InterpreterDropQuery.h>
#include <Interpreters/InterpreterExistsQuery.h>
Expand All @@ -34,7 +33,6 @@
#include <Parsers/ASTAlterQuery.h>
#include <Parsers/ASTCreateQuery.h>
#include <Parsers/ASTDBGInvokeQuery.h>
#include <Parsers/ASTDeleteQuery.h>
#include <Parsers/ASTDropQuery.h>
#include <Parsers/ASTInsertQuery.h>
#include <Parsers/ASTManageQuery.h>
Expand Down Expand Up @@ -134,11 +132,6 @@ std::unique_ptr<IInterpreter> InterpreterFactory::get(ASTPtr & query, Context &
throwIfReadOnly(context);
return std::make_unique<InterpreterAlterQuery>(query, context);
}
else if (typeid_cast<ASTDeleteQuery *>(query.get()))
{
bool allow_materialized = static_cast<bool>(context.getSettingsRef().insert_allow_materialized_columns);
return std::make_unique<InterpreterDeleteQuery>(query, context, allow_materialized);
}
else if (typeid_cast<ASTDBGInvokeQuery *>(query.get()))
{
return std::make_unique<InterpreterDBGInvokeQuery>(query, context);
Expand Down
48 changes: 0 additions & 48 deletions dbms/src/Parsers/ASTDeleteQuery.cpp

This file was deleted.

58 changes: 0 additions & 58 deletions dbms/src/Parsers/ASTDeleteQuery.h

This file was deleted.

Loading