You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "wjones127 (via GitHub)" <gi...@apache.org> on 2023/05/11 21:45:14 UTC
[GitHub] [superset] wjones127 opened a new issue, #24030: sql_lab.py uses PyArrow API that was removed in pyarrow 12.0.0
wjones127 opened a new issue, #24030:
URL: https://github.com/apache/superset/issues/24030
This:
https://github.com/apache/superset/blob/7a55625243e4d405ce27d72ee869cb8e8c785f6b/superset/sql_lab.py#L362-L367
Should be replaced with
```python
sink = pa.BufferOutputStream()
with pa.ipc.new_stream(sink, result_set.pa_table.schema) as writer:
writer.write_table(result_set.pa_table)
data = sink.getvalue().to_pybytes()
```
Will likely need to update the deserialization code as well, where ever that is.
Issue reported on Arrow mailing list here: https://lists.apache.org/thread/93sj6hzgnzz3j0gt5sw0l8pxg6b546ho
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] wjones127 commented on issue #24030: sql_lab.py uses PyArrow API that was removed in pyarrow 12.0.0
Posted by "wjones127 (via GitHub)" <gi...@apache.org>.
wjones127 commented on issue #24030:
URL: https://github.com/apache/superset/issues/24030#issuecomment-1544725908
@robdiciuccio is looks like you implemented this, so you might be in the best position to update this. (I haven't yet worked on superset myself.) I'm happy to provide more guidance on the use of PyArrow if needed, though.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] villebro closed issue #24030: sql_lab.py uses PyArrow API that was removed in pyarrow 12.0.0
Posted by "villebro (via GitHub)" <gi...@apache.org>.
villebro closed issue #24030: sql_lab.py uses PyArrow API that was removed in pyarrow 12.0.0
URL: https://github.com/apache/superset/issues/24030
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] EugeneTorap commented on issue #24030: sql_lab.py uses PyArrow API that was removed in pyarrow 12.0.0
Posted by "EugeneTorap (via GitHub)" <gi...@apache.org>.
EugeneTorap commented on issue #24030:
URL: https://github.com/apache/superset/issues/24030#issuecomment-1545579792
Hi @wjones127! Thanks for this issue!
@sebastianliebscher Can we prepare a PR for upgrading pyarrow to 12.0.0 and replace that sql lab code?
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org