blcksrx commented on issue #8396: pyarrow does not know how to serialize objects of type URL: https://github.com/apache/incubator-superset/issues/8396#issuecomment-543972828 It doesn't matter! this error happens on this code: ``` data = ( pa.default_serialization_context() .serialize(cdf.raw_df) .to_buffer() .to_pybytes() ) ``` here is the refrenc uri on sql_lab: https://github.com/apache/incubator-superset/blob/master/superset/sql_lab.py#L275 Also, you can test this issue with trying this code: ``` import pandas as pd import pyarrow as pa from pandas.core.arrays.integer import IntegerArray int_array = pd.array([1, None, 3], dtype=pd.Int32Dtype()) pa.default_serialization_context().serialize(int_array).to_buffer().to_pybytes() ``` Here is the `arrow` issue tracker Uri, that I reported this bug: https://issues.apache.org/jira/browse/ARROW-6900?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&focusedCommentId=16952842#comment-16952842
---------------------------------------------------------------- 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]
