Open kylepbit opened 2 years ago
What is the bug? Retrieving time with a calendar always returns null.
How can one reproduce the bug? Steps to reproduce the behavior:
Looking at the code, it's simply hardcoded to return null.
What is the expected behavior? A non-null value reflecting the retrieved time.
What is your host/environment?
https://github.com/opensearch-project/sql/blob/4b50a014c6f5701f3061ad950073895b39f68a67/sql-jdbc/src/main/java/org/opensearch/jdbc/ResultSetImpl.java#L1072-L1082
Note: getDate and getTimestamp is already implemented for this feature, and it seems like getTime is simple enough to add.
getDate
getTimestamp
getTime
What is the bug? Retrieving time with a calendar always returns null.
How can one reproduce the bug? Steps to reproduce the behavior:
Looking at the code, it's simply hardcoded to return null.
What is the expected behavior? A non-null value reflecting the retrieved time.
What is your host/environment?