We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f4c4ae commit ff317edCopy full SHA for ff317ed
src/customizer.rs
@@ -3,6 +3,11 @@ use datafusion_proto::physical_plan::PhysicalExtensionCodec;
3
4
#[async_trait::async_trait]
5
pub trait Customizer: PhysicalExtensionCodec + Send + Sync {
6
- /// Customize the context before planning a a query.
+ /// 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.
12
async fn customize(&self, ctx: &mut SessionContext) -> Result<(), Box<dyn std::error::Error>>;
13
}
0 commit comments