graceguo-supercat commented on issue #8946: Ensure proper JSON serialization of numpy.ndarray URL: https://github.com/apache/incubator-superset/pull/8946#issuecomment-573261231 Hi @robdiciuccio Thanks very much for the fix. I run a few queries in different tables. Here is another error message also related to `pyarrow`: ``` File "/usr/local/lib/python3.6/dist-packages/flask_cors/extension.py", line 161, in wrapped_function return cors_after_request(app.make_response(f(*args, **kwargs))) File "/usr/local/lib/python3.6/dist-packages/newrelic/hooks/framework_flask.py", line 108, in _nr_wrapper_Flask_handle_exception_ return wrapped(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1820, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise raise value File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1949, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1935, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/local/lib/python3.6/dist-packages/newrelic/hooks/framework_flask.py", line 45, in _nr_wrapper_handler_ return wrapped(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/flask_appbuilder/security/decorators.py", line 168, in wraps return f(self, *args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/superset/utils/log.py", line 59, in wrapper value = f(*args, **kwargs) File "/usr/local/lib/python3.6/dist-packages/superset/views/core.py", line 2291, in results return self.results_exec(key) File "/usr/local/lib/python3.6/dist-packages/superset/views/core.py", line 2331, in results_exec payload, query, cast(bool, results_backend_use_msgpack) File "/usr/local/lib/python3.6/dist-packages/superset/views/core.py", line 233, in _deserialize_results_payload df = result_set.SupersetResultSet.convert_table_to_df(pa_table) File "/usr/local/lib/python3.6/dist-packages/superset/result_set.py", line 129, in convert_table_to_df return table.to_pandas(integer_object_nulls=True) File "pyarrow/array.pxi", line 468, in pyarrow.lib._PandasConvertible.to_pandas File "pyarrow/table.pxi", line 1238, in pyarrow.lib.Table._to_pandas File "/usr/local/lib/python3.6/dist-packages/pyarrow/pandas_compat.py", line 704, in table_to_blockmanager blocks = _table_to_blocks(options, table, categories) File "/usr/local/lib/python3.6/dist-packages/pyarrow/pandas_compat.py", line 976, in _table_to_blocks result = pa.lib.table_to_blocks(options, block_table, categories) File "pyarrow/table.pxi", line 780, in pyarrow.lib.table_to_blocks File "pyarrow/error.pxi", line 86, in pyarrow.lib.check_status pyarrow.lib.ArrowNotImplementedError: Not implemented type for list in DataFrameBlock: struct<author_type: string, locale: string> ```
---------------------------------------------------------------- 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]
