Fix warm-up blocking: use LIMIT 1 instead of COUNT(*)
COUNT(*) on large tables (CNPJ, RAIS) held the lock for 30s+ each, blocking all incoming queries during startup. LIMIT 1 warms the S3 file-listing cache in < 1s per table without reading all Parquet footers.
This commit is contained in:
Reference in New Issue
Block a user