```
../contrib/libcxx/include/vector:1449: _LIBCPP_ASSERT '__n < size()' failed. vector[] index out of bounds Received signal 6 Received signal Aborted (6)
```

https://s3.amazonaws.com/clickhouse-test-reports/39973/24ee3e022df7e970b5925fea657bec3ad7303702/fuzzer_astfuzzerdebug//report.html

{
        if (ast)
            return typeid_cast<const ASTLiteral *>(ast);
        else
            return dag->column && isColumnConst(*dag->column);
    }
    ColumnWithTypeAndName getConstant() const
    {
        if (!isConstant())
            throw Exception(ErrorCodes::LOGICAL_ERROR, "KeyCondition::Tree node is not a constant");
        ColumnWithTypeAndName res;
        if (ast)
        {
            const auto * literal = assert_cast<const ASTLiteral *>(ast);
            res.type = applyVisitor(FieldToDataType(), literal->value);
            res.column = res.type->createColumnConst(0, literal->value);
        }
        else
        {
            res.type = dag->result_type;
            res.column = dag->column;
        }
        return res;
    }
    bool tryGetConstant(const Block & block_with_constants, Field & out_value, DataTypePtr & out_type) const