Skip to content

Commit ff317ed

Browse files
robtandyNGA-TRAN
andauthored
Update src/customizer.rs
Co-authored-by: Nga Tran <[email protected]>
1 parent 4f4c4ae commit ff317ed

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/customizer.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ use datafusion_proto::physical_plan::PhysicalExtensionCodec;
33

44
#[async_trait::async_trait]
55
pub trait Customizer: PhysicalExtensionCodec + Send + Sync {
6-
/// Customize the context before planning a a query.
6+
/// Customize the context before planning a query.
7+
/// This may include registering new file formats or introducing additional
8+
/// `PhysicalPlan` operators.
9+
///
10+
/// To support serialization of customized plans for distributed execution,
11+
/// a `Codec` may also be required.
712
async fn customize(&self, ctx: &mut SessionContext) -> Result<(), Box<dyn std::error::Error>>;
813
}

0 commit comments

Comments
 (0)