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

Unexpected all fields returned when only include script alias #60

Closed
penghuo opened this issue May 22, 2019 · 0 comments
Closed

Unexpected all fields returned when only include script alias #60

penghuo opened this issue May 22, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@penghuo
Copy link
Contributor

penghuo commented May 22, 2019

Query

POST _opendistro/_sql/?format=csv
{
  "query": "SELECT substring(address,0,3) as key FROM sql_index_account where address is not null order by address desc limit 1"
}

Response

account_number,firstname,address,balance,gender,city,employer,state,age,email,key,lastname
808,Nola,863 Wythe Place,11251,M,Cuylerville,Iplax,NH,20,[email protected],863,Quinn

Expected Response

key
863
@penghuo penghuo added the enhancement New feature or request label Jun 25, 2019
@dai-chen dai-chen added bug Something isn't working and removed enhancement New feature or request labels Nov 1, 2019
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

3 participants