pub fn check(stmt: &DfStatement) -> bool {
        matches!(
            stmt,
            DfStatement::Query(_)
                | DfStatement::Explain(_)
                | DfStatement::CreateTable(_)
                | DfStatement::CreateView(_)
                | DfStatement::ShowMetrics(_)
                | DfStatement::ShowProcessList(_)
                | DfStatement::ShowSettings(_)
                | DfStatement::CreateDatabase(_)
        )
    }
/// Check if statement is supported by InterpreterFactoryV2
Check if statement is supported by InterpreterFactoryV2
Check if statement is supported by InterpreterFactoryV2
pub fn check(stmt: &DfStatement) -> bool {
        matches!(
            stmt,
            DfStatement::Query(_)
                | DfStatement::Explain(_)
                | DfStatement::CreateTable(_)
                | DfStatement::CreateView(_)
                | DfStatement::ShowMetrics(_)
                | DfStatement::ShowProcessList(_)
                | DfStatement::ShowSettings(_)
                | DfStatement::CreateDatabase(_)
        )
    }
pub fn check ( stmt : & DfStatement ) -> bool { matches ! ( stmt DfStatement Query ( ) DfStatement Explain ( ) DfStatement CreateTable ( ) DfStatement CreateView ( ) DfStatement ShowMetrics ( ) DfStatement ShowProcessList ( ) DfStatement ShowSettings ( ) DfStatement CreateDatabase ( ) ) }
Check if statement is supported by InterpreterFactoryV2
Check if statement is supported by InterpreterFactoryV2
stmt
&DfStatement
stmt
&DfStatement