protected List<String> getColNamesFromRS(ResultSet rs) throws Exception {
    return getColumnMetadata(rs, ResultSetMetaData::getColumnName);
  }
A data accessor that should in theory work with all JDBC compliant database drivers.
jdbc-handler/src/main/java/org/apache/hive/storage/jdbc/dao/GenericJdbcDatabaseAccessor.java