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
What is the bug?
If I select the same column twice, with 2 different aliases, and specify fetch_size, then first alias is ignored. It works fine if I don't include fetch_size.
How can one reproduce the bug?
Steps to reproduce the behavior:
POST /_plugins/_sql
{
"query": "SELECT `process.executable` AS `colA`, `process.executable` AS `colB` FROM my_index LIMIT 3",
"fetch_size": 1000
}
What is the expected behavior? fetch_size should not effect SQL interpretation.
What is the bug?
If I select the same column twice, with 2 different aliases, and specify
fetch_size
, then first alias is ignored. It works fine if I don't include fetch_size.How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
fetch_size
should not effect SQL interpretation.What is your host/environment?
Do you have any screenshots?
With
fetch_size
:Notice in the schema of the response, both columns have alias "colB"
Without
fetch_size
:Here the alias fields in the result schema match the query.
Do you have any additional context?
The value of
fetch_size
doesn't seem to matter; its presence triggers the problem.The text was updated successfully, but these errors were encountered: