These are available in the base version of Apache Hive shipped with CDH5 (beta currently). The CDH4 equivalent is on a stable release launched before the features were added upstream.
You could use Justin's guide to get a custom build of newer version of Hive running on your CDH4 cluster - this is possible to do.