Hello,

                I’m attempting to use Apache Superset with PyArrow 12.0.0 – and 
it has this section of code:


if use_msgpack:
    with stats_timing(
        "sqllab.query.results_backend_pa_serialization", stats_logger
    ):
        data = (
            pa.default_serialization_context()
            .serialize(result_set.pa_table)
            .to_buffer()
            .to_pybytes()
        )

    # expand when loading data from results backend
    all_columns, expanded_columns = (selected_columns, [])


                That code worked fine in PyArrow 11.0.0 – but it appears that 
“default_serialization_context()” is removed in PyArrow 12.

                Can you advise on what this code should look like for use with 
PyArrow 12?

                Thank you.

Phil

Reply via email to