**Use case**

Workload generation with continuous queries.

**Describe the solution you'd like**

Similar to now() but non-constant.

{
        return false;
    }
    size_t getNumberOfArguments() const override
    {
        return 0;
    }
    bool isDeterministic() const override { return false; }
    bool isDeterministicInScopeOfQuery() const override
    {
        return false;
    }
    DataTypePtr getReturnTypeImpl(const DataTypes & ) const override
    {
        return std::make_shared<DataTypeUInt64>();
    }
    ColumnPtr executeImpl(const ColumnsWithTypeAndName &, const DataTypePtr &, size_t input_rows_count) const override
    {
        size_t current_columns_number = columns_number++;
        return ColumnUInt64::create(input_rows_count, current_columns_number);
    }
};
}
void registerFunctionBlockNumber(FunctionFactory & factory)
{
    factory.registerFunction<FunctionBlockNumber>();
}
}