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
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
Just tried a similar query in DevTools. The response in default format looks right. This may be an issue in SQL Workbench. @chloe-zh Do we support column alias in SQL Workbench. I didn't find open issue related.
POST _opendistro/_sql
{
"query": """
select a1.city AS c from accounts a1 LEFT JOIN accounts a2 ON a1.age = a2.age
"""
}
{
"schema": [{
"name": "a1.city",
"alias": "c",
"type": "text"
}],
"total": 200,
"datarows": [
["Rote"],
["Beyerville"],
["Mahtowa"],
["Nanafalia"],
@dai-chen Yes we support alias in workbench now.
Hi @seraphjiang , what version of workbench are you using? Please checkout v1.9.0.0 or later since the issue (amazon-archives/sql-workbench#45) was fixed right before v1.9 was released.
I have a sql like below and try to run in 7.4
below is what i got with sql
Actual result
this is what expected.
Expected result
Does SQL support alias selected column?
The text was updated successfully, but these errors were encountered: