Skip to content

EXPLAIN for INSERT ... SELECT ... queries #72188

@filimonov

Description

@filimonov
Code: 80. DB::Exception: Only SELECT is supported for EXPLAIN query. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below):

0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000cfdd71b
1. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007f0844c
2. DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x0000000007f15b8b
3. DB::InterpreterExplainQuery::executeImpl() @ 0x00000000112566b2
4. DB::InterpreterExplainQuery::execute() @ 0x000000001125185d
5. DB::executeQueryImpl(char const*, char const*, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000011804503
6. DB::executeQuery(String const&, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001180033a

P.S. i needed that to debug issue with parallel_distributed_insert_select

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions