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
While migrating duckdb tests into GreptimeDB, there're many SQLs that are not available:
Refused by datafusion:
Exists:
>SELECT EXISTS(SELECT1);
ERROR 1815 (HY000): (EngineExecuteQuery): DataFusion error: This feature is not implemented: Physical plan does not support logical expression Exists(Exists { subquery: <subquery>, negated: false });
Correlated column in predicate
>SELECTs.n, e.course, e.gradeFROM students s, exams e WHEREs.id=e.sidAND (s.major='CS'ORs.major='Games Eng') ANDe.grade<= (SELECTAVG(e2.grade) -1FROM exams e2 WHEREs.id=e2.sidOR (e2.curriculum=s.majorANDs.y>=e2.y)) ORDER BY n, course;
ERROR 1815 (HY000): (EngineExecuteQuery): DataFusion error: Error during planning: Correlated column is not allowed in predicate: outer_ref(s.id) =e2.sidORe2.curriculum= outer_ref(s.major) AND outer_ref(s.y) >=e2.y;
Unsupported:
Direct FROM
>FROM numbers;
ERROR 1235 (42000): (Unsupported): SQL statement is not supported, keyword: FROM
unamed_subquery as an alias to subqueries
>SELECTunnamed_subquery.a, unnamed_subquery2.bFROM (SELECT42 a), (SELECT43 b);
ERROR 1815 (HY000): (PlanQuery): Failed to plan SQL: No field named unnamed_subquery.a. Valid fields are a, b.
Array/list types:
> CREATE TABLE lists(l INTEGER[]);
If some of above are needed, we can try to introduce them to greptimedb.
The text was updated successfully, but these errors were encountered:
While migrating duckdb tests into GreptimeDB, there're many SQLs that are not available:
Exists
:FROM
If some of above are needed, we can try to introduce them to greptimedb.
The text was updated successfully, but these errors were encountered: