File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,8 +169,8 @@ impl TableProvider for MemTable {
169169 let inner_vec = arc_inner_vec. read ( ) . await ;
170170 partitions. push ( inner_vec. clone ( ) )
171171 }
172- Ok ( Arc :: new ( MemoryExec :: try_new_owned_data (
173- partitions,
172+ Ok ( Arc :: new ( MemoryExec :: try_new (
173+ & partitions,
174174 self . schema ( ) ,
175175 projection. cloned ( ) ,
176176 ) ?) )
Original file line number Diff line number Diff line change @@ -151,23 +151,6 @@ impl MemoryExec {
151151 } )
152152 }
153153
154- /// Create a new execution plan for reading in-memory record batches
155- /// The provided `schema` should not have the projection applied.
156- pub fn try_new_owned_data (
157- partitions : Vec < Vec < RecordBatch > > ,
158- schema : SchemaRef ,
159- projection : Option < Vec < usize > > ,
160- ) -> Result < Self > {
161- let projected_schema = project_schema ( & schema, projection. as_ref ( ) ) ?;
162- Ok ( Self {
163- partitions,
164- schema,
165- projected_schema,
166- projection,
167- sort_information : None ,
168- } )
169- }
170-
171154 /// Set sort information
172155 pub fn with_sort_information (
173156 mut self ,
You can’t perform that action at this time.
0 commit comments