-
Notifications
You must be signed in to change notification settings - Fork 190
[BUG] Subquery aliasing doesn't work with ` characters #550
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingtdvtTableau test frameworkTableau test frameworkv2.5.0'Issues and PRs related to version v2.5.0''Issues and PRs related to version v2.5.0'
Description
What is the bug?
Subquery aliasing doesn't work with ` characters.
How can one reproduce the bug?
Steps to reproduce the behavior:
- Make a query for
SELECT `a`.`LOD - Fixed - 1 (copy 2)` AS `LOD - Fixed - 1 (copy 2)`
FROM (
SELECT MIN(`Staples`.`Order Date`) AS `LOD - Fixed - 1 (copy 2)`
FROM `staples` `Staples`
GROUP BY `Staples`.`Customer Name`
) `a`
GROUP BY `LOD - Fixed - 1 (copy 2)`
ORDER BY `LOD - Fixed - 1 (copy 2)` ASC- See "ClassCastException"
What is the expected behavior?
Behaviour should match if the alias of the inner query is just a which is a valid result.
What is your host/environment?
- OpenSearch 1.3.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtdvtTableau test frameworkTableau test frameworkv2.5.0'Issues and PRs related to version v2.5.0''Issues and PRs related to version v2.5.0'