remove debug logs

This commit is contained in:
vdimir 2024-10-29 15:12:03 +00:00
parent d1cbc4d86b
commit 66f750ea6f
No known key found for this signature in database
GPG Key ID: 6EE4CE2BEDC51862
2 changed files with 1 additions and 4 deletions

View File

@ -1504,7 +1504,6 @@ bool Aggregator::executeOnBlock(Columns columns,
&& worth_convert_to_two_level)
{
size_t size = current_memory_usage + params.min_free_disk_space;
LOG_DEBUG(&Poco::Logger::get("XXXX"), "{}:{}: {} {}", __FILE__, __LINE__, current_memory_usage, params.min_free_disk_space);
writeToTemporaryFile(result, size);
}
@ -1521,7 +1520,6 @@ void Aggregator::writeToTemporaryFile(AggregatedDataVariants & data_variants, si
size_t rows = data_variants.size();
std::unique_lock lk(tmp_files_mutex);
LOG_DEBUG(&Poco::Logger::get("XXXX"), "{}:{}: max_temp_file_size {}", __FILE__, __LINE__, max_temp_file_size);
auto & out_stream = tmp_files.emplace_back(getHeader(false), tmp_data.get(), max_temp_file_size);
lk.unlock();
@ -2934,7 +2932,6 @@ bool Aggregator::mergeOnBlock(Block block, AggregatedDataVariants & result, bool
&& worth_convert_to_two_level)
{
size_t size = current_memory_usage + params.min_free_disk_space;
LOG_DEBUG(&Poco::Logger::get("XXXX"), "{}:{}: {} {}", __FILE__, __LINE__, current_memory_usage, params.min_free_disk_space);
writeToTemporaryFile(result, size);
}

View File

@ -31,7 +31,7 @@ CreateQueryUUIDs::CreateQueryUUIDs(const ASTCreateQuery & query, bool generate_r
/// If we generate random UUIDs for already existing tables then those UUIDs will not be correct making those inner target table inaccessible.
/// Thus it's not safe for example to replace
/// "ATTACH MATERIALIZED VIEW mv AS SELECT a FROM b" with
/// "ATTACH MATERIALIZED VIEW mv TO INNER UUID "XXXX" AS SELECT a FROM b"
/// "ATTACH MATERIALIZED VIEW mv TO INNER UUID "248372b7-02c4-4c88-a5e1-282a83cc572a" AS SELECT a FROM b"
/// This replacement is safe only for CREATE queries when inner target tables don't exist yet.
if (!query.attach)
{