From 0574f2b497e2eb2197513de27448e29aff3cdf53 Mon Sep 17 00:00:00 2001 From: Manas Alekar Date: Tue, 25 Apr 2023 09:01:17 -0700 Subject: [PATCH] Fix style. --- src/Client/ClientBase.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Client/ClientBase.cpp b/src/Client/ClientBase.cpp index fc087c9c040..9a145f484bc 100644 --- a/src/Client/ClientBase.cpp +++ b/src/Client/ClientBase.cpp @@ -572,7 +572,8 @@ try CompressionMethod compression_method = chooseCompressionMethod(out_file, compression_method_string); UInt64 compression_level = 3; - if (query_with_output->is_outfile_append && compression_method != CompressionMethod::None) { + if (query_with_output->is_outfile_append && compression_method != CompressionMethod::None) + { throw Exception( ErrorCodes::BAD_ARGUMENTS, "Cannot append to compressed file. Please use uncompressed file or remove APPEND keyword.");