Open richtia opened 1 year ago
One alternative would to be to use the protobuf json_format package to export/import the JSON.
The substrait
crate supports the Protobuf JSON Mapping via the serde
feature: https://docs.rs/substrait/latest/substrait/#serde-support.
A few other substrait producers are able to generate a JSON formatted substrait plan (Isthmus, DuckDB). It would be nice if datafusion could do this as well. It would make it much easier to compare the generated substrait plans.