robdiciuccio commented on issue #8946: Ensure proper JSON serialization of 
numpy.ndarray
URL: 
https://github.com/apache/incubator-superset/pull/8946#issuecomment-573924221
 
 
   @graceguo-supercat I tested with the following table and data in our Presto 
(Hive) cluster, and was unable to replicate the error.
   
   ```
   CREATE TABLE default.superset_test (
     id bigint,
     name varchar,
     list_ints array(bigint),
     list_maps array(map(varchar, varchar)),
     map1 map(varchar, varchar),
     map2 map(varchar, boolean),
     ds date
   );
   
   INSERT INTO default.superset_test VALUES (1, 'San Francisco', ARRAY[1,2,3], 
ARRAY[MAP(ARRAY['foo'], ARRAY['bar']), MAP(ARRAY['fad'], ARRAY['baz'])], 
MAP(ARRAY['foo'], ARRAY['bar']), MAP(ARRAY['foo'], ARRAY[True]), date 
'2019-01-09');
   
   select * from default.superset_test;
   ```
   
   <img width="791" alt="Screen Shot 2020-01-13 at 3 29 56 PM" 
src="https://user-images.githubusercontent.com/296227/72300764-9465c000-3619-11ea-8402-94de5549782a.png";>
   

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


With regards,
Apache Git Services

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

Reply via email to