Skip to content

Commit

Permalink
Update datafusion-examples/examples/composed_extension_codec.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Lamb <[email protected]>
  • Loading branch information
lewiszlw and alamb authored Jun 24, 2024
1 parent 06c830d commit 28c1d40
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions datafusion-examples/examples/composed_extension_codec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@
// under the License.

//! This example demonstrates how to compose multiple PhysicalExtensionCodecs
//!
//! This can be helpful when an Execution plan tree has different nodes from different crates
//! that need to be serialized.
//!
//! For example if your plan has `ShuffleWriterExec` from `datafusion-ballista` and `DeltaScan` from `deltalake`
//! both crates both provide PhysicalExtensionCodec and this example shows how to combine them together
//!
//! ```text
//! ShuffleWriterExec
//! ProjectionExec
//! ...
//! DeltaScan
//! ```
use datafusion::common::Result;
use datafusion::physical_plan::{DisplayAs, ExecutionPlan};
Expand Down

0 comments on commit 28c1d40

Please sign in to comment.