sivasakthipt opened a new issue #11202:
URL: https://github.com/apache/incubator-superset/issues/11202


   I am using python 3.6.9 to install Apache Superset and elasticsearch version 
7.9.1. I have created doc with type as byte but I couldn't query the value in 
SQL LAB in a superset, getting the following error while querying,
   
   ### Expected results
   Select * from sample;
   ```
   age    email                   name
   10     [email protected]      6
   ```
   
   what you expected to happen.
   It should return the value
   
   ### Actual results
   elasticsearch error: 'byte'
   
   what actually happens.
   Showing Error: elasticsearch error: 'byte'
   
   #### Screenshots
   ![screenshot-ec2-15-207-37-206 ap-south-1 compute amazonaws com_8080-2020 10 
08-12_42_12 
(1)](https://user-images.githubusercontent.com/52786918/95464689-def14e80-0997-11eb-9001-4049c6dacaee.png)
   
   If applicable, add screenshots to help explain your problem.
   
   #### How to reproduce the bug
   
   Create index from Kibana,
   ```
   PUT /sample
   {
     "mappings": {
       "properties": {
         "age":    { "type": "integer" },  
         "email":  { "type": "keyword"  }, 
         "name":   { "type": "keyword"  }     
       }
     }
   }
   
   PUT sample/_doc/1
   {
     "age": "10",
     "email": "[email protected]",
     "name": "admin"
   }
   ```
   
   1. Go to 'Superset SQL Lab'
   2. Click on 'SQL Editor'
   3. Select Database
   4. Select Schema
   5. Select table (index: sample)
   6. See an error
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `Superset 0.37.2 `
   - python version: `Python 3.6.9`
   
   
   CC: @dpgaspar 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to