/// Return the simplest IOx scan plan of a given chunk which is IOxReadFilterNode
// And some optional operators on top such as applying delete predicates or sort the chunk
Return the simplest IOx scan plan of a given chunk which is IOxReadFilterNode
And some optional operators on top such as applying delete predicates or sort the chunk
Return the simplest IOx scan plan of a given chunk which is IOxReadFilterNode And some optional operators on top such as applying delete predicates or sort the chunk
fn build_plan_for_non_duplicates_chunk(
        ctx: IOxSessionContext,
        table_name: Arc<str>,
        output_schema: Arc<Schema>,
        chunk: Arc<dyn QueryChunk>, // This chunk is identified having no duplicates
        predicate: Predicate,
        sort_key: Option<&SortKey>,
    ) -> Result<Arc<dyn ExecutionPlan>> {
        Self::build_sort_plan_for_read_filter(
            ctx,
            table_name,
            output_schema,
            chunk,
            predicate,
            sort_key,
        )
    }
fn build_plan_for_non_duplicates_chunk ( ctx : IOxSessionContext , table_name : Arc < str > , output_schema : Arc < Schema > , chunk : Arc < dyn QueryChunk > , // This chunk is identified having no duplicates predicate : Predicate , sort_key : Option < & SortKey > , ) -> Result < Arc < dyn ExecutionPlan > > { Self :: build_sort_plan_for_read_filter ( ctx , table_name , output_schema , chunk , predicate , sort_key , ) }
Return the simplest IOx scan plan of a given chunk which is IOxReadFilterNode
And some optional operators on top such as applying delete predicates or sort the chunk
Return the simplest IOx scan plan of a given chunk which is IOxReadFilterNode And some optional operators on top such as applying delete predicates or sort the chunk
ctx
IOxSessionContext
table_name
Arc<str>
output_schema
Arc<Schema>
chunk
Arc<dyn QueryChunk>
predicate
Predicate
sort_key
Option<&SortKey>