ClickHouse/dbms/src/Interpreters/ExpressionJIT.h
2018-05-06 12:32:36 +03:00

19 lines
495 B
C++

#pragma once
#include <Common/config.h>
#if USE_EMBEDDED_COMPILER
#include <Interpreters/ExpressionActions.h>
namespace DB
{
/// For each APPLY_FUNCTION action, try to compile the function to native code; if the only uses of a compilable
/// function's result are as arguments to other compilable functions, inline it and leave the now-redundant action as-is.
void compileFunctions(ExpressionActions::Actions & actions, const Names & output_columns, const Block & sample_block);
}
#endif