New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusing (wrong) error message. #4222
Labels
Comments
den-crane
changed the title
Confusing (wrong error) message.
Confusing (wrong) error message.
Feb 1, 2019
. |
Reproducing in 20.4 SELECT
dummy,
x
FROM system.one
ANY LEFT JOIN
(
SELECT
dummy,
materialize(1) AS x
) AS t2 USING (dummy)
GROUP BY dummy DB::Exception: Not found column x in block. There are only columns: dummy. Expected behavior SELECT
a,
b
FROM
(
SELECT
number AS a,
number + 1 AS b
FROM system.numbers
LIMIT 10
)
GROUP BY a DB::Exception: Column Additional context SELECT
dummy,
any(x)
FROM system.one
ANY LEFT JOIN
(
SELECT
dummy,
materialize(1) AS x
) AS t2 USING (dummy)
GROUP BY dummy
┌─dummy─┬─any(x)─┐
│ 0 │ 1 │
└───────┴────────┘ |
alexey-milovidov
added
the
st-hold
We've paused the work on issue for some reason
label
Oct 19, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Expected:
DB::Exception: Column r.a is not under aggregate function and not in GROUP BY..
The text was updated successfully, but these errors were encountered: