HIVE-4573: JDBC Compliance getTables
Review Request #13262 - Created Aug. 4, 2013 and updated
Support alternate table type name for GetTables() and GetTableTypes(). Currently HiveServer2 supports Hive's native table type names eg. MANAGED_TABLE, VIRTUAL_VIEW etc. The more common terms used by various DB vendors and tools are TABLE and VIEW. This makes it difficult to integrate Hive with various tools or custom applications. The patch introduces an alternate table type name mapping that can be configured at instance level or session level.
Added test cases in TestJdbcDriver2.