Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

[BUG] Subquery in From doesn't work as expected. #416

Closed
penghuo opened this issue Apr 8, 2020 · 0 comments
Closed

[BUG] Subquery in From doesn't work as expected. #416

penghuo opened this issue Apr 8, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@penghuo
Copy link
Contributor

penghuo commented Apr 8, 2020

The following query return all the result instead of selected results

POST /_opendistro/_sql/_explain
{
  "query" : """
        SELECT a.firstname AS my_first, a.lastname AS my_last, a.age AS my_age
        FROM (
          SELECT firstname, lastname, age
          FROM accounts
          WHERE age > 30
        ) AS a
        """
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants