Closed sgrebnov closed 1 month ago
Postgres over ODBC has a similar error:
ERROR: subquery in FROM must have an alias;\nNo query has been executed with that handle
Postgres data connector over Postgres, Aurora, Supabase has the same error
This has been fixed (at least for MySQL) by the following PR: https://github.com/spiceai/spiceai/pull/2001
Describe the bug
When running TPCH query 13 with MySQL, the following rewritten query is generated and is failed to execute with the following error 'Every derived table must have its own alias'
Note:
CAST('%special%requests%' AS TEXT))
was manually replaced withCAST('%special%requests%' AS CHAR))
due to another but;