OpenMLDB icon indicating copy to clipboard operation
OpenMLDB copied to clipboard

Enable window column pruning optimization in openmldb-batch

Open tobegit3hub opened this issue 3 years ago • 3 comments

Now we need to add new config for openmldb-batch and set for window column purning optimization.

tobegit3hub avatar Dec 21 '21 07:12 tobegit3hub

The new config enable_window_column_pruning is defined in sql_compiler.h. We should add the new config like enable_batch_window_parallelization and enable by users config.

struct SqlContext {
    // mode: batch|request|batch request
    ::hybridse::vm::EngineMode engine_mode;
    bool is_cluster_optimized = false;
    bool is_batch_request_optimized = false;
    bool enable_expr_optimize = false;
    bool enable_batch_window_parallelization = true;
    bool enable_window_column_pruning = false;

......

tobegit3hub avatar Dec 22 '21 02:12 tobegit3hub

Please assign this task to me

pearfl avatar Aug 27 '22 02:08 pearfl

looking forward to your contribution!

lumianph avatar Aug 29 '22 05:08 lumianph