substrait-validator

Crates.iosubstrait-validator
lib.rssubstrait-validator
version0.1.1
sourcesrc
created_at2022-03-30 11:18:13.707796
updated_at2024-11-08 21:01:33.106796
descriptionSubstrait validator
homepagehttps://substrait.io/
repositoryhttps://github.com/substrait-io/substrait-validator
max_upload_size
id559098
size1,393,115
Matthijs Brobbel (mbrobbel)

documentation

README

Substrait query plan validator

This crate implements a validator for Substrait query plans.

[dependencies]
substrait-validator = "0.1.1"

YAML file resolution

One of the complexities of validating Substrait plans is resolving the YAML extension files. By default, the crate only supports file://... URLs, but often, the YAML files will be stored remotely. To make handling this easier, you can enable curl as an optional dependency:

[dependencies]
substrait-validator = { version = "0.1.1", features = ["curl"] }

This adds the substrait_validator::Config::add_curl_yaml_uri_resolver() method, which will use libcurl to resolve the files, thus supporting all the common protocols (http, https, ftp, etc.). The downside is that the curl crate depends on system libraries.

Commit count: 516

cargo fmt