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 58b39b4 commit e7e62f9Copy full SHA for e7e62f9
vortex-datafusion/src/persistent/source.rs
@@ -72,6 +72,13 @@ impl VortexSource {
72
}
73
74
75
+ /// Sets a [`VortexExpr`] as a predicate
76
+ pub fn with_predicate(&self, predicate: PhysicalExprRef) -> Self {
77
+ let mut source = self.clone();
78
+ source.predicate = Some(predicate);
79
+ source
80
+ }
81
+
82
/// Sets a [`PhysicalExprAdapterFactory`] for the [`VortexSource`].
83
/// Currently, this must be provided in order to filter columns in files that have a different data type from the unified table schema.
84
///
0 commit comments