diff --git a/pipeline/04_best_icon/select.sql b/pipeline/04_best_icon/select.sql index bb0219c..aa723f8 100644 --- a/pipeline/04_best_icon/select.sql +++ b/pipeline/04_best_icon/select.sql @@ -18,6 +18,8 @@ FROM ( WHERE i.scan_state = 'completed' AND i.s3_key IS NOT NULL AND i.content_type NOT IN ('image/svg+xml') + AND (i.width IS NULL OR i.width > 2) + AND (i.height IS NULL OR i.height > 2) ORDER BY i.host_id, CASE WHEN i.width = i.height AND i.width IN (64, 48, 32, 16) THEN 0