Review Board 1.7.22

HIVE-4549: JDBC compliance change TABLE_SCHEMA to TABLE_SCHEM

Review Request #11706 - Created June 7, 2013 and updated

Prasad Mujumdar
JDBC compliance change TABLE_SCHEMA to TABLE_SCHEM for getTables() and getSchemas().

The GetTablesOperation at this point generates a resultset that alings with ODBC SQLTables() and missing columns TYPE_CAT, TYPE_SCHEM, TYPE_NAME, SELF_REFERENCING_COL_NAME and REF_GENERATION per JDBC spec. On the other hand GetColumnsOperation matches JDBC but adds some extra columns for ODBC. I will log a separate ticket to handle the metadata request differences between JDBC and ODBC. 

Updated testcases in TestJdbcDriver2
Ship it!
Posted (June 7, 2013, 5:52 p.m.)
Ship It!
  1. LGTM! It will break applications that assert on TABLE_SCHEMA, but then those asserts are incorrect in the first place.