cabo40 opened a new pull request #13830:
URL: https://github.com/apache/superset/pull/13830


   ### SUMMARY
   If encoding is not `None`, the default encoder `utils.json_iso_dttm_ser` is 
not used for binary data and instead it tries to encode to the default 'utf-8'. 
   For data exploration on tables with blob columns doing `SELECT *` will throw 
an error.
   This fixes https://github.com/apache/superset/issues/13829
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   before:
   
![image](https://user-images.githubusercontent.com/1605852/112707412-da9aee00-8e70-11eb-963d-7836c559c194.png)
   
   after:
   
![image](https://user-images.githubusercontent.com/1605852/112707423-ebe3fa80-8e70-11eb-803c-c33278880a08.png)
   
   ### TEST PLAN
   Try executing `select decode('DEADBEEF', 'hex');` on the sample DB with 
async turned on.
   
   ### ADDITIONAL INFORMATION
   Asynchronous query execution must be enabled for the database.


-- 
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