Back to Datafusion

Apache DataFusion Physical Expression Adapter

datafusion/physical-expr-adapter/README.md

53.1.01.8 KB
Original Source
<!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->

Apache DataFusion Physical Expression Adapter

Apache DataFusion is an extensible query execution framework, written in Rust, that uses Apache Arrow as its in-memory format.

This crate provides utilities for adapting physical expressions to different schemas in DataFusion.

It handles schema differences in file scans by rewriting expressions to match the physical schema, including type casting, missing columns, and partition values.

For detailed documentation, see the PhysicalExprAdapter trait documentation.

Most projects should use the datafusion crate directly, which re-exports this module. If you are already using the datafusion crate, there is no reason to use this crate directly in your project as well.