You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, I'd want duckdb to throw if I accidentally use the same column identifier twice rather than silently continuing ( #11520) . However, in the absence of that I'd expect that the ORDER BY x actually orders by the column that's later called x.
To Reproduce
CREATE OR REPLACETABLEdfAS (SELECT random() a FROM range(10));
SELECT unnest(range(10)) AS r2, unnest(ARRAY(FROM df)) AS r2 ORDER BY r2;
What happens?
ORDER BY doesn't work right with deduplication.
Ideally, I'd want duckdb to throw if I accidentally use the same column identifier twice rather than silently continuing ( #11520) . However, in the absence of that I'd expect that the
ORDER BY x
actually orders by the column that's later calledx
.To Reproduce
Would have expected ordering by the column that's actually called
r2
after deduplication.OS:
Linux
DuckDB Version:
0.10.2
DuckDB Client:
Python
Full Name:
Soeren Wolfers
Affiliation:
G-Research
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a stable release
Did you include all relevant data sets for reproducing the issue?
Yes
Did you include all code required to reproduce the issue?
Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?
The text was updated successfully, but these errors were encountered: