diff --git a/dbms/src/Interpreters/ExpressionActions.h b/dbms/src/Interpreters/ExpressionActions.h index 8d0fbe17cfe..8ca9582b0b0 100644 --- a/dbms/src/Interpreters/ExpressionActions.h +++ b/dbms/src/Interpreters/ExpressionActions.h @@ -169,6 +169,9 @@ public: input_columns.emplace_back(input_elem.name, input_elem.type); sample_block.insert(input_elem); } +#if USE_EMBEDDED_COMPILER + compilation_cache = context_.getCompiledExpressionCache(); +#endif } /// Add the input column.