mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Enable block skip for null format in processors pipeline.
This commit is contained in:
parent
f85e7ca36d
commit
b3e33b8330
@ -578,8 +578,10 @@ BlockIO executeQuery(
|
||||
|
||||
if (const auto * ast_query_with_output = dynamic_cast<const ASTQueryWithOutput *>(ast.get()))
|
||||
{
|
||||
String format_name = ast_query_with_output && (ast_query_with_output->format != nullptr)
|
||||
? getIdentifierName(ast_query_with_output->format) : context.getDefaultFormat();
|
||||
String format_name = ast_query_with_output->format
|
||||
? getIdentifierName(ast_query_with_output->format)
|
||||
: context.getDefaultFormat();
|
||||
|
||||
if (format_name == "Null")
|
||||
streams.null_format = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user