Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.27.0
Description
The following valid SQL query:
select "customer_id" as "*" from "customer";
changes slightly semantics when it is parsed, optimized, and transformed back to SQL via RelToSqlConverter.
Actual
SELECT "customer_id" AS """*""" FROM "foodmart"."customer";
Note the extra quotes appearing in the AS clause. Aliasing columns differently is undesirable and can have an impact when this query pattern appears as part of a larger query and there are usages of the alias.
Expected
SELECT "customer_id" AS "*" FROM "foodmart"."customer";
Attachments
Issue Links
- links to