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
>selectnullas v
::: from'./testdata/csv/userdata1.csv'
::: where v is not null;
Error: Schema error: No field named v. Valid fields are "./testdata/csv/userdata1.csv".registration_dttm, "./testdata/csv/userdata1.csv".id, "./testdata/csv/userdata1.csv".first_name, "./testdata/csv/userdata1.csv".last_name, "./testdata/csv/userdata1.csv".email, "./testdata/csv/userdata1.csv".gender, "./testdata/csv/userdata1.csv".ip_address, "./testdata/csv/userdata1.csv".cc, "./testdata/csv/userdata1.csv".country, "./testdata/csv/userdata1.csv".birthdate, "./testdata/csv/userdata1.csv".salary, "./testdata/csv/userdata1.csv".title, "./testdata/csv/userdata1.csv".comments.
Note: you can order by the expr, but not filter by it.
select1as v, *from'./testdata/csv/userdata1.csv'order by v;
Additional Context.
This works as expected in duckdb and clickhouse.
The text was updated successfully, but these errors were encountered:
postgres=# select a as aa from (values (1), (2)) t1(a) where a = 1;
aa
----
1
(1 row)
postgres=# select a as aa from (values (1), (2)) t1(a) where aa = 1;
ERROR: column "aa" does not exist
LINE 1: select a as aa from (values (1), (2)) t1(a) where aa = 1;
^
HINT: Perhaps you meant to reference the column "t1.a".
tychoish
added
ux 💎
Convenience label for grouping UX issues
syntax
Issues or features related to our SQL syntax
and removed
bug 🐛
Something isn't working
labels
Apr 9, 2024
Description
MRE
Note: you can order by the expr, but not filter by it.
Additional Context.
This works as expected in duckdb and clickhouse.
The text was updated successfully, but these errors were encountered: