From 570f34f0aee75061df3a958f49e1dcd76582ab2f Mon Sep 17 00:00:00 2001 From: mkaruza Date: Tue, 7 Jan 2025 16:29:37 +0100 Subject: [PATCH] Update empty comment --- src/scan/postgres_table_reader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scan/postgres_table_reader.cpp b/src/scan/postgres_table_reader.cpp index e5741562..583d4f0e 100644 --- a/src/scan/postgres_table_reader.cpp +++ b/src/scan/postgres_table_reader.cpp @@ -167,11 +167,11 @@ PostgresTableReader::PostgresTableReaderCleanup() { int PostgresTableReader::ParallelWorkerNumber(Cardinality cardinality) { static const int cardinality_threshold = 1 << 16; - /* No parallel scan wanted */ + /* No parallel worker scan wanted */ if (!duckdb_max_workers_per_postgres_scan) { return 0; } - /* */ + /* Use only one worker when scan is done on low cardinality */ if (cardinality <= cardinality_threshold) { return 1; }