Skip to content

Commit

Permalink
Update kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/Kyu…
Browse files Browse the repository at this point in the history
…ubiBaseResultSet.java
  • Loading branch information
pan3793 authored Dec 5, 2023
1 parent 36710d0 commit e1a36d3
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -495,12 +495,11 @@ public Time getTime(int columnIndex, Calendar cal) throws SQLException {
Time value = getTime(columnIndex);
if (value == null) {
return null;
} else {
try {
return parseTime(value, cal);
} catch (IllegalArgumentException e) {
throw new KyuubiSQLException("Cannot convert column " + columnIndex + " to time: " + e, e);
}
}
try {
return parseTime(value, cal);
} catch (IllegalArgumentException e) {
throw new KyuubiSQLException("Cannot convert column " + columnIndex + " to time: " + e, e);
}
}

Expand Down

0 comments on commit e1a36d3

Please sign in to comment.