Add support for Hive Thrift Server 2