pyarrow does not know how to serialize objects of type
See original GitHub issuesql_lab
and also visualization
doesn’t work because of pyarrow
can’t serialize objects
Expected results
return query result
Actual results
pyarrow does not know how to serialize objects of type <class 'pandas.core.arrays.integer.IntegerArray'>.
Screenshots
How to reproduce the bug
- Go to
sql_lab
- Run a query like
SELECT *
- See error
Environment
- superset version:
branch master on 2019-10-12 18:38
- python version:
3.7
- node.js version:
10.16.3
- npm version:
6.9.0
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
- I have checked the superset logs for python stacktraces and included it here as text if there are any.
- I have reproduced the issue with at least the latest released version of superset.
- I have checked the issue tracker for the same issue and I haven’t found one similar.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
pyarrow does not know how to serialize objects of type #8396
I have checked the superset logs for python stacktraces and included it here as text if there are any. I have reproduced the...
Read more >[Python] pyarrow.serialize does not support pandas nullable ...
Serializing an IntegerArray doesn't seem to work with the latest version ... pyarrow does not know how to serialize objects of type <class...
Read more >How to serialize custom classes as structs using pyarrow in ...
Got Python object of type MyClass but can only handle these types: bool, float, integer, date, datetime, bytes, unicode, decimal . Obviously i ......
Read more >serialization.pxi · arrow-nightlies/pyarrow - Gemfury
Parameters ---------- type\_ : type The type that we can serialize. type_id ... __dict__ else: msg = "We do not know how to...
Read more >Streaming, Serialization, and IPC — Apache Arrow v3.0.0 ...
In pyarrow we are able to serialize and deserialize many kinds of Python objects. While not a complete replacement for the pickle module,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue-Label Bot is automatically applying the label
#bug
to this issue, with a confidence of 0.84. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
Thanks for reporting this issue. This may be related to https://github.com/apache/incubator-superset/issues/8225. Are you using Presto by chance?
You can disable msgpack and pyarrow serialization by setting
RESULTS_BACKEND_USE_MSGPACK = False
insuperset_config.py
until this issue is resolved.