add constant objectinspector support for udafs, such as last_value(col, false)