Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.6.2, 2.0.0, 2.0.2
Description
Let diamonds be a non-empty table. The following two queries should both return no rows, but the first returns a single row:
SELECT
1
FROM (
SELECT
count(*)
FROM diamonds
) t1
WHERE
false
SELECT
1
FROM (
SELECT
*
FROM diamonds
) t1
WHERE
false