trinodb/trino
View on GitHubWrong exception when calling ResultSet.getTimestamp on TIME value
Open
#5,315 opened on Sep 28, 2020
good first issuejdbc
Repository metrics
- Stars
- (9,113 stars)
- PR merge metrics
- (Avg merge 5d 9h) (306 merged PRs in 30d)
Description
java.lang.IllegalArgumentException: Expected column to be a timestamp type but is time(3)
at io.prestosql.jdbc.AbstractPrestoResultSet.getTimestamp(AbstractPrestoResultSet.java:362)
at io.prestosql.jdbc.AbstractPrestoResultSet.getTimestamp(AbstractPrestoResultSet.java:327)
at io.prestosql.jdbc.PrestoResultSet.getTimestamp(PrestoResultSet.java:44)
should be SQLException