[SQL] Fix tiny/small ints from HiveMetastore.