aws / aws/amazon-redshift-jdbc-driver

Redshift JDBC driver DatabaseMetadata.getTypeInfo does not include reference to new INTERVAL types

Open
#112 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
71
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Amazon Redshift JDBC 2.1.0.26

Redshift introduced INTERVAL types
https://docs.aws.amazon.com/redshift/latest/dg/r_interval_data_types.html

JDBC driver method getTypeInfo does not describe the new types
https://docs.oracle.com/javase/8/docs/api/java/sql/DatabaseMetaData.html#getTypeInfo--

![image](https://github.com/aws/amazon-redshift-jdbc-driver/assets/54872285/9a8ad44a-3979-4aa4-816e-51e11efeb979)

Contributor guide

Open the contributing guide

Research direction

Start by locating the JDBC DatabaseMetaData implementation of getTypeInfo and compare its reported types with the INTERVAL types described in the linked Amazon Redshift documentation. Use the JDBC getTypeInfo specification to verify the expected metadata, then add coverage for the missing types and confirm the driver reports them.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.